MAMBO logo MAMBO & the MAMBO Toolbox MAMBO logo

MamboMinus— Subtracting two MAMBO vectors or descriptions [mathematica]

v~MamboMinus~w

MamboMinus[v,w]

v,w: MAMBO vectors or compatible MAMBO descriptions

The function MamboMinus returns the difference between the two MAMBO vectors/descriptions v and w. It is computed using the formula

v~MamboMinus~w = v~MamboPlus~((-1)~MamboTimes~w)

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

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

v~MamboMinus~v

{ Type "->" Vector , Size "->" 0 }


Toolbox functions