finitediff
|
There are many different matrices types because there are many special cases : permutation, gaussian transformation, upper/lower triangular, etc.
The base type is SNgeneric
(pure virtual) and the most general matrix type is SNmatrix
.
The matrices have two template arguments :
class T
is supposed to be a numeric class like double
. It is the type of the matrix elements.unsigned int tp_size
is the size of the matrix (well, the size is the square of that you know).SNoperators.h
Read more here.
We define some exceptions adapted to our matrices manipulations. Read more here.