MATLAB BUILDER JA 2 Guia do Utilizador Página 144

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 292
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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
Vista de página 143
1 2 ... 139 140 141 142 143 144 145 146 147 148 149 ... 291 292

Comentários a estes Manuais

Sem comentários