Matrix to matrix - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

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

> 

A≔array⁡0..1,−1..0,1,2,3,4

A≔array⁡0..1,−1..0,0,−1=1,0,0=2,1,−1=3,1,0=4

(1)
> 

convert⁡A,matrix

1234

(2)
> 

M≔Matrix⁡3,3,1,1,1,1,2,3,7,8,9

M≔111123789

(3)
> 

type⁡M,matrix

false

(4)
> 

type⁡M,Matrix

true

(5)
> 

M1≔convert⁡M,matrix

M1≔111123789

(6)
> 

type⁡M1,matrix

true

(7)
> 

type⁡M,Matrix

true

(8)
> 

type⁡M1,Matrix

false

(9)

See Also

array(deprecated)

convert

convert/array

convert/Matrix

Matrix

matrix(deprecated)

type/matrix

type/Matrix