Matrix Options - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


MatrixOptions

display or set of Matrix options

VectorOptions

display or set Vector options

 

Calling Sequence

Parameters

Description

Examples

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

A1,2,3|4,5,6|7,8,9|10,11,12

A147102581136912

(1)

MatrixOptionsA

shape=,datatype=anything,storage=rectangular,order=Fortran_order

(2)

MatrixOptionsA,shape,datatype

,anything

(3)

MatrixOptionsA,readonly=true,order=C_order

MatrixOptionsA

shape=,datatype=anything,storage=rectangular,order=C_order,readonly

(4)

V1,2,3

V123

(5)

VectorOptionsV

shape=,datatype=anything,orientation=column,storage=rectangular,order=Fortran_order

(6)

VectorOptionsV,orientation=row

V

123

(7)

See Also

IsMatrixShape

IsVectorShape

Matrix

rtable_options

Vector