EVector




A EMatrix is a class representing a matrix of doubles of variable dimension. The class HepMatrix of CLHEP has been chosen in this case (EMatrix is just a typedef of HepMatrix). The EMatrix can be built as follows:

// builds matrix M of dimension m x n
EMatrix M(m, n);

// builds matrix M of dimension m x n and initialize the diagonal to the value ini.
// ini=1 diagonal set to 1. ini=0 all elements set to 0

EMatrix M(m, n, ini);


Refer to the HepMatrix page of the CLHEP web site to learn about the EMatrix functionality.