![]() |
User Manual, Developers Guide and API Documentation |
![]() |
#include <NLinear.hpp>


Public Types | |
| typedef std::list< CoordType > | CoordList |
| typedef SuperType::CoordType | CoordType |
| typedef SuperType::DiscreteContainer | DiscreteContainer |
| typedef DiscreteContainer::IndexType | IndexType |
| The type of indexes in the [] operator. | |
| typedef SuperType::InitType | InitType |
| typedef SuperType::ValueType | ValueType |
| The type of the values that are accessed. | |
Public Member Functions | |
| NLinear (const DiscreteContainer &discreteValues, const void *const universe=0, CoordList *const coords=0) | |
| virtual ValueType | operator[] (const CoordType &coord) const |
| virtual | ~NLinear () |
Private Types | |
| typedef std::list< IndexType > | IndexList |
| typedef Interpolation< T, 1 > | SuperType |
| typedef Interpolation< T, M > ::DiscreteContainer | UniverseType |
| Type of the container passed to the top recursion level template. | |
Private Member Functions | |
| ValueType | interpolate (const CoordList &coords, const IndexList &indices=IndexList()) const |
| Perform linear interpolation with coords. | |
Private Attributes | |
| CoordList *const | coords |
| const bool | deleteCoords |
| const void *const | universe |
Definition at line 197 of file NLinear.hpp.
| typedef std::list<CoordType> wns::wns::NLinear< T, 1, M >::CoordList |
Definition at line 207 of file NLinear.hpp.
| typedef SuperType::CoordType wns::wns::NLinear< T, 1, M >::CoordType |
| typedef SuperType::DiscreteContainer wns::wns::NLinear< T, 1, M >::DiscreteContainer |
typedef std::list<IndexType> wns::wns::NLinear< T, 1, M >::IndexList [private] |
Definition at line 239 of file NLinear.hpp.
| typedef DiscreteContainer::IndexType wns::wns::NLinear< T, 1, M >::IndexType |
Reimplemented from wns::container::MultiReadAccessible< T, N, R, I >.
Definition at line 205 of file NLinear.hpp.
| typedef SuperType::InitType wns::wns::NLinear< T, 1, M >::InitType |
typedef Interpolation<T, 1> wns::wns::NLinear< T, 1, M >::SuperType [private] |
typedef Interpolation<T, M>::DiscreteContainer wns::wns::NLinear< T, 1, M >::UniverseType [private] |
For internal use only.
The original value of N is passed down by M for this.
Definition at line 238 of file NLinear.hpp.
| typedef SuperType::ValueType wns::wns::NLinear< T, 1, M >::ValueType |
| virtual wns::wns::NLinear< T, 1, M >::~NLinear | ( | ) | [inline, virtual] |
Definition at line 218 of file NLinear.hpp.
| ValueType wns::wns::NLinear< T, 1, M >::interpolate | ( | const CoordList & | coords, | |
| const IndexList & | indices = IndexList() | |||
| ) | const [inline, private] |
For internal use only.
| coords | (in) List of the coords to interpolate with. | |
| indices | (in) Internal list of indices to access. |
floor resp. ceil of the removed coordinate. The returned values are then interpolated. If coords is empty, interpolate accesses the discreteContainer (*universe) with the indices list and returns that value.
Definition at line 263 of file NLinear.hpp.
| wns::wns::NLinear< T, 1, M >::NLinear | ( | const DiscreteContainer & | discreteValues, | |
| const void *const | universe = 0, |
|||
| CoordList *const | coords = 0 | |||
| ) | [inline] |
Definition at line 209 of file NLinear.hpp.
| virtual ValueType wns::wns::NLinear< T, 1, M >::operator[] | ( | const CoordType & | coord | ) | const [inline, virtual] |
Definition at line 223 of file NLinear.hpp.
CoordList* const wns::wns::NLinear< T, 1, M >::coords [private] |
Definition at line 242 of file NLinear.hpp.
const bool wns::wns::NLinear< T, 1, M >::deleteCoords [private] |
Definition at line 243 of file NLinear.hpp.
const void* const wns::wns::NLinear< T, 1, M >::universe [private] |
Definition at line 241 of file NLinear.hpp.
1.5.5