| MATLAB Compiler | ![]() |
mwArray ColumnIndex() const
Return array containing column indices of each element in this array.
C++ syntax
Arguments
Return value
An mwArray containing the column indices.
Description
Returns an array of type mxINT32_CLASS representing the column indices (second dimension) of this array. For sparse arrays, the indices are returned for just the non-zero elements and the size of the array returned is 1-by-NumberOfNonZeros(). For nonsparse arrays, the size of the array returned is 1-by-NumberOfElements(), and the column indices of all of the elements are returned.
| mwArray RowIndex() const | void MakeComplex() | ![]() |
© 1994-2005 The MathWorks, Inc.