MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

Reply: a couple of gripes


Joshua,

---- Begin Included Message ----
 From: "Joshua A. Solomon" 
To: mathgroup at smc.vnet.net
... ...

When I evaluate 
Integrate[f[x]*If[x==y,1,0],{x,-Infinity,Infinity}]
I don't get 
f[y].
----------------------------------


As an alternative solution to the 1st part of your problem you may try "Integrate[f[x]*DiracDelta[x-y],{x,-Infinity,Infinity}]" in Mathematica 4, but in Mathematica 3.0 you have to load "<<Calculus`DiracDelta`" first.

Abhijit


n' ol' guzzler
Beer Mail, brought to you by your friends at beer.com.


  • Prev by Date: Re: Re: Program crash
  • Next by Date: Re: Voronoy Diagrams ?
  • Previous by thread: Re: Rotating tick marks
  • Next by thread: Re: Voronoy Diagrams ?