MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Guía de usuario Pagina 307

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 354
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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 pagina 306
1 2 ... 302 303 304 305 306 307 308 309 310 311 312 ... 353 354

Comentarios a estos manuales

Sin comentarios