#include <functions.h>
Inheritance diagram for mimas::_bilevel< T >:
Public Member Functions | |
_bilevel (T _val1, T _val2) | |
T | operator() (const T &x, const T &y) const |
Compare value with threshold and map to {val1,val2}. | |
Public Attributes | |
T | val1 |
T | val2 |
Definition at line 90 of file functions.h.
mimas::_bilevel< T >::_bilevel | ( | T | _val1, | |
T | _val2 | |||
) | [inline] |
Definition at line 91 of file functions.h.
T mimas::_bilevel< T >::operator() | ( | const T & | x, | |
const T & | y | |||
) | const [inline] |
Compare value with threshold and map to {val1,val2}.
x | The value to be considered. | |
y | The threshold to compare with. |
val1
or val2
. Definition at line 96 of file functions.h.
References mimas::_bilevel< T >::val1, and mimas::_bilevel< T >::val2.
T mimas::_bilevel< T >::val1 |
T mimas::_bilevel< T >::val2 |