array - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


convert/array

convert to array

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

convert(object, array)

Parameters

object

-

list, table, or array

Description

• 

The convert/array function converts a list, a table, or an array to an array.

• 

When the input object is an array, convert/array will return the object in a dense representation.

• 

Note: The command array has been superseded by Array.

Examples

convert1,2,3,4,array

1234

(1)

Alinalgrandmatrix3,3,symmetric

A−722−9422−5587−9487−56

(2)

lprint

array(symmetric,1 .. 3, 1 .. 3,[(3, 3)=-56,(1, 2)=22,(1, 3)=-94,(1, 1)=-7,(2, 3)=87,(2, 2)=-55])

convertA,array

−722−9422−5587−9487−56

(3)

lprint

array(1 .. 3, 1 .. 3,[(2, 3)=87,(3, 2)=87,(2, 1)=22,(3, 3)=-56,(2, 2)=-55,(3, 1)=-94,(1, 3)=-94,(1, 2)=22,(1, 1)=-7])

See Also

Array

array(deprecated)

convert/Array

convert/list

convert/table