Matrix to matrix - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


convert/matrix

convert an array, a list of lists, or a Matrix to a matrix

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

convert(A, matrix)

Parameters

A

-

two-dimensional array, list of lists, or rtable-based Matrix

Description

• 

The convert(A, matrix) calling sequence converts any of the following objects into a matrix:

  

* two-dimensional array

  

* list of lists

  

* rtable-based Matrix

• 

Note: The command matrix has been superseded by Matrix.

Examples

Aarray0..1,1..0,1,2,3,4

Aarray0..1,−1..0,0,−1=1,0,0=2,1,−1=3,1,0=4

(1)

convertA,matrix

1234

(2)

MMatrix3,3,1,1,1,1,2,3,7,8,9

M111123789

(3)

typeM,matrix

false

(4)

typeM,Matrix

true

(5)

M1convertM,matrix

M1111123789

(6)

typeM1,matrix

true

(7)

typeM,Matrix

true

(8)

typeM1,Matrix

false

(9)

See Also

array(deprecated)

convert

convert/array

convert/Matrix

Matrix

matrix(deprecated)

type/matrix

type/Matrix