bdm::chmat Class Reference
Symmetric matrix stored in square root decomposition using upper cholesky. More...
#include <chmat.h>
Inheritance diagram for bdm::chmat:

Public Member Functions | |
| void | opupdt (const vec &v, double w) |
| mat | to_mat () const |
| void | mult_sym (const mat &C) |
| void | mult_sym (const mat &C, chmat &U) const |
mult_sym with return value in parameter U | |
| void | mult_sym_t (const mat &C) |
| void | mult_sym_t (const mat &C, chmat &U) const |
mult_sym with return value in parameter U | |
| double | logdet () const |
| vec | sqrt_mult (const vec &v) const |
| double | qform (const vec &v) const |
| double | invqform (const vec &v) const |
| void | clear () |
| void | add (const chmat &A2, double w=1.0) |
add another chmat A2 with weight w. | |
| void | inv (chmat &Inv) const |
| Inversion in the same form, i.e. cholesky. | |
| virtual | ~chmat () |
| Destructor for future use;. | |
| chmat (const int dim0) | |
| Default constructor. | |
| chmat (const vec &v) | |
| Default constructor. | |
| chmat (const chmat &Ch0) | |
| Copy constructor. | |
| chmat (const mat &M) | |
| Default constructor (m3k:cholform). | |
| chmat (const chmat &M, const ivec &perm) | |
| mat & | _Ch () |
| Access function. | |
| const mat & | _Ch () const |
| Access function. | |
| void | setD (const vec &nD) |
| Access functions. | |
| void | setCh (const vec &chQ) |
| Access functions. | |
| void | setCh (const chmat &Ch0) |
| access function | |
| void | setCh (const mat &Ch0) |
| access function | |
| void | setD (const vec &nD, int i) |
| Access functions. | |
| chmat & | operator+= (const chmat &A2) |
| Operator. | |
| chmat & | operator-= (const chmat &A2) |
| mapping of negative add operation to operators | |
| chmat & | operator * (const double &d) |
| Operator. | |
| chmat & | operator= (const chmat &A2) |
| Operator. | |
| chmat & | operator *= (double x) |
| Operator. | |
Protected Attributes | |
| mat | Ch |
| Upper triangle of the cholesky matrix. | |
Detailed Description
Symmetric matrix stored in square root decomposition using upper cholesky.
This matrix represent
where only the upper triangle
is stored;
Constructor & Destructor Documentation
| bdm::chmat::chmat | ( | const chmat & | M, | |
| const ivec & | perm | |||
| ) | [inline] |
Some templates require this constructor to compile, but it shouldn't actually be called.
- Note:
- may be numerically unstable
Member Function Documentation
Operator.
Operations: mapping of add operation to operators
The documentation for this class was generated from the following files:
- chmat.h
- chmat.cpp
Generated on 2 Dec 2013 for mixpp by
1.4.7
