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

  • Download
  • Add to my manuals
  • Print
  • Page
    / 354
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 306
mwSize MaximumNonZeros() const
Purpose Return maximum number of nonzero elements for sparse array
C++
Syntax
#include "mclcppclass. h"
mwArray a(2, 2, mxDOUBLE_CLASS);
int n = a.MaximumNonZeros( );// Sh ould ret urn 4
Arguments None
Return
Value
Number of allo cate d n onzero elements in array.
Description Use this method to determ ine the allocated siz e of the of the array’s
data. If the underlying array is not sparse, this returns the same value
as
NumberOfElements().
Note This meth od does not analyze the actual values of the array
elements.
C-53
Page view 306
1 2 ... 302 303 304 305 306 307 308 309 310 311 312 ... 353 354

Comments to this Manuals

No comments