implementation for array-type of SampledFunction More...
Public Member Functions | |
| SampledFunctionImpl (const T &idxabl, int sz, float x0=0, float dx=1) | |
| RT | operator[] (int idx) const |
| float | getDx () const |
| float | getX0 () const |
| int | size () const |
| float | period () const |
| void | setPeriod (float np) |
| bool | hasUdfs () const |
| void | setHasUdfs (bool yn) |
| bool | doInterpolate () const |
| void | setInterpolate (bool yn) |
Protected Attributes | |
| const T & | idxabl_ |
| int | sz_ |
| int | firstidx_ |
| float | dx_ |
| float | x0_ |
| float | period_ |
| bool | hasudfs_ |
| bool | interpolate_ |
implementation for array-type of SampledFunction
| SampledFunctionImpl< RT, T >::SampledFunctionImpl | ( | const T & | idxabl, | |
| int | sz, | |||
| float | x0 = 0, |
|||
| float | dx = 1 | |||
| ) | [inline] |
| bool SampledFunctionImpl< RT, T >::doInterpolate | ( | ) | const [inline, virtual] |
Reimplemented from SampledFunction< RT, T >.
| float SampledFunctionImpl< RT, T >::getDx | ( | ) | const [inline, virtual] |
Implements SampledFunction< RT, T >.
| float SampledFunctionImpl< RT, T >::getX0 | ( | ) | const [inline, virtual] |
Implements SampledFunction< RT, T >.
| bool SampledFunctionImpl< RT, T >::hasUdfs | ( | ) | const [inline, virtual] |
Reimplemented from SampledFunction< RT, T >.
| RT SampledFunctionImpl< RT, T >::operator[] | ( | int | idx | ) | const [inline, virtual] |
Implements SampledFunction< RT, T >.
| float SampledFunctionImpl< RT, T >::period | ( | ) | const [inline, virtual] |
Reimplemented from SampledFunction< RT, T >.
| void SampledFunctionImpl< RT, T >::setHasUdfs | ( | bool | yn | ) | [inline] |
| void SampledFunctionImpl< RT, T >::setInterpolate | ( | bool | yn | ) | [inline] |
| void SampledFunctionImpl< RT, T >::setPeriod | ( | float | np | ) | [inline] |
| int SampledFunctionImpl< RT, T >::size | ( | ) | const [inline, virtual] |
Implements SampledFunction< RT, T >.
float SampledFunctionImpl< RT, T >::dx_ [protected] |
int SampledFunctionImpl< RT, T >::firstidx_ [protected] |
bool SampledFunctionImpl< RT, T >::hasudfs_ [protected] |
const T& SampledFunctionImpl< RT, T >::idxabl_ [protected] |
bool SampledFunctionImpl< RT, T >::interpolate_ [protected] |
float SampledFunctionImpl< RT, T >::period_ [protected] |
int SampledFunctionImpl< RT, T >::sz_ [protected] |
float SampledFunctionImpl< RT, T >::x0_ [protected] |
1.7.1