NumericFunction

NumericFunction
is an attribute that can be assigned to a symbol f to indicate that should be considered a numeric quantity whenever all the are numeric quantities.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Exp has the NumericFunction attribute:

In[1]:=
Click for copyable input
Out[1]=

When Exp has an argument that is a number, constant, or numeric, the result is numeric:

In[2]:=
Click for copyable input
Out[2]=

In most cases when NumericQ[expr] gives True, then N[expr] yields an explicit number:

In[3]:=
Click for copyable input
Out[3]=
Introduced in 1996
(3.0)