MAMBO logo MAMBO & the MAMBO Toolbox MAMBO logo

MamboPlus — Adding two MAMBO vectors or descriptions [mathematica]

v~MamboPlus~w

MamboPlus[v,w]

v,w: MAMBO vectors or compatible MAMBO descriptions

The function MamboPlus returns the vector sum of the two MAMBO vectors/descriptions v and w. In the case of vectors, the Size of the resulting vector equals the number of separate triads in the specifications for each of the individual vectors.

Restart;
DeclareTriads[a,b];
v=MakeTranslations[a,1];
w=MakeTranslations[{a,1},{b,2}];
v~MamboPlus~w

{ 1 "->" { Coordinates "->" { 2 , 0 , 0 } , Triad "->" a } , Type "->" Vector , Size "->" 2 , 2 "->" { Coordinates "->" { 0 , 1 , 0 } , Triad "->" b } }


Toolbox functions