![]() |
Rosetta
2019.12
|
Interpolation functions. More...
#include <numeric/numeric.functions.hh>
#include <numeric/NumericTraits.hh>
#include <numeric/MathNTensor.hh>
#include <utility/assert.hh>
#include <utility/fixedsizearray1.hh>
#include <cmath>
Namespaces | |
numeric | |
Unit headers. | |
numeric::interpolation | |
Functions | |
template<typename X , typename F > | |
F | numeric::interpolation::interpolated (X const &x, X const &x1, X const &x2, F const &f1, F const &f2) |
Linearly interpolated value: f( x ) More... | |
template<typename X , typename F > | |
F | numeric::interpolation::interpolated (X const &a, F const &f1, F const &f2) |
Linearly interpolated value: f( x ) More... | |
template<typename X , typename F > | |
F | numeric::interpolation::interpolated_delta (X const &a, F const &f1, F const &f2) |
Linearly interpolated delta value: f( x ) - f1. More... | |
template<typename X , typename Y , typename F > | |
F | numeric::interpolation::bilinearly_interpolated (X const &x, X const &x1, X const &x2, Y const &y, Y const &y1, Y const &y2, F const &f11, F const &f12, F const &f21, F const &f22) |
Bilinearly interpolated value: f( x, y ) More... | |
template<typename X , typename Y , typename F > | |
F | numeric::interpolation::bilinearly_interpolated (X const &ax, Y const &ay, F const &f11, F const &f12, F const &f21, F const &f22) |
Bilinearly interpolated value. More... | |
template<typename X , typename Y , typename F > | |
F | numeric::interpolation::bilinearly_interpolated (X const &ax, Y const &ay, X const &bx, Y const &by, F const &f11, F const &f12, F const &f21, F const &f22) |
Bilinearly interpolated value. More... | |
template<typename T , numeric::Size N> | |
Real | numeric::interpolation::multilinear_interpolation (MathNTensor< T, N > const &tensor, utility::fixedsizearray1< Real, N > const &minval, utility::fixedsizearray1< Real, N > const &binwidth, utility::fixedsizearray1< Real, N > const &xs, utility::fixedsizearray1< Real, N > &deriv, bool const &compute_deriv=true) |
Perform multilinear interpolation over an N-dimensional tensor, with derivatives. More... | |
template<typename T , numeric::Size N> | |
numeric::Real | numeric::interpolation::multilinear_interpolation (numeric::MathNTensor< T, N > const &tensor, utility::fixedsizearray1< numeric::Real, N > const &minval, utility::fixedsizearray1< numeric::Real, N > const &binwidth, utility::fixedsizearray1< numeric::Real, N > const &xs) |
Perform multilinear interpolation over an N-dimensional tensor (without derivative computation) More... | |
template<Size N> | |
void | numeric::interpolation::polycubic_interpolation (utility::fixedsizearray1< utility::fixedsizearray1< Real,(1<< N) >,(1<< N) > n_derivs, utility::fixedsizearray1< Real, N > dbbp, utility::fixedsizearray1< Real, N > binwbb, Real &val, utility::fixedsizearray1< Real, N > &dvaldbb) |
Perform cubic interpolation over each of N axes, using the 2^N derivatives at 2^N gridpoints. More... | |
Interpolation functions.