SparseLinearAlgebraTraits_d

Definition

The concept SparseLinearAlgebraTraits_d is used to solve sparse linear systems A X = B.

Refines

This is a sub-concept of LinearAlgebraTraits_d.

Types

SparseLinearAlgebraTraits_d::Matrix
SparseLinearAlgebraTraits_d::Vector
SparseLinearAlgebraTraits_d::NT

Creation

SparseLinearAlgebraTraits_d sparse_LA;
Default constructor.

Operations

bool
sparse_LA.linear_solver ( Matrix A,
Vector B,
Vector& X,
NT& D)
Solve the sparse linear system A X = B. Return true on success. The solution is then (1/D) X. Preconditions:
  • A.row_dimension() == B.dimension().
  • A.column_dimension() == X.dimension().

Has Models

CGAL::Taucs_solver_traits<T>
CGAL::Taucs_symmetric_solver_traits<T>
OpenNL::DefaultLinearSolverTraits<COEFFTYPE, MATRIX, VECTOR, SOLVER> in OpenNL package
OpenNL::SymmetricLinearSolverTraits<COEFFTYPE, MATRIX, VECTOR, SOLVER> in OpenNL package

See Also

SparseLinearAlgebraTraits_d::Matrix
SparseLinearAlgebraTraits_d::Vector