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


eigenpy
Author(s): Justin Carpentier, Nicolas Mansard
autogenerated on Sat Apr 26 2025 02:17:29