MatrixOptions
display or set of Matrix options
VectorOptions
display or set Vector options
Calling Sequence
Parameters
Description
Examples
MatrixOptions(A, opt1, opt2, ...)
VectorOptions(V, opt1, opt2, ...)
A
-
Matrix
V
Vector
opt1, opt2, ...
(optional) option name or equation of the form option = value
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.
A≔1,2,3|4,5,6|7,8,9|10,11,12
A≔147102581136912
MatrixOptions⁡A
shape=,datatype=anything,storage=rectangular,order=Fortran_order
MatrixOptions⁡A,shape,datatype
,anything
MatrixOptions⁡A,readonly=true,order=C_order
shape=,datatype=anything,storage=rectangular,order=C_order,readonly
V≔1,2,3
V≔123
VectorOptions⁡V
shape=,datatype=anything,orientation=column,storage=rectangular,order=Fortran_order
VectorOptions⁡V,orientation=row
123
See Also
IsMatrixShape
IsVectorShape
rtable_options
Download Help Document