MATLAB BUILDER JA 2 Guide de l'utilisateur Page 143

  • 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 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
Vue de la page 142
1 2 ... 138 139 140 141 142 143 144 145 146 147 148 ... 291 292

Commentaires sur ces manuels

Pas de commentaire