42 #ifndef __VP_ADAPTIVE_GAIN_H
43 #define __VP_ADAPTIVE_GAIN_H
45 #include <visp3/core/vpConfig.h>
91 mutable double lambda;
102 double gain_at_infinity,
103 double slope_at_zero);
107 void initFromConstant (
double c);
108 void initFromVoid (
void);
109 void initStandard (
double gain_at_zero,
110 double gain_at_infinity,
111 double slope_at_zero);
115 double setConstant (
void);
131 double value_const (
double x)
const;
142 double value (
double x)
const;
144 double limitValue_const (
void)
const;
146 double limitValue (
void)
const;
157 double operator() (
double x)
const;
163 double operator() (
void)
const;
168 friend VISP_EXPORT std::ostream& operator<< (std::ostream &os,
const vpAdaptiveGain& lambda);
double getLastValue(void) const
Adaptive gain computation.
static const double DEFAULT_LAMBDA_ZERO
static const double DEFAULT_LAMBDA_INFINITY
static const double DEFAULT_LAMBDA_SLOPE
Implementation of column vector and the associated operations.