convert/Matrix - Maple Help

Online Help

All Products    Maple    MapleSim


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

convert/Matrix

convert an array, Array, vector, Vector, matrix, Matrix or list to a Matrix

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

convert( A, Matrix, ... );

Parameters

A

-

array, Array, vector, Vector, matrix, Matrix, list; expression to convert

...

-

options to be passed to the Matrix constructor

Description

• 

The convert(A, Matrix) function converts A into a Matrix. This is accomplished by simply passing A and any additional parameters to the Matrix constructor.

Examples

A1,2,3,4

A:=1,2,3,4

(1)

A1convertA,Matrix

A1:=1234

(2)

typeA,Matrix

false

(3)

typeA1,Matrix

true

(4)

Mmatrix3,3,1,1,1,1,2,3,7,8,9

M:=111123789

(5)

M1convertM,Matrix,datatype=float

M1:=1.1.1.1.2.3.7.8.9.

(6)

typeM,Matrix

false

(7)

typeM1,Matrix

true

(8)

See Also

Array

convert

convert/matrix

convert/Vector

list

Matrix

matrix(deprecated)

rtable

table

type/Matrix

Vector

 


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