sqmat chmat fsqmat ldmat libDC.h int int sqmat::dim dim dimension of the square matrix ldmat::add ldmat::cols cols ldmat::ldform ldmat::ldmat ltuinv ldmat::opupdt ldmat::rows rows ldmat::sqrt_mult ldmat::to_mat void virtual void sqmat::opupdt (const vec &v, double w)=0 opupdt opupdt opupdt opupdt const vec & v double w Perfroms a rank-1 update by outer product of vectors: $V = V + w v v'$. v Vector forming the outer product to be added w weight of updating; can be negative BLAS-2b operation. mat virtual mat sqmat::to_mat ()=0 to_mat to_mat to_mat to_mat Conversion to full matrix. void virtual void sqmat::mult_sym (const mat &C)=0 mult_sym mult_sym mult_sym mult_sym const mat & C Inplace symmetric multiplication by a SQUARE matrix $C$, i.e. $V = C*V*C'$. C multiplying matrix, void virtual void sqmat::mult_sym_t (const mat &C)=0 mult_sym_t mult_sym_t mult_sym_t mult_sym_t const mat & C Inplace symmetric multiplication by a SQUARE transpose of matrix $C$, i.e. $V = C'*V*C$. C multiplying matrix, double virtual double sqmat::logdet () const =0 logdet logdet logdet logdet Logarithm of a determinant. vec virtual vec sqmat::sqrt_mult (const vec &v) const =0 sqrt_mult sqrt_mult sqrt_mult sqrt_mult const vec & v Multiplies square root of $V$ by vector $x$. Used e.g. in generating normal samples. double virtual double sqmat::qform (const vec &v) const =0 qform qform qform qform const vec & v Evaluates quadratic form $x= v'*V*v$;. double virtual double sqmat::invqform (const vec &v) const =0 invqform invqform invqform invqform const vec & v Evaluates quadratic form $x= v'*inv(V)*v$;. void virtual void sqmat::clear ()=0 clear clear clear clear Clearing matrix so that it corresponds to zeros. int int sqmat::cols () const cols cols Reimplementing common functions of mat: cols(). dim int int sqmat::rows () const rows rows Reimplementing common functions of mat: cols(). dim virtual sqmat::~sqmat () ~sqmat Destructor for future use;. sqmat::sqmat (const int dim0) sqmat const int dim0 Default constructor. Virtual class for representation of double symmetric matrices in square-root form. All operations defined on this class should be optimized for the chosen decomposition. sqmatclear sqmatcols sqmatdim sqmatinvqform sqmatlogdet sqmatmult_sym sqmatmult_sym_t sqmatopupdt sqmatqform sqmatrows sqmatsqmat sqmatsqrt_mult sqmatto_mat sqmat~sqmat