MatrixOptions - display or set of Matrix options
VectorOptions - display or set Vector options
|
Calling Sequence
|
|
MatrixOptions(A, opt1, opt2, ...)
VectorOptions(V, opt1, opt2, ...)
|
|
Parameters
|
|
A
|
-
|
Matrix
|
V
|
-
|
Vector
|
opt1, opt2, ...
|
-
|
(optional) option name or equation of the form option = value
|
|
|
|
|
Description
|
|
•
|
The MatrixOptions(A) function returns an expression sequence of equations consisting of the option names and their values for Matrix A.
|
|
If an option (other than shape) is not set, no value is returned. If A has no shape, shape=[] is returned.
|
|
The MatrixOptions(A, opt1, opt2, ...) function, where each opti is an option name, returns an expression sequence of equations indicating only the values of each opti specified in the calling sequence.
|
|
The MatrixOptions(A, opt1, opt2, ...) function, where each opti is an equation of the form option = value, assigns each specified option opti of A the indicated value (if possible). The following Matrix options cannot be changed by using this method: dimensions, datatype, shape, and storage. The readonly option may be set, but once it is set it cannot be unset (unsetting requires a copy operation).
|
•
|
The VectorOptions(A) and VectorOptions(A, opt1, opt2, ...) functions operate in a similar manner.
|
•
|
For information regarding permissible options in Matrices and Vectors, see the Matrix and Vector constructor pages.
|
|
|
Examples
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
>
|
|
| (7) |
|
|