MTM[simple] - apply simplification rules
|
Calling Sequence
|
|
simple(A)
e, h := simple(A)
|
|
Parameters
|
|
A
|
-
|
expression, array of expressions
|
e
|
-
|
variable
|
h
|
-
|
variable
|
|
|
|
|
Description
|
|
•
|
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.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
|
|
Download Help Document
Was this information helpful?