1 #ifndef WIENERINTERPOLATOR_H_
2 #define WIENERINTERPOLATOR_H_
3 #include <boost/numeric/ublas/matrix.hpp>
4 #include <boost/numeric/ublas/vector.hpp>
35 AdaptFilter(
const gplib::rvec &Input,
const gplib::rvec &Desired);
const gplib::rvec & GetWeights()
Return the current set of weights.
WienerInterpolator(const int filterlength)
The constructor needs to know the filterlength.
double GetXms() const
Return the prediction error.
gplib::rvec CalcCoefficients(const gplib::rvec &Input)
A more convenient method to get the prediction coefficients, but unique to this class.
Base class for least squares filter with a single output value.
virtual void AdaptFilter(const gplib::rvec &Input, const gplib::rvec &Desired)
Calculate the prediction coefficients, the contents of Desired are ignored, this function has to be i...
virtual ~WienerInterpolator()