23 #ifndef _SAVITZKYGOLAYSMOOTHER_HPP_
24 #define _SAVITZKYGOLAYSMOOTHER_HPP_
29 #include <boost/shared_ptr.hpp>
38 SavitzkyGolaySmoother(
int polynomialOrder,
int windowSize);
39 ~SavitzkyGolaySmoother();
44 virtual void smooth(
const std::vector<double>&
x,
const std::vector<double>&
y,
45 std::vector<double>& xSmoothed, std::vector<double>& ySmoothed);
50 virtual void smooth_copy(std::vector<double>&
x, std::vector<double>&
y);
54 boost::shared_ptr<Impl>
impl_;
61 #endif // _SAVITZKYGOLAYSMOOTHER_HPP_