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;
|
| |
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.
Preconditions:
|
|
|
Write access to a matrix coefficient: a_ij - val.
Optimization: For symmetric matrices, Taucs_matrix stores only the lower triangle set_coef() does nothing if (i, j) belongs to the upper triangle.
Preconditions:
|
|
|
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.
Preconditions:
|
|
| Construct and return the TAUCS matrix wrapped by this object. Note: the TAUCS matrix returned by this method is valid only until the next call to set_coef(), add_coef() or get_taucs_matrix(). |
CGAL::Taucs_solver_traits<T>
CGAL::Taucs_symmetric_solver_traits<T>
CGAL::Taucs_symmetric_matrix<T>
CGAL::Taucs_vector<T>