TS++ library: time series library

◆ Cosine()

ts::tapers::Cosine::Cosine ( const double &  f = 0.1)

Definition at line 148 of file tapers.cc.

References Mfrac, and TSXX_assert.

148  : Mfrac(f)
149  {
150  TSXX_assert(((0<=Mfrac) && (Mfrac<=1.)),
151  "Cosine taper fraction is outside meaningful range");
152  } // Cosine::Cosine(const double& f)
#define TSXX_assert(C, M)
Check an assertion and report by throwing an exception.
Definition: error.h:127