32 virtual void CalcOutput(
const gplib::rvec &Input, gplib::rvec &Output);
const gplib::rvec & GetWeights()
Return the current set of weights.
virtual void PrintWeights(std::ostream &output)
Print the weights to output stream.
virtual const gplib::rvec & GetWeightsAsVector()
Implement the abstract function from adaptive filter, in this case just another name for GetWeights...
A generic base class for all types of adaptive filters.
LSSOFilter(const int filterlength)
The constructor only needs the filter length, outputsize for Adaptive filter is 1.
gplib::rvec & SetWeights()
Base class for least squares filter with a single output value.
double CalcOutput(const gplib::rvec &Input)
For single channel output we can also just return the output as a double.
virtual void CalcOutput(const gplib::rvec &Input, gplib::rvec &Output)
The way to calculate the output is the same for all single output filters, we implement it here...