convert/matrix - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Data Types : Conversion : convert/matrix

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

A:=ARRAY0..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

M:=111123789

(3)

typeM,matrix

false

(4)

typeM,Matrix

true

(5)

M1convertM,matrix

M1:=111123789

(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

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam