MAMBO logo MAMBO & the MAMBO Toolbox MAMBO logo

&oo — Finding the dot product between two MAMBO vectors or descriptions [mupad/matlab]

v &oo w

&oo(v,w)

v,w: MAMBO vectors or compatible MAMBO descriptions

The function &oo returns the dot product of the two MAMBO vectors/descriptions v and w.

Two MAMBO descriptions are compatible provided that the number of columns of the first description equals the number of rows of the second description.

Restart(): DeclareTriads(a,b): DefineTriads(a,b,th,3): v:=MakeTranslations(a,1): w:=MakeTranslations([a,1],[b,2]): v &oo w;

Vector Dot Product Output

MakeDescription([_seqgen(MakeTranslations(a,i),i,1..3)],3) &oo MakeDescription([_seqgen(MakeTranslations(b,i),i,1..3)],1);

Vector Dot Product Output


Toolbox functions