DGtal  0.9.3beta
Public Member Functions
DGtal::functors::LambdaExponentialFunction Struct Reference

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

Inheritance diagram for DGtal::functors::LambdaExponentialFunction:
[legend]
Collaboration diagram for DGtal::functors::LambdaExponentialFunction:
[legend]

Public Member Functions

double operator() (double x) const
 

Detailed Description

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

Definition at line 92 of file FunctorsLambdaMST.h.

Member Function Documentation

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

Definition at line 94 of file FunctorsLambdaMST.h.

95  {
96  return 2.0 / ( std::exp ( 15.0 * ( x - 0.5 ) ) + std::exp ( -15.0 * ( x - 0.5 ) ) );
97  }

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