23 std::copy(Weights.begin(), Weights.end(),
24 std::ostream_iterator<double>(output,
" "));
32 Output(0) = ublas::prec_inner_prod(Input, Weights);
virtual void PrintWeights(std::ostream &output)
Print the weights to output stream.
const int maxoutputchannels
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.
void SetOutput(const gplib::rvec &Out)
Possibility for derived classes to set output.
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...