CGAL 4.6 - Triangulated Surface Mesh Deformation
|
Concept describing the set of requirements for a direct sparse linear system solver with factorization. A model of this concept stores the left-hand matrix (denoted \( A \)) and provides an additional factorization method to solve the system for different right-hand vectors.
Creation | |
SparseLinearAlgebraTraitsWithFactor_d () | |
Default constructor. | |
Operations | |
bool | factor (const Matrix &A, NT &D) |
Factorize the sparse matrix A. More... | |
bool | linear_solver (const Vector &B, Vector &X) |
Solve the sparse linear system \( A \times X = B\), with \( A \) being the matrix provided in SparseLinearAlgebraTraitsWithFactor_d::factor. More... | |
bool SparseLinearAlgebraTraitsWithFactor_d::factor | ( | const Matrix & | A, |
NT & | D | ||
) |
Factorize the sparse matrix A.
This factorization is used in SparseLinearAlgebraTraitsWithFactor_d::linear_solver to solve the system for different right-hand side vectors. See SparseLinearAlgebraTraits_d::linear_solver()
for the description of D
.
bool SparseLinearAlgebraTraitsWithFactor_d::linear_solver | ( | const Vector & | B, |
Vector & | X | ||
) |
Solve the sparse linear system \( A \times X = B\), with \( A \) being the matrix provided in SparseLinearAlgebraTraitsWithFactor_d::factor.