convert a list, an array or a Vector to a vector - Maple Help

Online Help

All Products    Maple    MapleSim


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

convert/vector - convert a list, an array or a Vector to a vector

Calling Sequence

convert(A, vector)

Parameters

A

-

array, list, of rtable-based Vector

Description

• 

The convert(A, vector) calling sequence converts any of the following objects into a vector:

  

* array

  

* list

  

* rtable-based Vector

• 

Note: The command vector has been superseded by Vector.

Examples

A:=array0..1,1..0,1,2,3,4:

convertA,vector

1234

(1)

convert1,2,vector

12

(2)

V:=Vector1,2,3

V:=123

(3)

typeV,Vector

true

(4)

typeV,vector

false

(5)

V1:=convertV,vector

V1:=123

(6)

typeV1,Vector

false

(7)

typeV,vector

false

(8)

typeV1,vector

true

(9)

See Also

convert, convert/array, convert/matrix, type/vector, type/Vector, Vector, vector(deprecated)


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