src
solvers
preconditioners.cpp
Go to the documentation of this file.
1
/*
2
* Copyright 2017-2018, Justin Carpentier, LAAS-CNRS
3
*
4
* This file is part of eigenpy.
5
* eigenpy is free software: you can redistribute it and/or
6
* modify it under the terms of the GNU Lesser General Public License
7
* as published by the Free Software Foundation, either version 3 of
8
* the License, or (at your option) any later version.
9
* eigenpy is distributed in the hope that it will be
10
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty
11
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU Lesser General Public License for more details. You should
13
* have received a copy of the GNU Lesser General Public License along
14
* with eigenpy. If not, see <http://www.gnu.org/licenses/>.
15
*/
16
17
#include <Eigen/Core>
18
19
#if EIGEN_VERSION_AT_LEAST(3, 2, 0)
20
#include "
eigenpy/solvers/BasicPreconditioners.hpp
"
21
#include "
eigenpy/solvers/preconditioners.hpp
"
22
// #include "eigenpy/solvers/BFGSPreconditioners.hpp"
23
24
namespace
eigenpy
{
25
26
void
exposePreconditioners
() {
27
using namespace
Eigen
;
28
29
DiagonalPreconditionerVisitor<double>::expose
();
30
#if EIGEN_VERSION_AT_LEAST(3, 3, 5)
31
LeastSquareDiagonalPreconditionerVisitor<double>::expose
();
32
#endif
33
IdentityPreconditionerVisitor::expose
();
34
// LimitedBFGSPreconditionerBaseVisitor<
35
// LimitedBFGSPreconditioner<double,Eigen::Dynamic,Eigen::Upper|Eigen::Lower>
36
// >::expose("LimitedBFGSPreconditioner");
37
}
38
39
}
// namespace eigenpy
40
41
#endif
eigenpy::exposePreconditioners
void EIGENPY_DLLAPI exposePreconditioners()
Eigen
Definition:
complex.cpp:7
eigenpy
Definition:
alignment.hpp:14
preconditioners.hpp
eigenpy::IdentityPreconditionerVisitor::expose
static void expose()
Definition:
BasicPreconditioners.hpp:118
eigenpy::DiagonalPreconditionerVisitor::expose
static void expose()
Definition:
BasicPreconditioners.hpp:78
BasicPreconditioners.hpp
eigenpy::expose
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