solvers.cpp
Go to the documentation of this file.
1 /*
2  * Copyright 2017-2020 CNRS INRIA
3  */
4 
5 #include <Eigen/Core>
6 
7 #if EIGEN_VERSION_AT_LEAST(3,2,0)
8 
11 
12 #if EIGEN_VERSION_AT_LEAST(3,3,5)
14 #endif
15 
16 namespace eigenpy
17 {
18  void exposeSolvers()
19  {
20  using namespace Eigen;
21  ConjugateGradientVisitor< ConjugateGradient<MatrixXd,Lower|Upper> >::expose();
22 #if EIGEN_VERSION_AT_LEAST(3,3,5)
23  LeastSquaresConjugateGradientVisitor< LeastSquaresConjugateGradient<MatrixXd, LeastSquareDiagonalPreconditioner<MatrixXd::Scalar> > >::expose();
24 #endif
25 
26  // Conjugate gradient with limited BFGS preconditioner
27  ConjugateGradientVisitor< ConjugateGradient<MatrixXd,Lower|Upper,IdentityPreconditioner > >::expose("IdentityConjugateGradient");
28 // ConjugateGradientVisitor< ConjugateGradient<MatrixXd,Lower|Upper,LimitedBFGSPreconditioner<double,Dynamic,Lower|Upper> > >::expose("LimitedBFGSConjugateGradient");
29  }
30 } // namespace eigenpy
31 
32 #endif
33 
Definition: complex.cpp:7
void EIGENPY_DLLAPI exposeSolvers()
void expose()
Call the expose function of a given type T.
Definition: expose.hpp:25


eigenpy
Author(s): Justin Carpentier, Nicolas Mansard
autogenerated on Sat Apr 17 2021 02:37:59