Miscellaneous Procedures

The cc command collects the coefficients of the same blade together

> e[1]+sin(theta)*e[2]+2*e[2] + cos(theta)*e[1];

[Maple Math]

> cc(%);

[Maple Math]

mpow caculates positive integer powers of multivectors

> mpow(1+2*e[1,2],3);

[Maple Math]

The mv command can be used to create multivectors of any grade with symbolic coefficients.

The syntax is mv(name,grade or set of grades,set of indices). The list of indices specifies the dimension of the space over which the multivector is defined. Note that if there is a scalar part of the multivector, its coefficient is given by name[NULL].

> mv(x,1,{1,2,3,4});

[Maple Math]

> mv(M,{0,2},{1,2,3,4});

[Maple Math]

The slide function is used to shift the indices of blades in an expression. It is especially useful in the MSTA to shift from one space to another. It will increase the blade indices by the amount given in the second argument.

> metric(MSTA); xx:=mv(x,1,{0,1,2,3});

[Maple Math]

[Maple Math]

> slide(xx,4);

[Maple Math]