Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #6211

Re: Bug in FourierTransform?

From Daniel Lichtblau <danl@wolfram.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Bug in FourierTransform?
Date 2011-11-05 09:56 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j9318g$ad6$1@smc.vnet.net> (permalink)
References <201111041101.GAA29219@smc.vnet.net>

Show all headers | View raw


On 11/04/2011 06:01 AM, Rui wrote:
> Is there anything about Slot that I don't know that explains this behaviour?
>
> FourierTransform[Sin[t], t, #]
> Out= 0
>
> Only by changing # to p I get the correct result
> FourierTransform[Sin[t], t, p]
> Out= (-I)*Pi*DiracDelta[1 - 2*p*Pi] + I*Pi*DiracDelta[1 + 2*p*Pi]
>
> It happens with Cos too, but not for imaginary exopnentials or other simpel functions like UnitBox
> Bug?
>

It's a limitation-- I would definitely not regard it as a bug. It arises 
from the fact that some parts of FourierTransform use pure functions in 
their implementation. The Slot[] argument can, in such cases, be 
"captured" in the scope of a pure function, thus completely changing the 
computation.

Daniel Lichtblau
Wolfram Research

Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Re: Bug in FourierTransform? Daniel Lichtblau <danl@wolfram.com> - 2011-11-05 09:56 +0000
  Re: Bug in FourierTransform? Rui <rui.rojo@gmail.com> - 2011-11-06 10:55 +0000

csiph-web