MATLAB BUILDER JA 2 Guida Utente Pagina 143

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 292
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 142
Using Class Methods
newSparse(int[] rowindex, int[] colindex, Object realData,
int rows, int cols, int nzmax, MWClassID classid)
Constructing a Sparse Matrix of Complex Numbers
To construct a complex sparse array fro m an existing nonsparse
two-dimensional array, use
newSparse(Object realData, Object imagData, MWClassID classid)
To construct and initialize a new complex sparse array, use
newSparse(int[] rowindex, int[] colindex, Object realData,
Object imagData, MWClassID classid)
To construct and initialize a new complex sparse array, specifying its
dimensions, use
newSparse(int[] rowindex, int[] colindex, Object realData,
Object imagData, int rows, int cols, MWClassID classid)
To construct and initialize a new complex sparse array, specifying its
dimensions and maximum number of nonzeros, use
newSparse(int[] rowindex, int[] colindex, Object realData,
Object imagData, int rows, int cols, int nzmax,
MWClassID classid)
Input Parameters
realData and imagData
Data to initialize the real and imaginary parts of the array. See information
on valid data typ es below.
rowIndex and colIndex
Arrays of one-based row and column indices
4-67
Vedere la pagina 142
1 2 ... 138 139 140 141 142 143 144 145 146 147 148 ... 291 292

Commenti su questo manuale

Nessun commento