simplify/constants
convert constant functions to constants
Calling Sequence
Parameters
Description
Examples
simplify(expr, 'constants')
expr
-
expression
'constants'
literal name; 'constants', including the enclosing with quotes ''
In Maple, constants are not automatically considered to be constant functions, and therefore πx does not automatically simplify to Pi whereas 3x does simplify to 3. This procedure performs those simplifications.
Candidates for simplification are symbols in the expression sequence constants which are not themselves procedures or for which there does not exist an evalf function.
Note: In order to perform this simplification using the syntax simplify(expr, 'constants'), it is mandatory that the keyword 'constants' be enclosed with quotes, to prevent the premature evaluation of this keyword to the list of Maple constants
constants;
false,γ,∞,true,Catalan,FAIL,π
simplifyfalsex,truex,FAILx,constants
false,true,FAIL
simplifyγxCatalanxπx+∞x,constants
γCatalanπ+∞
evalfγ
0.5772156649
evalfγ3
0.002053834420
constants≔constants,E,Fa
constants≔false,γ,∞,true,Catalan,FAIL,π,E,Fa
simplifyE3,Fa,constants
E,Fa
See Also
constants
simplify
Download Help Document