Rosetta  2019.07
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
numeric::interpolation::periodic_range::half Namespace Reference

Functions

template<typename X >
platform::SSize bin (X const &x, X const &w, platform::SSize const n)
 Periodic interpolation bin number of a value. More...
 
template<typename X >
platform::SSize bin (X const &x, X const &w, platform::SSize const n, X &a)
 Periodic interpolation bin number of a value. More...
 
template<typename X , typename F , template< typename > class A>
interpolated (X const &x, X const &w, platform::SSize const n, A< F > const &f)
 Periodic linearly interpolated value. More...
 
template<typename X , typename F , template< typename > class A>
interpolated (platform::SSize const u, X const &a, platform::SSize const n, A< F > const &f)
 Periodic linearly interpolated value given the bin and alpha fraction. More...
 
template<typename X , typename F , template< typename > class A>
bilinearly_interpolated (X const &x1, X const &x2, X const &w, platform::SSize const n, A< F > const &f)
 Periodic bilinearly interpolated value. More...
 
template<typename X , typename F , template< typename > class A>
bilinearly_interpolated (platform::SSize const u1, platform::SSize const u2, X const &a1, X const &a2, platform::SSize const n, A< F > const &f)
 Periodic bilinearly interpolated value given the bins and alpha fractions. More...
 
template<typename X , typename F , template< typename > class A>
bilinearly_interpolated (X const &x1, X const &x2, X const &w, platform::SSize const n, A< F > const &f, F &df_dx1, F &df_dx2)
 Periodic bilinearly interpolated value and derivatives. More...
 
template<typename X , typename F , template< typename > class A>
bilinearly_interpolated (platform::SSize const u1, platform::SSize const u2, X const &a1, X const &a2, X const &w, platform::SSize const n, A< F > const &f, F &df_dx1, F &df_dx2)
 Periodic bilinearly interpolated value and derivatives given the bins and alpha fractions. More...
 

Function Documentation

template<typename X , typename F , template< typename > class A>
F numeric::interpolation::periodic_range::half::bilinearly_interpolated ( X const &  x1,
X const &  x2,
X const &  w,
platform::SSize const  n,
A< F > const &  f 
)
inline
template<typename X , typename F , template< typename > class A>
F numeric::interpolation::periodic_range::half::bilinearly_interpolated ( platform::SSize const  u1,
platform::SSize const  u2,
X const &  a1,
X const &  a2,
platform::SSize const  n,
A< F > const &  f 
)
inline

Periodic bilinearly interpolated value given the bins and alpha fractions.

References demo.D060_Folding::f, test.G201_Module_Structure::l1, numeric::modulo(), and ObjexxFCL::format::X().

template<typename X , typename F , template< typename > class A>
F numeric::interpolation::periodic_range::half::bilinearly_interpolated ( X const &  x1,
X const &  x2,
X const &  w,
platform::SSize const  n,
A< F > const &  f,
F &  df_dx1,
F &  df_dx2 
)
inline
template<typename X , typename F , template< typename > class A>
F numeric::interpolation::periodic_range::half::bilinearly_interpolated ( platform::SSize const  u1,
platform::SSize const  u2,
X const &  a1,
X const &  a2,
X const &  w,
platform::SSize const  n,
A< F > const &  f,
F &  df_dx1,
F &  df_dx2 
)
inline

Periodic bilinearly interpolated value and derivatives given the bins and alpha fractions.

References ObjexxFCL::format::F(), demo.D060_Folding::f, test.G201_Module_Structure::l1, numeric::modulo(), and ObjexxFCL::format::X().

template<typename X >
platform::SSize numeric::interpolation::periodic_range::half::bin ( X const &  x,
X const &  w,
platform::SSize const  n 
)
inline

Periodic interpolation bin number of a value.

References numeric::modulo(), numeric::nearest_ssize(), and ObjexxFCL::format::X().

Referenced by bilinearly_interpolated(), and interpolated().

template<typename X >
platform::SSize numeric::interpolation::periodic_range::half::bin ( X const &  x,
X const &  w,
platform::SSize const  n,
X a 
)
inline

Periodic interpolation bin number of a value.

References numeric::modulo(), numeric::nearest_ssize(), and ObjexxFCL::format::X().

Referenced by numeric::interpolation::multilinear_interpolation().

template<typename X , typename F , template< typename > class A>
F numeric::interpolation::periodic_range::half::interpolated ( X const &  x,
X const &  w,
platform::SSize const  n,
A< F > const &  f 
)
inline
template<typename X , typename F , template< typename > class A>
F numeric::interpolation::periodic_range::half::interpolated ( platform::SSize const  u,
X const &  a,
platform::SSize const  n,
A< F > const &  f 
)
inline

Periodic linearly interpolated value given the bin and alpha fraction.

References demo.D060_Folding::f, numeric::interpolation::interpolated(), basic::options::OptionKeys::in::file::l, numeric::modulo(), and ObjexxFCL::format::X().