Go to the documentation of this file.
56 #include "../../../../Eigen/src/Core/util/NonMPL2.h"
58 #ifndef EIGEN_ITERATION_CONTROLLER_H
59 #define EIGEN_ITERATION_CONTROLLER_H
146 template <
typename VectorType>
148 {
return finished(
double(
v.squaredNorm())); }
154 #endif // EIGEN_ITERATION_CONTROLLER_H
double m_res
last computed residual
Namespace containing all symbols from the Eigen library.
void setIteration(size_t i)
bool finished(const MatrixBase< VectorType > &v)
double maxResidual() const
Controls the iterations of the iterative solvers.
double m_resmax
maximum residual
double m_rhsn
Right hand side norm.
void setMaxIterations(size_t i)
void setMaxResidual(double r)
void setCallback(void(*t)(const IterationController &))
void setRhsNorm(double r)
bool converged(const VectorType &v)
int m_noise
if noise > 0 iterations are printed
size_t m_maxiter
Max. number of iterations.
size_t m_nit
iteration number
size_t maxIterarions() const
bool converged(double nr)
Array< int, Dynamic, 1 > v
Base class for all dense matrices, vectors, and expressions.
void(* m_callback)(const IterationController &)
IterationController(double r=1.0E-8, int noi=0, size_t mit=size_t(-1))
void setNoiseLevel(int n)
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:02:33