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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 292
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 142
1 2 ... 138 139 140 141 142 143 144 145 146 147 148 ... 291 292

Komentarze do niniejszej Instrukcji

Brak uwag