Fourier library: Operations in the Fourier domain
◆
fill()
void fill
(
Tseries
&
a
,
int
n
,
int
m
)
Definition at line
51
of file
cxxfftwtest.cc
.
Referenced by
process()
.
52
{
53
a=
Tseries
(n);
54
int
k;
55
double
f1, f2;
56
f1=3.141592653589/n;
57
f2=f1*m*2;
58
/* fill input array */
59
for
(k=0; k<n; ++k)
60
{
61
a(a.f()+k)=sin(k*f1)*sin(k*f1)*sin(k*f2);
62
}
63
cout <<
"array filled"
<< endl;
64
}
Tseries
DRFFTWAFF::Tseries Tseries
Definition:
cxxfftwtest.cc:48
Here is the caller graph for this function:
cxxfftwtest.cc
Generated on Mon Aug 21 2023 17:36:23 for Fourier library: Operations in the Fourier domain by
1.8.14