20#ifndef INCLUDED_VCL_RESAMPLEKERNEL_HXX
21#define INCLUDED_VCL_RESAMPLEKERNEL_HXX
23#include <boost/math/special_functions/sinc.hpp>
44 virtual double GetWidth()
const override {
return 3.0; }
61 typedef boost::math::policies::policy<
62 boost::math::policies::promote_double<false> >
SincPolicy;
71 virtual double GetWidth()
const override {
return 2.0; }
81 return (1.5 *
x - 2.5) *
x *
x + 1.0;
85 return ((-0.5 *
x + 2.5) *
x - 4) *
x + 2;
97 virtual double GetWidth()
const override {
return 1.0; }
virtual double GetWidth() const override
virtual double Calculate(double x) const override
virtual double GetWidth() const override
virtual double Calculate(double x) const override
virtual double GetWidth() const =0
virtual double Calculate(double x) const =0
static double SincFilter(double x)
virtual double GetWidth() const override
virtual double Calculate(double x) const override
boost::math::policies::policy< boost::math::policies::promote_double< false > > SincPolicy