MAMBO logo MAMBO & the MAMBO Toolbox MAMBO logo

MakeDescription — Constructing a Mambo description [mathematica]

MakeDescription[{v1, ..., vn}, m]

v1, ..., vn: Mambo vectors

m: integer

The function MakeDescription returns a Mambo description, i.e., a rectangular array of the Mambo vectors v1, ..., vn and with row dimension given by the integer m. The number of vectors must be divisible by m.

Restart;
DeclareTriads[a,b];
MakeDescription[Join[Table[MakeTranslations[a,i],{i,3}], 
  Table[MakeTranslations[b,i],{i,3}]],2]

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


Toolbox functions