This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

NumericFunction

NumericFunction
is an attribute that can be assigned to a symbol f to indicate that f[arg1, arg2, ...] should be considered a numeric quantity whenever all the argi are numeric quantities.
  • Most standard built-in mathematical functions have the attribute NumericFunction.
  • If you assign the attribute NumericFunction to a function that does not yield numerical values, then NumericQ will give misleading results.
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]=
New in 3