InstallVectorClassesAA:
PROC [] ~ {
local declarations
cDotClass, crossProdClass, transposeClass, determinantClass: CompoundClass;
binary operations
cDotClass ← MakeBinOpClass[$cDot, $times, $multiplier, $multiplicand, MathConstructors.MakePlainSym['\267], "a . b", "$multiplier * $multiplicand"];
crossProdClass ← MakeBinOpClass[$crossProd, $times, $multiplier, $multiplicand, MathConstructors.MakePlainSym['\264], "a x b", "$multiplier * $multiplicand"];
unary operations
determinantClass ← MakeUnaryOpClass[$det, $det, $a, MathConstructors.MakePlainRope["det"], "det a", "det $a"];
transposeClass ← MakeUnaryOpClass[$transp, $tr, $a, MathConstructors.MakePlainRope["transp"], "transp a", "transp $a"];
MathDB.InstallCompoundClass[determinantClass];
MathDB.AddOperator[determinantClass, $Vector];
MathDB.InstallCompoundClass[transposeClass];
MathDB.AddOperator[transposeClass, $Vector];
MathDB.InstallCompoundClass[cDotClass];
MathDB.AddOperator[cDotClass, $Vector];
MathDB.InstallCompoundClass[crossProdClass];
MathDB.AddOperator[crossProdClass, $Vector];
};