linalg(deprecated)/vectdim - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : linalg(deprecated)/vectdim

linalg(deprecated)

  

vectdim

  

determine the dimension of a vector

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

vectdim(v)

vectdim(L)

Parameters

v

-

vector

L

-

list

Description

• 

Important: The linalg package has been deprecated. Use the superseding command LinearAlgebra[Dimension], instead.

  

- For information on migrating linalg code to the new packages, see examples/LinearAlgebraMigration.

• 

The function vectdim determines the dimension of the given vector.

• 

If vectdim is given a vector v, then the dimension of (number of elements in) v is returned; if a list L is given to vectdim, then the number of elements in the list is returned.

• 

The command with(linalg,vectdim) allows the use of the abbreviated form of this command.

Examples

Important: The linalg package has been deprecated. Use the superseding command LinearAlgebra[Dimension], instead.

withlinalg:

vvectorx,y,z

vxyz

(1)

vectdimv

3

(2)

vectdim1,2,3,4

4

(3)

uvector2

u`?`1`?`2

(4)

vectdimu

2

(5)

See Also

linalg(deprecated)[coldim]

linalg(deprecated)[rowdim]

LinearAlgebra