ARTS
2.4.0(git:4fb77825)
|
Normalizing solver. More...
#include <oem.h>
Public Member Functions | |
template<typename... Params> | |
NormalizingSolver (const TransformationMatrixType &trans, bool apply, Params... params) | |
template<typename MatrixType , typename VectorType > | |
auto | solve (const MatrixType &A, const VectorType &v) -> typename VectorType::ResultType |
Solve linear system. More... | |
Private Attributes | |
const bool | apply_ = false |
Whether or not to apply the transformation. More... | |
const TransformationMatrixType & | trans_ |
The transformation matrix. More... | |
Normalizing solver.
Solver class that wraps around a given solver and transforms the linear system from left and right with the given transformation matrix. This is used to implement the normalization from qpack.
TransformationMatrixType | The type of the transformation matrix. |
SolverType | The underlying solver type used to solve the linear system. |
|
inline |
|
inline |
Solve linear system.
Solves the transformed linear system using the solve(...) method of the underlying solver type.
[in] | A | Matrix defining the linear system. |
[in] | v | RHS vector of the linear system. |
Definition at line 132 of file oem.h.
References oem::NormalizingSolver< TransformationMatrixType, SolverType >::apply_, solve(), oem::NormalizingSolver< TransformationMatrixType, SolverType >::trans_, and w().
|
private |
Whether or not to apply the transformation.
Definition at line 148 of file oem.h.
Referenced by oem::NormalizingSolver< TransformationMatrixType, SolverType >::solve().
|
private |
The transformation matrix.
Definition at line 150 of file oem.h.
Referenced by oem::NormalizingSolver< TransformationMatrixType, SolverType >::solve().