Disappearing Function Definition
- To: mathgroup at smc.vnet.net
- Subject: [mg45006] Disappearing Function Definition
- From: "Scott Guthery" <sguthery at mobile-mind.com>
- Date: Fri, 12 Dec 2003 04:42:36 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Can anybody explain the following? Note that In[4] thinks for
a while and then returns with no Out[4] but if you then take a
look at f its definition has disappeared.
In[1]:= f[x_, y_] = x + y
Out[1]:= x+y
In[2]:= f[x,y]
Out[2]:= x+y
In[3]:= Pick[x_, y_] = Sum[DiracDelta[y-t], {t, x}]
Out[3]:= \!\(\[Sum]\+\(t = 1\)\%x DiracDelta[\(-t\) + y]\)
In[4]:= Integrate[f[x, y]*Pick[x, y], {y, 0, 100}]
*** Nothing returned here ***
In[1]:= f[x,y]
Out[1]= f[x,y]
- Follow-Ups:
- Re: Disappearing Function Definition
- From: Andrzej Kozlowski <akoz@mimuw.edu.pl>
- Re: Disappearing Function Definition