#include <Interpolator.h>
Inheritance diagram for InterpolatorQuadratic:
Public Member Functions | |
InterpolatorQuadratic (unsigned int dim, unsigned int num_samples=3) | |
~InterpolatorQuadratic () | |
void | Eval (float t, T *value) |
Private Attributes | |
T * | vec01 |
T * | vec12 |
Quadratic interpolation using Neville's formula to derive the code.
|
Constructor: num_samples must be >= 3 |
|
|
|
Evaluates the function in t using the specific interpolation method (defined in a subclass). Implements Interpolator. |
|
|
|
|