MAMBO logo MAMBO & the MAMBO Toolbox MAMBO logo

&-- — Subtracting two MAMBO vectors or descriptions [mupad/matlab]

v &-- w

&--(v,w)

v,w: MAMBO vectors or compatible MAMBO descriptions

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

v &-- w = v &++ ((-1) &** w)

Two MAMBO descriptions are compatible provided that they have the same number of rows and the same number of columns.

Restart():
DeclareTriads(a,b):
v:=MakeTranslations(a,1):
w:=MakeTranslations([a,1],[b,2]):
v &-- w;

Vector Subtraction Output 1

v &-- v;

Vector Subtraction Output 2


Toolbox functions