Constant
is an attribute that indicates zero derivative of a symbol with respect to all parameters.
Examples
open allclose allBasic Examples (2)
Scope (2)
The built-in system mathematical constants:
They are all NumericQ:
They all represent exact values that can be evaluated to numbers of any precision with N:
Define f locally to be a constant function:
This does not affect subsequent computations with Dt:
Using the Constants option in Dt is similar, but has completely unambiguous output:
Text
Wolfram Research (1988), Constant, Wolfram Language function, https://reference.wolfram.com/language/ref/Constant.html.
CMS
Wolfram Language. 1988. "Constant." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/Constant.html.
APA
Wolfram Language. (1988). Constant. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Constant.html