Non-templated classes in MV++ have names such as MV_Vector_double and MV_MatCol_int. By default, the inital installation supports
Type specific versions the MV++ classes are generated from the same "base" file via an editor or simple preprocessor, such as sed. For example, mvvt.h defines a class of
class MV_Vector_$TYPE { protected: $TYPE *p_; ... }By creating a copy of this file in which every occurence of ``$TYPE'' is changed to the name of a user-specific class, one can create MV++ vectors out of any numerical object representing an algebraic ring. The simple command,
sed '1,$s/\$TYPE/MyObject/g' mvv.h > mvv_MyObject.hwill create an MV++ vector of MyObjects. Similarly, one can also create the accompanying mvv_MyObject.cc file from the mvv.cc base in the /src directory.