MATLAB BUILDER JA 2 Guide de l'utilisateur Page 81

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 292
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 80
Guidelines for Working with MWArray Classes
Method Usage
columnIndex()
Returns the column index (second
dimension) of each element in the array.
Call this method to get an a rray of
column indices for the nonzero elements
of a sparse array.
dispose()
Frees the native resources associated
with the underlying MATLAB array.
disposeArray(Object)
Calls dispose on all MWArray instances
contained in the input.
get(int)
Returns the elements at the specified
one-based offset.
get(int[])
Returns the elements at the specified
one-based index array.
getData()
Returns a one-dimensional array
containing a copy of the data in the
underlying MATLAB array as an array of
Java types. The elements in the returned
array are arranged in column-wise order.
The different kinds of arrays are returned
as follows:
If the underlying MATLAB array is
complex, the real part is returned.
If the underlying array is sparse, an
array containing the non zero elements
is returned.
If the underlying array is a cell or
struct array,
toArray is recursively
called on each element.
getDimensions()
Returns an array of dimensions for the
array.
isEmpty()
Testsifthearrayisempty.
isSparse()
Tests if the array is sparse.
4-5
Vue de la page 80
1 2 ... 76 77 78 79 80 81 82 83 84 85 86 ... 291 292

Commentaires sur ces manuels

Pas de commentaire