MAMBO logo MAMBO & the MAMBO Toolbox MAMBO logo

MamboTimes — Scalar multiplication of a MAMBO vector or description [mathematica]

k~MamboTimes~w

MamboTimes[k,w]

k: algebraic expression

w: MAMBO vector or description

The function MamboTimes returns the scalar multiplication of an algebraic expression k with a vector or description v.

To ensure proper evaluation order, it is recommended to enclose the algebraic expression within parentheses.

Restart;
DeclareTriads[a];
v=MakeTranslations[a,1,2,3];
2~MamboTimes~v

{ Type "->" Vector , Size "->" 1 , 1 "->" { Coordinates "->" { 2 , 4 , 6 } , Triad "->" a } }

(-1/MamboNorm[v])~MamboTimes~v

{ Type "->" Vector , Size "->" 1 , 1 "->" { Coordinates "->" { - 1 14 , - 2 7 , - 3 14 } , Triad "->" a } }


Toolbox functions