MATLAB BUILDER JA 2 Guide de l'utilisateur Page 94

  • 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 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
Vue de la page 93
1 2 ... 89 90 91 92 93 94 95 96 97 98 99 ... 291 292

Commentaires sur ces manuels

Pas de commentaire