CGAL::Taucs_symmetric_matrix<T>

Definition

The class Taucs_symmetric_matrix is a C++ wrapper around a TAUCS symmetric matrix (type taucs_ccs_matrix).

Symmetric matrices store only the lower triangle.

#include <CGAL/Taucs_matrix.h>

Inherits From

Taucs_matrix<T>

Is Model for the Concepts

Model of the SparseLinearAlgebraTraits_d::Matrix concept.

Parameters

The full template declaration is:

template<
class T>
struct Taucs_symmetric_matrix;

Parameters


T: Number type. Tested with T = taucs_single or taucs_double. May also work with T = taucs_dcomplex and taucs_scomplex.

Types

Taucs_symmetric_matrix<T>::NT

Creation

Taucs_symmetric_matrix<T> M ( int dim);
Create a square symmetric matrix initialized with zeros.
Parameters: 
dim: Matrix dimension.

Taucs_symmetric_matrix<T> M ( int rows, int columns);
Create a square symmetric matrix initialized with zeros.
Precondition: rows == columns.
Parameters: 
rows: Number of rows. columns: Number of columns.

See Also

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