The class Taucs_matrix is a C++ wrapper around TAUCS' matrix type taucs_ccs_matrix.
This kind of matrix can be either symmetric or not. Symmetric matrices store only the lower triangle.
#include <CGAL/Taucs_matrix.h>
Model of the SparseLinearAlgebraTraits_d::Matrix concept.
The full template declaration is:
template<class T>
struct Taucs_matrix;
Parameters
|
| |||||
Create a square matrix initialized with zeros.
| |||||
| |||||
Create a rectangular matrix initialized with zeros.
|
|
| Return the matrix number of rows. | ||
|
| Return the matrix number of columns. | ||
|
|
Read access to a matrix coefficient.
| ||
|
| |||
Write access to a matrix coefficient: a_ij <- val. Optimizations: For symmetric matrices, Taucs_matrix stores only the lower triangle set_coef() does nothing if (i, j) belongs to the upper triangle. Caller can optimize this call by setting new_coef to true if the coefficient does not already exist in the matrix.
| ||||
|
|
Write access to a matrix coefficient: a_ij <- a_ij + val. Optimization: For symmetric matrices, Taucs_matrix stores only the lower triangle add_coef() does nothing if (i, j) belongs to the upper triangle.
| ||
|
| Construct and return the TAUCS matrix wrapped by this object. The TAUCS matrix returned by this method is valid only until the next call to get_coef(), set_coef() or add_coef(). |
CGAL::Taucs_solver_traits<T>
CGAL::Taucs_symmetric_solver_traits<T>
CGAL::Taucs_symmetric_matrix<T>
CGAL::Taucs_vector<T>