34 #define TF_POLESNZEROES_CC_VERSION \ 35 "TF_POLESNZEROES_CC V1.0 " 55 {
Mpoles.push_back(pole); }
67 {
Mpoles.push_back(zero); }
94 const double waterlevel=1.e-30;
95 Tcvalue om = std::abs(omega) > waterlevel ? omega : waterlevel;
98 Tlist::const_iterator in=
Mzeroes.begin();
100 { numerator *= (om - *in); ++in; }
101 Tlist::const_iterator
id=
Mpoles.begin();
102 while (
id !=
Mpoles.end())
103 { denominator *= (om - *id); ++id; }
104 return(numerator/denominator);
poles and zeros representation (prototypes)
void numfactor(const Tcvalue &factor)
void denfactor(const Tcvalue &factor)
Tcvalue operator()(const double &omega) const
void setpole(const Tcvalue &pole)
void setzero(const Tcvalue &zero)
std::complex< double > Tcvalue