MATLAB BUILDER JA 2 Guida Utente Pagina 94

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 292
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 93
4 Using MWArra y Classes
Method Usage
setImag(int, type)
Replaces the imaginary part of the element
at the one-based index with the supplied
value
setImag(int[], type)
Replaces the imaginary part of the element
attheone-basedindexarraywiththe
supplied value
In these m ethod calls, ty pe represents one of the following supported Java
types of
MWNumericArray:
double
float
byte
short
int
long
Boolean
Subclass of java.lang.Number
Subclass of java.lang.String
Subclass of java.lang.Boolean
The get and set methods access a single element at a specified index. An
index is passed to these accessor methods in the form o f a single offset or
as an array of indices.
Note All indexing is one-based, which is the MATLAB convention, as
opposed to zero-based, which is the Java convention.
4-18
Vedere la pagina 93
1 2 ... 89 90 91 92 93 94 95 96 97 98 99 ... 291 292

Commenti su questo manuale

Nessun commento