MathGroup Archive 2006

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

Search the Archive

Derivative[1] applied to numeric constants


Hi,

Do numeric constants have special behaviour under the Derivative[1] 
function?

The number e.g. 2 is not defined as the function that always returns 2:

In[1]:=2[x]
Out[1]=2[x]

But Derivative[1][2] is defined:

In[2]:=2'
Out[2]=0&

Could anyone explain why this is? Is this behaviour documented in the 
help system?

Cheers,

Andrew


  • Prev by Date: Mixed tensors as arguments of compiled functions
  • Next by Date: Problem with a limit.
  • Previous by thread: Re: Mixed tensors as arguments of compiled functions
  • Next by thread: Re: Derivative[1] applied to numeric constants