Puisque le programme est écrit entierement en template il faut, dans le programme principal instantier les types pour un calcul particulier. Pour un calcul scalaire sur des réel on écrira:
const int N=1; // Scalar base type follows typedef float Basetype; // real numbers (not complex) typedef VectN<Basetype,N> vectNB; // base type is float (vector of size 1) typedef MatN<Basetype,N> matNB; // same for matrices