MAMBO logo MAMBO & the MAMBO Toolbox MAMBO logo

DefineTriads — Definition of triads [maple]

DefineTriads(a,b,rm)

DefineTriads([a1,b1,rm1], ..., [an,bn,rmn])

a,a1, ..., an: names of declared triads

b,b1, ..., bn: names of declared triads

rm,rm1, ..., rmn: rotation-matrix specifications

The function DefineTriads defines a direct relation between two declared triads by specifying the rotation matrix from the first triad to the second triad. A pair of indirectly related triads may not be defined.

The function DefineTriads results in permanent changes to the global variables GlobalTriadDeclarations and GlobalTriadDefinitions.

The syntax of a rotation-matrix specification corresponds to that of the argument to the MakeRotations procedure.

>Restart():
>DeclareTriads(a,b,c):
>DefineTriads([a,b,phi,1],[b,c,[q3,2],[Pi/2,3]]):
>print(GlobalTriadDeclarations);

tableb=a,c,a=b,c=b

>print(GlobalTriadDefinitions);

tableb,a=1000cosphisinphi0sinphicosphi,c,b=010cosq30sinq3sinq30cosq3,b,c=0cosq3sinq31000sinq3cosq3,a,b=1000cosphisinphi0sinphicosphi


Toolbox functions