MATLAB BUILDER JA 2 Guía de usuario Pagina 135

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 292
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 134
Using Class Methods
“Methods to Create and Destroy an MWNumericArray” on page 4-63
“Methods to Get and Set the Real Parts of an MWNumericArray” on page
4-75
“Methods to Get and Set the Imaginary Parts of an MWNumericArray”
on page 4-79
“Methods to Copy, Convert, and Compare M WNumericArrays” on page 4-87
“Methods to Use on Sparse MWNumericArrays” on page 4-90
“Methods to Return Special Constant Values” on page 4-90
Constructing an MWNumericArray
Use the tables in this section to construct an MWNumericArray fro m a
particular Java data type. See the examples at the end of this section for
more help.
“Constructing an Empty Scalar” on page 4-59
“Constructing a Real or Complex Numeric Scalar” on page 4-60
“Constructing a Real or C omplex Numeric Array” on page 4-61
In addition to using the
MWNumericArray constructor, you can also use
“newSparse” on page 4-66 to constru ct a n
MWNumericArray.Thesetwo
methods provide better performance than the constructor.
Constructing an Empty Scalar. Use either of the following constructors to
create an emp ty scalar
MWNumericArray:
To construct an empty scalar of type
MWClassID.DOUBLE,usethefollowing:
MWNumericArray()
To construct an empty scalar of type classid,usethefollowing:
MWNumericArray(MWClassID classid)
4-59
Vista de pagina 134
1 2 ... 130 131 132 133 134 135 136 137 138 139 140 ... 291 292

Comentarios a estos manuales

Sin comentarios