The concept SparseLinearAlgebraTraits_d
is used to solve sparse linear systems A \( \times \) X = B.
- Has models
CGAL::Eigen_solver_traits<T>
|
| SparseLinearAlgebraTraits_d () |
| Default constructor.
|
|
◆ linear_solver()
bool SparseLinearAlgebraTraits_d::linear_solver |
( |
const Matrix & |
A, |
|
|
const Vector & |
B, |
|
|
Vector & |
X, |
|
|
NT & |
D |
|
) |
| |
Solve the sparse linear system \(A \times X = B\).
Return true
on success. The solution is then \((1/D) \times X \).
- Precondition
A.row_dimension()
== B.dimension()
-
A.column_dimension()
== X.dimension()