![]() |
CLA3P v0.3.1
Compact Linear Algebra Parallel Portable Package
|
The abstract linear solver base for dense matrices. More...

Public Member Functions | |
| void | reserve (int_t n) |
| Allocates internal buffers. | |
| void | clear () |
| Clears the solver internal data. | |
| void | decompose (const T_Matrix &mat) |
| Performs matrix decomposition. | |
| void | idecompose (T_Matrix &mat) |
| Performs in-place matrix decomposition. | |
| void | solve (T_Matrix &rhs) const |
| Performs in-place matrix solution. | |
| void | solve (T_Vector &rhs) const |
| Performs in-place vector solution. | |
The abstract linear solver base for dense matrices.
Provides a base class for linear solvers that use LAPACK decomposition methods.
| T_Matrix | The matrix type (e.g., dns::XxMatrix<T_Scalar>). |
| void cla3p::LapackBase< T_Matrix >::reserve | ( | int_t | n | ) |
Allocates internal buffers.
Preallocates internal storage to avoid dynamic allocation during decomposition.
| [in] | n | The maximum dimension for the buffers. |
| void cla3p::LapackBase< T_Matrix >::clear | ( | ) |
Clears the solver internal data.
Clears the solver internal data and resets all settings.
| void cla3p::LapackBase< T_Matrix >::decompose | ( | const T_Matrix & | mat | ) |
Performs matrix decomposition.
Computes the matrix factorization without modifying the input matrix.
| [in] | mat | The matrix to be decomposed. |
| void cla3p::LapackBase< T_Matrix >::idecompose | ( | T_Matrix & | mat | ) |
Performs in-place matrix decomposition.
Computes the matrix factorization by overwriting the input matrix.
| [in,out] | mat | The matrix to be decomposed, destroyed after the operation. |
| void cla3p::LapackBase< T_Matrix >::solve | ( | T_Matrix & | rhs | ) | const |
Performs in-place matrix solution.
Solves the linear system using the precomputed factorization.
| [in,out] | rhs | On input, the right hand side matrix, on exit is overwritten with the solution. |
| void cla3p::LapackBase< T_Matrix >::solve | ( | T_Vector & | rhs | ) | const |
Performs in-place vector solution.
Solves the linear system using the precomputed factorization.
| [in,out] | rhs | On input, the right hand side vector, on exit is overwritten with the solution. |