MTM/full - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : MTM/full

MTM

  

full

  

identity matrix

  

issparse

  

sparse identity matrix

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

full(X)

issparse(X)

Parameters

X

-

list, Vector, Matrix, or array

Description

• 

full(X) returns a dense Vector, Matrix, or Array corresponding to X.

• 

issparse(X) returns true when X is a Vector, Matrix, or Array with sparse storage and false otherwise.

• 

If n is an integer and m is omitted, the resulting matrix is square.

• 

If the input X is an array, its elements are used as the dimensions of the matrix.

Examples

withMTM:

SMatrix7,4,0,0,2,0,0,0,6,storage=sparse

S740020006

(1)

fullS

740020006

(2)

Mfullspeye4,5

M10000010000010000010

(3)

issparseS

true

(4)

issparseM

false

(5)

Compatibility

• 

The MTM[full] and MTM[issparse] commands were introduced in Maple 2021.

• 

For more information on Maple 2021 changes, see Updates in Maple 2021.

See Also

MTM[eye]

rtable_options