MATLAB BUILDER JA 2 Guía de usuario Pagina 94

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 292
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de 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
Vista de pagina 93
1 2 ... 89 90 91 92 93 94 95 96 97 98 99 ... 291 292

Comentarios a estos manuales

Sin comentarios