Rosetta 3.3
Namespaces | Functions
src/numeric/interpolation/periodic_range/periodic_value/full/interpolation.hh File Reference

Interpolation of periodic values over periodic range points at full bin width multiples. More...

#include <numeric/numeric.functions.hh>
#include <numeric/NumericTraits.hh>
#include <numeric/interpolation/interpolation.hh>
#include <cassert>
#include <cmath>

Namespaces

namespace  numeric
 

A 1D histogram based upon a map structure.


namespace  numeric::interpolation
namespace  numeric::interpolation::periodic_range
namespace  numeric::interpolation::periodic_range::periodic_value
namespace  numeric::interpolation::periodic_range::periodic_value::full

Functions

template<typename X >
ssize_t numeric::interpolation::periodic_range::periodic_value::full::bin (X const &x, X const &w, ssize_t const n)
 Periodic interpolation bin number of a value.
template<typename X >
ssize_t numeric::interpolation::periodic_range::periodic_value::full::bin (X const &x, X const &w, ssize_t const n, X &a)
 Periodic interpolation bin number of a value.
template<typename F >
numeric::interpolation::periodic_range::periodic_value::full::nearest_periodic_value (F const &a, F const &b, F const &p)
 Nearest periodic value.
template<typename X , typename F , template< typename > class A>
numeric::interpolation::periodic_range::periodic_value::full::interpolated (X const &x, X const &w, ssize_t const n, A< F > const &f, F const &p)
 Periodic linearly interpolated value.
template<typename X , typename F , template< typename > class A>
numeric::interpolation::periodic_range::periodic_value::full::interpolated (ssize_t const l, X const &a, ssize_t const n, A< F > const &f, F const &p)
 Periodic linearly interpolated value given the bin and alpha fraction.
template<typename X , typename F , template< typename > class A>
numeric::interpolation::periodic_range::periodic_value::full::bilinearly_interpolated (X const &x1, X const &x2, X const &w, ssize_t const n, A< F > const &f, F const &p)
 Periodic bilinearly interpolated value.
template<typename X , typename F , template< typename > class A>
numeric::interpolation::periodic_range::periodic_value::full::bilinearly_interpolated (ssize_t const l1, ssize_t const l2, X const &a1, X const &a2, ssize_t const n, A< F > const &f, F const &p)
 Periodic bilinearly interpolated value given the bins and alpha fractions.
template<typename X , typename F , template< typename > class A>
numeric::interpolation::periodic_range::periodic_value::full::bilinearly_interpolated (X const &x1, X const &x2, X const &w, ssize_t const n, A< F > const &f, F const &p, F &df_dx1, F &df_dx2)
 Periodic bilinearly interpolated value and derivatives.
template<typename X , typename F , template< typename > class A>
numeric::interpolation::periodic_range::periodic_value::full::bilinearly_interpolated (ssize_t const l1, ssize_t const l2, X const &a1, X const &a2, X const &w, ssize_t const n, A< F > const &f, F const &p, F &df_dx1, F &df_dx2)
 Periodic bilinearly interpolated value and derivatives given the bins and alpha fractions.

Detailed Description

Interpolation of periodic values over periodic range points at full bin width multiples.

Author:
Stuart G. Mentzer (Stuart_Mentzer@objexx.com)
Remarks:
  • For interpolation into arrays with values at { 0, w, 2w, ... } for bin width w
  • Bins are numbered from 0,...,n-1 and range from [ (bin)w, (bin+1)w ]
  • Bin number the lower index in the interpolated arrays
array values at 0 w 2w ... (n-2)w (n-1)w bin number | 0 | 1 | ... | n-1 | array index 0 1 2 ... n-2 n-1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines