TS++ library: time series library

◆ apply()

template<class C >
void ts::tapers::Taper::apply ( c) const

apply taper to series container c.

inline function for template argument

Definition at line 162 of file tapers.h.

References init(), and value().

Referenced by main().

163  {
164  this->init(c.f(), c.l());
165  for (int i=c.f(); i<=c.l(); ++i)
166  { c(i) *= this->value(i); }
167  } // template<class C> void Taper::apply(C c)
virtual double value(const int &i) const =0
virtual void init(const int &f, const int &l) const =0
Here is the call graph for this function:
Here is the caller graph for this function: