MathGroup Archive 2005

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

Search the Archive

Re: UpSetDelayed and N


??x

On 5/16/05, François Wirion <muthaluva at gmail.com> wrote:
> Hello,
> 
> I have done the following in Mathematica:
> P[N[x]] ^:= 0
> If I put in
> P[N[x]]
> it returns
> 0
> as expected.
> 
> However, I haven't been able to find where this definition is stored.
> Calling the following for P
> 
> OwnValues[P]
> DownValues[P]
> UpValues[P]
> SubValues[P]
> NValues[P]
> DefaultValues[P]
> FormatValues[P]
> Messages[P]
> 
> and N
> 
> OwnValues[N]
> DownValues[N]
> UpValues[N]
> SubValues[N]
> NValues[N]
> DefaultValues[N]
> FormatValues[N]
> Messages[N]
> 
> returns mostly empty lists, but no definition that says that P[N[x]] is
> 0. Where then would this be stored?
> 
> Thank you for any help or advice,
> 
> François Wirion
> 
> 


-- 
Chris Chiasson
http://chrischiasson.com/
1 (810) 265-3161


  • Prev by Date: Re: Visualization
  • Next by Date: Re: UpSetDelayed and N
  • Previous by thread: UpSetDelayed and N
  • Next by thread: Re: UpSetDelayed and N