|
Public Member Functions |
virtual void | opupdt (const vec &v, double w)=0 |
virtual mat | to_mat ()=0 |
| Conversion to full matrix.
|
virtual void | mult_sym (const mat &C)=0 |
| Inplace symmetric multiplication by a SQUARE matrix $C$, i.e. $V = C*V*C'$.
|
virtual void | mult_sym_t (const mat &C)=0 |
| Inplace symmetric multiplication by a SQUARE transpose of matrix $C$, i.e. $V = C'*V*C$.
|
virtual double | logdet () const =0 |
| Logarithm of a determinant.
|
virtual vec | sqrt_mult (const vec &v) const =0 |
| Multiplies square root of $V$ by vector $x$.
|
virtual double | qform (const vec &v) const =0 |
| Evaluates quadratic form $x= v'*V*v$;.
|
virtual void | clear ()=0 |
| Clearing matrix so that it corresponds to zeros.
|
int | cols () const |
| Reimplementing common functions of mat: cols().
|
int | rows () const |
| Reimplementing common functions of mat: cols().
|
virtual | ~sqmat () |
| Destructor for future use;.
|
| sqmat (const int dim0) |
| Default constructor.
|
Protected Attributes |
int | dim |
| dimension of the square matrix
|
All operations defined on this class should be optimized for the chosed decomposition.