MATLAB Compiler Previous page   Next Page

int MaximumNonZeros() const

Return maximum number of nonzero elements for sparse array. If the underlying array is not sparse, returns the same value as NumberOfElements().

C++ syntax

Arguments

None

Return value

Number of allocated nonzero elements in this array.

Description

Use this method to determine the allocated size of the of the array's data. If the underlying array is not sparse, this returns the same value as NumberOfElements().


Previous page  int NumberOfNonZeros() const int NumberOfDimensions() const Next page

© 1994-2005 The MathWorks, Inc.