ape  0.5.0
Audio Programming Environment
Namespaces | Functions
interpolation.h File Reference
#include <cmath>
#include <utility>
#include "dsp.h"

Go to the source code of this file.

Namespaces

 ape
 
 ape::detail
 

Functions

template<typename T , typename Signal >
ape::lanczosFilter (const Signal &s, double x, long long wsize)
 Do lanczos interpolation at a specific point in a signal. More...
 
template<typename T , typename Signal >
ape::sincFilter (const Signal &s, double x, long long wsize)
 Do sinc interpolation at a specific point in a signal. More...
 
template<typename T >
const T ape::hermite4 (const T offset, const T ym1, const T y0, const T y1, const T y2)
 Do hermite 4 interpolation given the four y-coordinates More...
 
template<typename T , typename Signal >
const T ape::hermite4 (const Signal &s, const T x)
 Do hermite 4 interpolation at a specific point in a signal. More...
 
template<typename T >
const T ape::linear (const T offset, const T y0, const T y1)
 Do simple linear interpolation between two points. More...
 
template<typename T , typename Signal >
const T ape::linear (const Signal &s, const T x)
 Do simple linear interpolation at a specific point in a signal. More...
 
template<typename T , std::size_t Order, typename Signal , std::size_t... I>
const T ape::detail::lagrange_unpack (const Signal &s, long long start, const T offset, std::index_sequence< I... > indices) noexcept
 
template<typename T , std::size_t Order, typename Signal >
const T ape::lagrange (const Signal &s, const T position) noexcept
 Do lagrange interpolation at a specific point in a signal, of Order order.

See also
lagrange5
More...
 
template<typename T >
const T ape::lagrange5 (const T offset, const T ym2, const T ym1, const T y0, const T y1, const T y2)
 Do lagrange interpolation between the y parameters, with 5 terms. More...