28#include "boost/shared_ptr.hpp"
42 virtual void smooth(
const std::vector<double>&
x,
const std::vector<double>&
y,
43 std::vector<double>& xSmoothed, std::vector<double>& ySmoothed) = 0;
48 virtual void smooth_copy(std::vector<double>&
x, std::vector<double>&
y) = 0;
KernelTraitsBase< Kernel >::space_type::abscissa_type x
KernelTraitsBase< Kernel >::space_type::ordinate_type y
boost::shared_ptr< Smoother > SmootherPtr
interface for a one-dimensional smoothing algorithm
virtual void smooth_copy(std::vector< double > &x, std::vector< double > &y)=0
smooth y values and copy back to the input vectors; note: in the case of sparse vectors,...
virtual void smooth(const std::vector< double > &x, const std::vector< double > &y, std::vector< double > &xSmoothed, std::vector< double > &ySmoothed)=0
smooth y values to existing vectors; note: in the case of sparse vectors, smoothing may fill in sampl...