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

# interpol::SplineInterpolation Class Reference

`#include <Interpol.h>`

Inheritance diagram for interpol::SplineInterpolation:

[legend]
Collaboration diagram for interpol::SplineInterpolation:

[legend]
List of all members.

## Public Member Functions
virtual double | GetInterpolatedY (double x) const
virtual InterpolationFactory::Type | GetType () const
## Protected Member Functions
| SplineInterpolation ()
virtual | ~SplineInterpolation ()
virtual void | OnChange ()
## Private Member Functions
virtual void | CalcSplines ()
## Private Attributes
LA::Vector | x
LA::Vector | y
LA::Vector | a
LA::Vector | b
LA::Vector | c
LA::Vector | d
## Friends
class | InterpolationFactory

## Constructor & Destructor Documentation

interpol::SplineInterpolation::SplineInterpolation | ( |  | ) | `[protected]`

| Definition at line 250 of file Interpol.cpp.

interpol::SplineInterpolation::~SplineInterpolation | ( |  | ) | `[protected, virtual]`

| Definition at line 255 of file Interpol.cpp.

## Member Function Documentation

double interpol::SplineInterpolation::GetInterpolatedY | ( | double | x | ) | const`[virtual]`

| Implements interpol::Interpolation. Definition at line 259 of file Interpol.cpp. References a, b, c, d, LA::Vector::dim(), x, and y.

Here is the call graph for this function:

InterpolationFactory::Type interpol::SplineInterpolation::GetType | ( |  | ) | const`[virtual]`

| Implements interpol::Interpolation. Definition at line 283 of file Interpol.cpp.

void interpol::SplineInterpolation::OnChange | ( |  | ) | `[protected, virtual]`

| Reimplemented from interpol::Interpolation. Definition at line 288 of file Interpol.cpp. References CalcSplines().

Here is the call graph for this function:

void interpol::SplineInterpolation::CalcSplines | ( |  | ) | `[private, virtual]`

| Definition at line 293 of file Interpol.cpp. References a, b, c, LA::Vector::create(), d, LA::Vector::dim(), LA::Vector::set_sub(), and LA::Matrix::solve(). Referenced by OnChange().

Here is the call graph for this function:

## Friends And Related Function Documentation

friend class InterpolationFactory`[friend]`

| Reimplemented from interpol::Interpolation. Definition at line 131 of file Interpol.h.

## Member Data Documentation

LA::Vector interpol::SplineInterpolation::x`[private]`

| Definition at line 124 of file Interpol.h. Referenced by GetInterpolatedY().

LA::Vector interpol::SplineInterpolation::y`[private]`

| Definition at line 125 of file Interpol.h. Referenced by GetInterpolatedY().

LA::Vector interpol::SplineInterpolation::a`[private]`

| Definition at line 126 of file Interpol.h. Referenced by CalcSplines(), and GetInterpolatedY().

LA::Vector interpol::SplineInterpolation::b`[private]`

| Definition at line 127 of file Interpol.h. Referenced by CalcSplines(), and GetInterpolatedY().

LA::Vector interpol::SplineInterpolation::c`[private]`

| Definition at line 128 of file Interpol.h. Referenced by CalcSplines(), and GetInterpolatedY().

LA::Vector interpol::SplineInterpolation::d`[private]`

| Definition at line 129 of file Interpol.h. Referenced by CalcSplines(), and GetInterpolatedY().

The documentation for this class was generated from the following files:

- Tools/Math/Interpol.h
- Tools/Math/Interpol.cpp