![]() |
ReFRACtor
|
Wrapper around LinearInterpolate that uses log(x) rather than x in interpolating. More...
#include <log_interpolate.h>
Inheritance diagram for FullPhysics::LogLinearInterpolate< TX, TY >:
Collaboration diagram for FullPhysics::LogLinearInterpolate< TX, TY >:Public Types | |
| typedef LinearInterpolate< TX, TY >::BehaviorOutOfRange | BehaviorOutOfRange |
Public Member Functions | |
| LogLinearInterpolate () | |
| Constructor. More... | |
| template<class I1 , class I2 > | |
| LogLinearInterpolate (I1 xstart, I1 xend, I2 ystart, BehaviorOutOfRange Out_of_range=BehaviorOutOfRange(0)) | |
| TY | operator() (const TX &x) const |
| void | print (std::ostream &Os) const |
| std::string | print_to_string () const |
| Print to string. More... | |
Wrapper around LinearInterpolate that uses log(x) rather than x in interpolating.
Definition at line 14 of file log_interpolate.h.
| typedef LinearInterpolate<TX, TY>::BehaviorOutOfRange FullPhysics::LogLinearInterpolate< TX, TY >::BehaviorOutOfRange |
Definition at line 18 of file log_interpolate.h.
|
inline |
Constructor.
This takes iterators to give x and y, along with the behavior when called with out of range data.
Definition at line 25 of file log_interpolate.h.
|
inline |
Definition at line 31 of file log_interpolate.h.
|
inline |
Definition at line 40 of file log_interpolate.h.
|
inline |
Definition at line 44 of file log_interpolate.h.
|
inlineinherited |
Print to string.
This is primarily useful for SWIG wrappers to this class, e.g. a to_s method in ruby.
Definition at line 31 of file printable.h.