Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2001
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2001

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

Search the Archive

Reply: a couple of gripes

  • To: mathgroup at smc.vnet.net
  • Subject: [mg29761] Reply: [mg29751] a couple of gripes
  • From: "Abhijit Borah" <abhijitborah at beer.com>
  • Date: Sun, 8 Jul 2001 01:00:06 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

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 ?