NumericQ
Details
- An expression is considered a numeric quantity if it is either an explicit number or a mathematical constant such as Pi, or is a function that has attribute NumericFunction and all of whose arguments are numeric quantities.
- In most cases, NumericQ[expr] gives True whenever N[expr] would yield an explicit number.
Examples
open allclose allBasic Examples (1)
Scope (3)
An object is numeric if all its constituents are numeric:
Some parts of the expression are numeric:
When f has the NumericFunction attribute then f[args] is numeric when args are numeric:
The system symbols that represent numerical constants:
Some of the system symbols with the NumericFunction attribute:
Any combination of these functions with numeric arguments will be numeric:
In most cases, N[e] will not be a number since it is improbable that the arguments are correct:
Applications (3)
Text
Wolfram Research (1996), NumericQ, Wolfram Language function, https://reference.wolfram.com/language/ref/NumericQ.html.
CMS
Wolfram Language. 1996. "NumericQ." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/NumericQ.html.
APA
Wolfram Language. (1996). NumericQ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/NumericQ.html