Re: Writing our own low level m-file



You apparently want the poster to do the Fourier integral by finding
all the poles in the complex plane (or at least in half of it) by your
favorite method (Ivansson's) and using the residue theorem. This is a
reasonable approach if the function is analytic everywhere except for
certain known types of singularities), but since the OP was talking
about "discretizing the integral" as his first step, it seemed to
imply that his function is compactly supported or (equivalently) his
integral is over a finite domain, in which case integration via the
residue theorem is not really an option.

(Later on, the poster started talking about integrating from -infty to
+infty, so maybe you are right and he has an analytic integral over
the whole real line, in which case it is truly bizarre that he would
be talking about FFTs or discretizing the integral in the first
place.)

Sorry I reacted badly to your post, but I saw red when you seemed to
be suggesting that, as soon as an integrand has poles anywhere, you
have to start worrying about contour integrations and branch cuts, or
that you would have to use adaptive winding-number schemes to find all
of the roots (/ poles). Ordinary numerical quadrature deals with
poles (off the real axis) just fine, with exponential accuracy if you
use a good quadrature scheme, and indeed you can't effectively use
contour-integration methods (except for asymptotic approximations) for
integrals over finite domains on the real axis (which is what I
thought the context here was).

Steven
.



Relevant Pages

  • Re: help with computation of a specific a definite integral via residuetheorem
    ... the lower path along the real axis can be found by ... > subtracting an upper half-circle from a closed contour, ... > the problem is that the integration on the half-circle goes to infinity ... is there are poles on the real axis, at z = +b and -b. ...
    (sci.math.num-analysis)
  • Re: Renormalization
    ... Igor Khavkine wrote: ... increases in magnitude as the variable of integration approaches ... Obviously the integral is divergent. ... except for possible poles at integer values of d. ...
    (sci.physics.research)
  • Re: Avoiding Poles in the Complex Plane
    ... initial conditions at exactly one point, z0, of the complex plane. ... complex plane is covered with an infinite lattice of simple poles, ... which includes some of the poles. ... by stopping the integration and inserting a dog leg when necessary. ...
    (sci.math.num-analysis)
  • Re: Cauchy integral thm apply here?
    ... It diverges, right? ... locally), so those poles are poles, ... The other difficulty will be the path of integration. ... "Understanding Godel isn't about following his formal proof. ...
    (sci.math)
  • Re: Please explain this complex integral
    ... is the poster allowed to use this as a legitimate ... what definition of integration is the ... Assuming legitimacy of +infinity as a value, ... if we replace the inf and sup over the closed intervals [x_ ...
    (sci.math)