Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Enumerations | Functions
polycubic_catmull_rom.hh File Reference
#include <utility/fixedsizearray1.hh>
#include <utility/modulo.hh>
#include <numeric/MathNTensor.hh>
#include <cmath>

Classes

struct  numeric::interpolation::TempStruct< T, N >
 
struct  numeric::interpolation::TempStruct< T, 1 >
 

Namespaces

 numeric
 Unit headers.
 
 numeric::interpolation
 

Enumerations

enum  numeric::interpolation::CatmullRomSplineBoundaryType { numeric::interpolation::PERIODIC, numeric::interpolation::FLAT, numeric::interpolation::LINEAR }
 

Functions

std::string numeric::interpolation::to_string (CatmullRomSplineBoundaryType const &type)
 
template<typename T >
T numeric::interpolation::catmull_rom_interpolate_basic (utility::fixedsizearray1< T, 4 > const &p, Real const &x, Real &dval_dx, utility::fixedsizearray1< T, 4 > &dval_dp, bool const compute_deriv=true)
 
template<typename T >
T numeric::interpolation::catmull_rom_interpolate_basic (utility::fixedsizearray1< T, 4 > const &p, T const &x, T &dval_dx, bool const compute_deriv=true)
 
template<typename T >
T numeric::interpolation::catmull_rom_interpolate_basic (utility::fixedsizearray1< T, 4 > const &p, T const &x)
 
template<typename T , numeric::Size N>
T numeric::interpolation::catmull_rom_interpolate (utility::fixedsizearray1< T, 1<< (2 *N) > const &F_patch, utility::fixedsizearray1< T, N > const &d, utility::fixedsizearray1< T, N > &deriv, bool const compute_deriv)
 
template<typename T , numeric::Size N>
T numeric::interpolation::get_val (MathNTensor< T, N > const &F, utility::fixedsizearray1< int, N > &idx, utility::fixedsizearray1< CatmullRomSplineBoundaryType, N > const &boundary, Size const which_dim)
 
template<typename T , numeric::Size N>
void numeric::interpolation::get_patch (utility::fixedsizearray1< T, 1<< (2 *N) > &F_patch, utility::fixedsizearray1< Real, N > &d, MathNTensor< T, N > const &F, utility::fixedsizearray1< Real, N > const &minval, utility::fixedsizearray1< Real, N > const &binwidth, utility::fixedsizearray1< Real, N > const &xs, utility::fixedsizearray1< CatmullRomSplineBoundaryType, N > const &boundary)
 
template<typename T , numeric::Size N>
T numeric::interpolation::polycubic_interpolate_catmull_rom (MathNTensor< T, N > const &F, utility::fixedsizearray1< Real, N > const &minval, utility::fixedsizearray1< Real, N > const &binwidth, utility::fixedsizearray1< Real, N > const &xs, utility::fixedsizearray1< CatmullRomSplineBoundaryType, N > const &boundary, utility::fixedsizearray1< Real, N > &deriv, bool const &compute_deriv=true)
 Catmull-Rom spline interpolation of an N-dimensional tensor defined on a equispaced grid. More...
 
template<typename T , numeric::Size N>
T numeric::interpolation::polycubic_interpolate_catmull_rom (MathNTensor< T, N > const &F, utility::fixedsizearray1< Real, N > const &minval, utility::fixedsizearray1< Real, N > const &binwidth, utility::fixedsizearray1< Real, N > const &xs, utility::fixedsizearray1< CatmullRomSplineBoundaryType, N > const &boundary)
 Catmull-Rom spline interpolation of an N-dimensional tensor defined on a equispaced grid, without derivative computation. More...