MTM
simple
apply simplification rules
Calling Sequence
Parameters
Description
Examples
simple(A)
e, h := simple(A)
A
-
expression, array of expressions
e
variable
h
For an expression A, the function simple(A) will apply simplification rules to A, and return the resulting expression.
For an array A, the function simple(A) will return an array R with the same dimensions as A. For each element e of A, the corresponding element in R will have the value simple(e).
If the call is assigned to two variables, e and h, then e is assigned the simplified expression or array of expressions, and h is assigned a string representing the simplification method used. Currently, simplify is the only simplification method used.
with⁡MTM:
A≔412+3
A≔4+3
simple⁡A
5
e,h≔simple⁡A
e,h≔5,simplify
B≔exp⁡a+ln⁡b⁢exp⁡c
B≔ⅇa+ln⁡b⁢ⅇc
C≔sin⁡x2+ln⁡2⁢x+cos⁡x2
E≔cos⁡x5+sin⁡x4+2⁢cos⁡x2−2⁢sin⁡x2−cos⁡2⁢x
simple⁡Array⁡A,B,C,E
5b⁢ⅇc+aln⁡2+ln⁡x+1cos⁡x4⁢cos⁡x+1
See Also
MTM[collect]
MTM[expand]
MTM[factor]
MTM[log]
MTM[simplify]
Download Help Document