36 #ifndef TF_INNERPRODUCT_H_VERSION 38 #define TF_INNERPRODUCT_H_VERSION \ 39 "TF_INNERPRODUCT_H V1.0 " 41 #include<aff/series.h> 67 const aff::ConstSeries<T>& b)
70 long int first=(a.first() > b.first() ? a.first() : b.first());
71 long int last=(a.last() < b.last() ? a.last() : b.last());
74 for (
int i=
first; i<=last; i++)
93 T
rms(
const aff::ConstSeries<T>& a)
98 #endif // TF_INNERPRODUCT_H_VERSION (includeguard) void first(const Tseries &s)
T innerproduct(const aff::ConstSeries< T > &a, const aff::ConstSeries< T > &b)
Calculate inner product of two series.
All stuff in this library will be placed within namespace ts.
T rms(const aff::ConstSeries< T > &a)
Calculate rms value.