Waveform filter programs
◆
specconv()
FourierProcessor::Tspectrum
specconv
(
const FourierProcessor::Tspectrum::Tcoc &
sref
,
const FourierProcessor::Tspectrum::Tcoc &
ssig
)
Definition at line
229
of file
cross.cc
.
Referenced by
main()
.
231
{
232
TFXX_assert(sref.size() == ssig.size(),
233
"inconsistent sets of coefficients"
);
234
FourierProcessor::Tspectrum
result(sref.size());
235
result=
FourierProcessor::Tspectrum::Tvalue
(0.);
236
aff::Browser<FourierProcessor::Tspectrum::Tcoc> BR(sref);
237
aff::Browser<FourierProcessor::Tspectrum::Tcoc> BD(ssig);
238
aff::Iterator<FourierProcessor::Tspectrum> IR(result);
239
while
(BR.valid() && BD.valid() && IR.valid())
240
{
241
(*IR) = ((*BR) * (*BD));
242
++IR;
243
++BR;
244
++BD;
245
}
246
return
(result);
247
}
// FourierProcessor::Tspectrum
FourierProcessor::Tspectrum
Tfft::Tspectrum Tspectrum
type of Fourier coefficient data
Definition:
cross.cc:95
Tvalue
double Tvalue
Definition:
fidasexx.cc:136
Here is the caller graph for this function:
cross.cc
Generated on Mon Aug 21 2023 17:36:35 for Waveform filter programs by
1.8.14