49 #include <visp/vpConfig.h>
51 #ifdef VISP_BUILD_DEPRECATED_FUNCTIONS
54 #include <visp/vpAdaptativeGain.h>
55 #include <visp/vpColVector.h>
56 #include <visp/vpDebug.h>
83 this ->initFromVoid ();
106 this ->coeff_c = lambda;
144 const double en_infini,
145 const double pente_en_zero)
149 this ->coeff_a = en_zero - en_infini;
151 if (std::fabs(
this ->coeff_a) <= std::numeric_limits<double>::epsilon())
157 this ->coeff_b = pente_en_zero / (
this ->coeff_a);
159 this ->coeff_c = en_infini;
162 this ->coeff_a,
this ->coeff_b,
this ->coeff_c);
182 double res =
this ->coeff_a +
this ->coeff_c;
186 this ->coeff_c = res;
211 double res =
this ->coeff_a * exp (-
this ->coeff_b * val_e)
228 double res =
this ->coeff_c;
252 this ->lambda =
this ->value_const (val_e);
270 this ->lambda =
this ->limitValue_const ();
299 return this ->value (val_e);
310 return this ->limitValue ();
324 return this ->value (e .infinityNorm());
347 os <<
"Zero= " << lambda .coeff_a + lambda .coeff_c
348 <<
"\tInf= " << lambda .coeff_c
349 <<
"\tDeriv= " << lambda .coeff_a * lambda .coeff_b;