Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

InterpolatorLinear Class Reference

#include <Interpolator.h>

Inheritance diagram for InterpolatorLinear:

Inheritance graph
[legend]
Collaboration diagram for InterpolatorLinear:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 InterpolatorLinear (unsigned int dim, unsigned int num_samples=2)
void Eval (float t, T *value)

Detailed Description

Linear interpolation between 2 samples S_i and S_i+1, where t is in [t_i, t_i+1) or in (t_i, t_i+1]


Constructor & Destructor Documentation

InterpolatorLinear::InterpolatorLinear unsigned int  dim,
unsigned int  num_samples = 2
[inline]
 

Constructor: num_samples must be >= 2


Member Function Documentation

void InterpolatorLinear::Eval float  t,
T *  value
[inline, virtual]
 

Evaluates the function in t using the specific interpolation method (defined in a subclass).

Implements Interpolator.


The documentation for this class was generated from the following file:
Generated on Tue Aug 10 15:58:30 2004 for Saphyre2 by doxygen 1.3.5