Steffen's monotonicity-preserving interpolation.
More...
#include <interp.h>
template<class vec_t, class vec2_t = vec_t>
class o2scl::interp_steffen< vec_t, vec2_t >
Adapted from the GSL version by J.-F. Caron which was based on Steffen90 .
Definition at line 1059 of file interp.h.
|
typedef boost::numeric::ublas::vector< double > | ubvector |
|
typedef boost::numeric::ublas::vector_slice< ubvector > | ubvector_slice |
|
typedef boost::numeric::ublas::vector_range< ubvector > | ubvector_range |
|
typedef boost::numeric::ublas::slice | slice |
|
typedef boost::numeric::ublas::range | range |
|
|
| interp_steffen () |
| Create a base interpolation object.
|
|
virtual void | set (size_t size, const vec_t &xa, const vec2_t &ya) |
| Initialize interpolation routine.
|
|
virtual double | eval (double x0) const |
| Give the value of the function .
|
|
virtual double | deriv (double x0) const |
| Give the value of the derivative .
|
|
virtual double | deriv2 (double x0) const |
| Give the value of the second derivative .
|
|
virtual double | integ (double al, double bl) const |
| Give the value of the integral .
|
|
virtual const char * | type () const |
| Return the type, "interp_steffen" .
|
|
virtual double | operator() (double x0) const |
| Give the value of the function .
|
|
|
double | copysign (const double x, const double y) |
| Flip the sign of x if x and y have different signs.
|
|
double | integ_eval (double ai, double bi, double ci, double di, double xi, double a, double b) const |
| An internal function to assist in computing the integral for both the cspline and Akima types.
|
|
|
size_t | min_size |
| The minimum size of the vectors to interpolate between. More...
|
|
The documentation for this class was generated from the following file:
- /home/awsteiner/wcs/o2scl/src/base/interp.h