ReFRACtor
|
This is a specialization of LinearInterpolate for AutoDerivative. More...
#include <linear_interpolate_ad.h>
Public Types | |
enum | BehaviorOutOfRange { OUT_OF_RANGE_EXTRAPOLATE = 0, OUT_OF_RANGE_CLIP, OUT_OF_RANGE_ERROR } |
Public Member Functions | |
LinearInterpolate () | |
template<class I1 , class I2 > | |
LinearInterpolate (I1 xstart, I1 xend, I2 ystart, BehaviorOutOfRange Out_of_range=OUT_OF_RANGE_EXTRAPOLATE) | |
Constructor. More... | |
void | interpolate (const AutoDerivative< double > &x, const AutoDerivativeRef< double > &res) const |
AutoDerivative< double > | operator() (const AutoDerivative< double > &x) const |
void | print (std::ostream &Os) const |
std::string | print_to_string () const |
Print to string. More... | |
This is a specialization of LinearInterpolate for AutoDerivative.
This specialization should run faster.
Definition at line 89 of file linear_interpolate_ad.h.
enum FullPhysics::LinearInterpolate< AutoDerivative< double >, AutoDerivative< double > >::BehaviorOutOfRange |
Enumerator | |
---|---|
OUT_OF_RANGE_EXTRAPOLATE | |
OUT_OF_RANGE_CLIP | |
OUT_OF_RANGE_ERROR |
Definition at line 94 of file linear_interpolate_ad.h.
|
inline |
Definition at line 96 of file linear_interpolate_ad.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 103 of file linear_interpolate_ad.h.
|
inline |
Definition at line 188 of file linear_interpolate_ad.h.
|
inline |
Definition at line 177 of file linear_interpolate_ad.h.
|
inline |
Definition at line 245 of file linear_interpolate_ad.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.