Class

CGAL::Taucs_solver_traits<T>

Definition

The class Taucs_solver_traits is a traits class for solving GENERAL (aka unsymmetric) sparse linear systems using TAUCS out-of-core LU factorization.

#include <CGAL/Taucs_solver_traits.h>

Is Model for the Concepts

Model of the SparseLinearAlgebraTraits_d concept.

Parameters

The full template declaration is:

template<class T>
class Taucs_solver_traits;

Types

Taucs_solver_traits<T>::Matrix
Taucs_solver_traits<T>::Vector
Taucs_solver_traits<T>::NT

Creation

Taucs_solver_traits<T> solver;
Create a TAUCS sparse linear solver for GENERAL (aka unsymmetric) matrices.

Operations

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

See Also

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

Example

See Taucs_parameterization.cpp example.