MATLAB BUILDER JA 2 Podręcznik Użytkownika Strona 144

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 292
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 143
4 Using MWArra y Classes
Row and column index arrays are used to construct the sparse array such that
the following holds true, with space allocated for
nzmax nonzeros:
S(rowIndex(k), columnIndex(k)) = realData(k) + imagData(k)*i
If you assign multiple values to a single rowIndex and colIndex pair, then
the element at that index is assigned the sum of these values.
rows and cols
Number o f rows and columns in the m atrix
nzmax
Maximum number of nonzero elements
classID
MWClassID
representingtheMATLABtypeofthearray. TheonlyclassID
currently supported is MWClassID.DOUBLE.
Valid types for the
realData and imagData parameters are a s follows:
double[]
float[]
long[]
int[]
short[]
byte[]
boolean[]
One-dimensional arrays of any subclass of java.lang.Number
One-dimensional arrays of java.lang.Boolean
One-dimensional arrays of java.lang.String
4-68
Przeglądanie stron 143
1 2 ... 139 140 141 142 143 144 145 146 147 148 149 ... 291 292

Komentarze do niniejszej Instrukcji

Brak uwag