Home > mpt > @polytope > private > uniquerows1.m

uniquerows1

PURPOSE ^

UNIQUEROWS1 Fast method to obtain indices of unique rows of a given matrix

SYNOPSIS ^

function ind = uniquerows1(M, nc)

DESCRIPTION ^

UNIQUEROWS1 Fast method to obtain indices of unique rows of a given matrix

 ind = uniquerows1(M,nc)

 ---------------------------------------------------------------------------
 DESCRIPTION
 ---------------------------------------------------------------------------
 Returns indices of unique rows of a given matrix

 ---------------------------------------------------------------------------
 INPUT
 ---------------------------------------------------------------------------
 M   - matrix
 nc  - number of columns of M (i.e. size(M,2))

 ---------------------------------------------------------------------------
 OUTPUT
 ---------------------------------------------------------------------------
 ind - indices of unique rows in M

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Thu 30-Mar-2006 10:26:47 by m2html © 2003