convert/Array - Maple Programming Help

Online Help

All Products    Maple    MapleSim


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

convert/Array

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

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

convert( A, Array, ... );

Parameters

A

-

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

...

-

options to be passed to the Array constructor

Description

• 

The convert(A, Array) function converts A into an Array. This is accomplished by passing A and any additional parameters to the Array constructor. No special order is required for the additional parameters.

Examples

A1,2,3,4

A:=1,2,3,4

(1)

A1convertA,Array

A1:=1234

(2)

typeA,Array

false

(3)

typeA1,Array

true

(4)

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

M:=111123789

(5)

M1convertM,Array,datatype=float

M1:=1.1.1.1.2.3.7.8.9.

(6)

typeM,Array

false

(7)

typeM1,Array

true

(8)

LL1,2,3,4

LL:=1,2,3,4

(9)

LL1convertLL,Array,datatype=float,3..4,5..4,order=C_order

LL1:=Array3..4,5..4,,datatype=float8,order=C_order

(10)

typeLL,Array

false

(11)

typeLL1,Array

true

(12)

ArrayDimsLL1

3..4,5..4

(13)

ArrayOptionsLL1

datatype=float8,storage=rectangular,order=C_order

(14)

AA1,2,3,4

AA:=1,2,3,4

(15)

AA1convertAA,Array,datatype=float,band1,1,order=C_order

AA1:=1.2.3.4.

(16)

typeAA,Array

false

(17)

typeAA1,Array

true

(18)

ArrayDimsAA1

1..2,1..2

(19)

ArrayOptionsAA1

datatype=float8,storage=band1,1,order=C_order

(20)

ArrayIndFnsAA1

band1,1

(21)

See Also

Array

array(deprecated)

ArrayDims

ArrayIndFns

ArrayOptions

convert/array

convert/Matrix

convert/Vector

Matrix

rtable

type/Array

 


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