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 void exposeSolvers() {
18  using namespace Eigen;
19  ConjugateGradientVisitor<
20  ConjugateGradient<MatrixXd, Lower | Upper> >::expose();
21 #if EIGEN_VERSION_AT_LEAST(3, 3, 5)
22  LeastSquaresConjugateGradientVisitor<LeastSquaresConjugateGradient<
23  MatrixXd,
24  LeastSquareDiagonalPreconditioner<MatrixXd::Scalar> > >::expose();
25 #endif
26 
27  // Conjugate gradient with limited BFGS preconditioner
28  ConjugateGradientVisitor<
29  ConjugateGradient<MatrixXd, Lower | Upper, IdentityPreconditioner> >::
30  expose("IdentityConjugateGradient");
31  // ConjugateGradientVisitor<
32  // ConjugateGradient<MatrixXd,Lower|Upper,LimitedBFGSPreconditioner<double,Dynamic,Lower|Upper>
33  // > >::expose("LimitedBFGSConjugateGradient");
34 }
35 } // namespace eigenpy
36 
37 #endif
Definition: complex.cpp:7
void EIGENPY_DLLAPI exposeSolvers()
void expose()
Call the expose function of a given type T.
Definition: expose.hpp:23


eigenpy
Author(s): Justin Carpentier, Nicolas Mansard
autogenerated on Fri Jun 2 2023 02:10:26