Question: integration result undefined?

when I do the integration

>int(exp(-I*x*p),x=-infinity..infinity)

the result  obtained is  "undefined  "

but, actually it equals  Dirac(p). How can I get this result?  I badly need this.

well,it's the Fourier transformation of the constant function 1, but I don't want to use the internal function fourier();

Thank you!

 

Please Wait...