Template Struct Approx

Struct Documentation

template<int radius = 5, int offset = 0, int pieces = 10>
struct Approx

Public Functions

template<typename Function>
Approx(const Function &function)
HOST_DEVICE_INLINE int marian::functional::Approx::index(float x) const
HOST_DEVICE_INLINE float marian::functional::Approx::domain(int i) const
HOST_DEVICE_INLINE float marian::functional::Approx::operator()(float x) const
HOST_DEVICE_INLINE float marian::functional::Approx::grad(float x) const

Public Members

template<>
float a[pieces + 2]
template<>
float b[pieces + 2]