Calculate the integral of an oscillatory function over the
finite interval (a,b).
Use this to calculate the integral of f(x)*cos(omega*x)
or f(x)*sin(omega*x)
where f(x) is the (possibly singular) user-specified function
and omega is a known constant. The weight function is specified
by setting weight to Oscillation.cos or Oscillation.sin.
The rule evaluation component is based on the modified
Clenshaw–Curtis technique.
An adaptive subdivision scheme is used in connection with
an extrapolation procedure, which is a modification of that in
integrateQAGS() and allows the algorithm to deal with
singularities in f(x).
Calculate the integral of an oscillatory function over the finite interval (a,b).
Use this to calculate the integral of f(x)*cos(omega*x) or f(x)*sin(omega*x) where f(x) is the (possibly singular) user-specified function and omega is a known constant. The weight function is specified by setting weight to Oscillation.cos or Oscillation.sin.
The rule evaluation component is based on the modified Clenshaw–Curtis technique. An adaptive subdivision scheme is used in connection with an extrapolation procedure, which is a modification of that in integrateQAGS() and allows the algorithm to deal with singularities in f(x).