SPH
|
Callable representing a generic R->T function, approximated using look-up table. More...
#include <Lut.h>
Public Member Functions | |
Lut ()=default | |
Lut (const Interval range, Array< TValue > &&data) | |
template<typename TFunction > | |
Lut (const Interval range, const Size resolution, TFunction &&func) | |
INLINE TValue | operator() (const TScalar x) const |
LutIterator< TValue, TScalar > | begin () const |
Returns an iterator accessing tabulated values. More... | |
LutIterator< TValue, TScalar > | end () const |
Returns an iterator accessing tabulated values. More... | |
Size | size () const |
Returns the number of tabulated value. More... | |
Interval | getRange () const |
Returns the definition interval of the function. More... | |
Lut | derivative () const |
Computes the derivative of the function. More... | |
Lut | integral (const Float x0, const Float y0) const |
Computes the indefinite integral of the function. More... | |
Public Member Functions inherited from Noncopyable | |
Noncopyable ()=default | |
Noncopyable (const Noncopyable &)=delete | |
Noncopyable (Noncopyable &&)=default | |
Noncopyable & | operator= (const Noncopyable &)=delete |
Noncopyable & | operator= (Noncopyable &&)=default |
Callable representing a generic R->T function, approximated using look-up table.
|
inline |
|
inline |