MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Guia do Utilizador Página 307

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 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
Vista de página 306
1 2 ... 302 303 304 305 306 307 308 309 310 311 312 ... 353 354

Comentários a estes Manuais

Sem comentários