convert/array - Maple Programming Help

Online Help

All Products    Maple    MapleSim


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

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,[(2, 2)=-55,(2, 3)=87,(1, 2)=22,(1, 3)=-94,(3, 3)=-56,(1, 1)=-7])

convertA,array

−722−9422−5587−9487−56

(3)

lprint

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

See Also

Array

array(deprecated)

convert/Array

convert/list

convert/table