|
tfel
|
Covariance matrix. More...
#include </home/runner/work/tfel/tfel/include/TFEL/Math/AccelerationAlgorithms/CovarianceMatrix.hxx>
Public Member Functions | |
| CovarianceMatrix () | |
| Default constructor. | |
| CovarianceMatrix (size_type Nmax) | |
| virtual | ~CovarianceMatrix () |
| Destructor. | |
| void | resize (size_type Nmax) |
| size_type | getSize () const |
| pointer | getLine (size_type N) |
| void | shift () |
| void | weightsGSchmidtD (std::vector< real > &) |
| void | alloc () |
| Memory allocation. | |
| void | clear () |
| Memory deletion. | |
| void | GSFactorD () |
Public Attributes | |
| size_type | Nmax = 0 |
| Maximal matrix size. | |
| size_type | N = 0 |
| Current Depth of Anderson acceleration. | |
| std::vector< real > | C |
| Covariances. | |
| std::vector< real > | a |
| Covariance factors. | |
| std::vector< real > | ne |
Covariance matrix.
|
explicit |
Constructor
| Nmax | Matrix size |
|
nodiscard |
| N | Line index |
|
nodiscard |
| void tfel::math::anderson::CovarianceMatrix< real >::GSFactorD | ( | ) |
Gram-Schmidt Factorisation Descendent order
| void tfel::math::anderson::CovarianceMatrix< real >::resize | ( | size_type | Nmax | ) |
Resize the matrix
| Nmax | Matrix size |
| void tfel::math::anderson::CovarianceMatrix< real >::weightsGSchmidtD | ( | std::vector< real > & | w | ) |
Anderson weights by Gram-Schmidt process Descendent order
| w | anderson weights |