DGtal 1.4.0
|
#include <DGtal/math/ScalarFunctors.h>
Public Types | |
typedef TScalar | Scalar |
typedef Scalar | argument_type |
typedef Scalar | value_type |
Public Member Functions | |
HatFunction (Scalar v0, Scalar r) | |
Scalar | operator() (Scalar d) const |
Data Fields | |
Scalar | myV0 |
Scalar | myV0OverR |
Scalar | myR |
The hat function of value v0 at 0 with a linear decrease to 0 at value r. A function Scalar -> Scalar.
Definition at line 55 of file ScalarFunctors.h.
typedef Scalar DGtal::functors::HatFunction< TScalar >::argument_type |
Definition at line 57 of file ScalarFunctors.h.
typedef TScalar DGtal::functors::HatFunction< TScalar >::Scalar |
Definition at line 56 of file ScalarFunctors.h.
typedef Scalar DGtal::functors::HatFunction< TScalar >::value_type |
Definition at line 58 of file ScalarFunctors.h.
|
inline |
Definition at line 65 of file ScalarFunctors.h.
|
inline |
Definition at line 67 of file ScalarFunctors.h.
References DGtal::functors::HatFunction< TScalar >::myR, DGtal::functors::HatFunction< TScalar >::myV0, and DGtal::functors::HatFunction< TScalar >::myV0OverR.
Scalar DGtal::functors::HatFunction< TScalar >::myR |
Definition at line 62 of file ScalarFunctors.h.
Referenced by DGtal::functors::HatFunction< TScalar >::operator()().
Scalar DGtal::functors::HatFunction< TScalar >::myV0 |
Definition at line 60 of file ScalarFunctors.h.
Referenced by DGtal::functors::HatFunction< TScalar >::operator()().
Scalar DGtal::functors::HatFunction< TScalar >::myV0OverR |
Definition at line 61 of file ScalarFunctors.h.
Referenced by DGtal::functors::HatFunction< TScalar >::operator()().