MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Uživatelská příručka Strana 307

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 354
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 306
1 2 ... 302 303 304 305 306 307 308 309 310 311 312 ... 353 354

Komentáře k této Příručce

Žádné komentáře