CGAL 4.8.1 - CGAL and Solvers
|
#include <CGAL/Eigen_solver_traits.h>
The class Eigen_solver_traits
provides an interface to the sparse solvers of Eigen.
The version 3.1 (or greater) of Eigen must be available on the system.
T | A sparse solver of Eigen. The default solver is the iterative bi-congugate gradient stabilized solver Eigen::BiCGSTAB for double . |
CGAL::Eigen_sparse_matrix<T>
CGAL::Eigen_sparse_symmetric_matrix<T>
CGAL::Eigen_vector<T>
The instantiation of this class assumes an Eigen sparse solver is provided. Here are few examples:
Types | |
typedef T::Scalar | NT |
typedef CGAL::Eigen_vector< NT > | Vector |
typedef unspecified_type | Matrix |
If T is Eigen::ConjugateGradient<M> or Eigen::SimplicialCholesky<M> , Matrix is CGAL::Eigen_sparse_symmetric_matrix<T> and CGAL::Eigen_sparse_matrix<T> otherwise. | |
Operations | |
T & | solver () |
Returns a reference to the internal Eigen solver. More... | |
T& CGAL::Eigen_solver_traits< T >::solver | ( | ) |
Returns a reference to the internal Eigen solver.
This function can be used for example to set specific parameters of the solver.