Rosetta Utilities  2014.35
Functions
numeric::interpolation::full::bin_width Namespace Reference

Functions

template<typename X >
platform::SSize l (X const &x, X const &w, X &a)
 Lower array index of interpolation bin for an independent axis value. More...
 
template<typename X , typename F , template< typename > class A>
interpolated (X const &x, X const &w, A< F > const &f)
 Linearly interpolated value from array. More...
 

Function Documentation

template<typename X , typename F , template< typename > class A>
F numeric::interpolation::full::bin_width::interpolated ( X const &  x,
X const &  w,
A< F > const &  f 
)
inline

Linearly interpolated value from array.

References numeric::interpolation::interpolated(), and l().

template<typename X >
platform::SSize numeric::interpolation::full::bin_width::l ( X const &  x,
X const &  w,
X &  a 
)
inline

Lower array index of interpolation bin for an independent axis value.

Referenced by interpolated().