Summary: Function: GTP:-tensorrank - find the rank of a tensor or an elements of the type 'gradedpolynom'
p - graded polynomials of type GTP:-`type/gradedpolynom`
· Procedure 'tensorrank' finds the rank of a graded polynomial, that is, an element of the graded
tensor product Cl(B1) &t Cl(B2) &t ... &t Cl(Br) of some Clifford algebras Cl(B1), Cl(B2), ... ,
· This procedure is needed to determine if the tensors entered in GTP:-gprod or GTP:-gradedprod
are of the same rank.
· If, by mistake, tensors of different ranks are detected in p, an error message is returned.
> tensorrank(e1 &t e2);
> tensorrank(&t((e1 + e2),e2,Id,e1+e2,Id));
Cliplus has been loaded. Definitions for type/climon and type/clipolynom now in
clude &C and &C[K]. Type ?cliprod for help.