DGtal  1.5.beta
DGtal::functors::LambdaExponentialFunction Struct Reference

#include <DGtal/geometry/curves/estimation/FunctorsLambdaMST.h>

Public Member Functions

double operator() (double x) const
 

Detailed Description

Exponential Lambda functor [74]. \( \frac{2}{\exp ( 15 (x- \frac{1}{2} ) ) + \exp(15(\frac{1}{2}-x)) } \)

Definition at line 95 of file FunctorsLambdaMST.h.

Member Function Documentation

◆ operator()()

double DGtal::functors::LambdaExponentialFunction::operator() ( double  x) const
inline

Definition at line 97 of file FunctorsLambdaMST.h.

98  {
99  return 2.0 / ( std::exp ( 15.0 * ( x - 0.5 ) ) + std::exp ( -15.0 * ( x - 0.5 ) ) );
100  }

The documentation for this struct was generated from the following file: