MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE User's Guide Page 321

  • Download
  • Add to my manuals
  • Print
  • Page
    / 354
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 320
mwArray ColumnIndex() const
Purpose Return array containing column indices of each element in array
C++
Syntax
#include "mclcppclass. h"
mwArray a(1, 1, mxDOUBLE_CLASS);
mwArray rows = a.ColumnIndex();
Arguments None
Return
Value
An mwArray containing the column indices.
Description Returns a n 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 e lements a re returned.
C-67
Page view 320
1 2 ... 316 317 318 319 320 321 322 323 324 325 326 ... 353 354

Comments to this Manuals

No comments