vector - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


type/vector

check for vector (one-dimensional array)

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

type(v, vector)

type(v, 'vector'(K))

Parameters

v

-

expression

K

-

type of the coefficient field

Description

• 

This function checks whether its first argument is a Maple vector. A vector is defined to be an one-dimensional array indexed from 1.

• 

If the argument K is given, the function checks whether A is a vector with entries of type K .

• 

Also, if K is given, it is essential to quote the word vector in order to avoid confusion with the vector function in the linalg package.

• 

Note: The command vector has been superseded by Vector.

Examples

typearray1..3,1,2,3,vector

true

(1)

typearray0..2,1,2,3,vector

false

(2)

varray2,23,1

v2231

(3)

typev,vectorinteger

false

(4)

typev,vectorrational

true

(5)

See Also

array(deprecated)

linalg(deprecated)[vector]

type/Vector

vector(deprecated)