CGAL::Taucs_vector<T>

Definition

The class Taucs_vector is a C++ wrapper around TAUCS' vector type, which is a simple array.

#include <CGAL/Taucs_vector.h>

Is Model for the Concepts

Model of the SparseLinearAlgebraTraits_d::Vector concept.

Parameters

The full template declaration is:

template<
class T>
class Taucs_vector;

Types

Taucs_vector<T>::NT

Creation

Taucs_vector<T> v ( int dimension);
Create a vector initialized with zeros.

Taucs_vector<T> v ( toCopy);
Copy constructor.

Operations

Taucs_vector& v = toCopy operator =()
int v.dimension () Return the vector's number of coefficients.
T v [ int i] Read/write access to a vector coefficient. Preconditions: 0 <= i < dimension().
T& v [ int i]
const T* v.get_taucs_vector ()
Get TAUCS vector wrapped by this object.
T* v.get_taucs_vector ()

See Also

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