apply SciMax Toolbox apply2

SciMax Toolbox >> apply1

apply1

Maxima Function

Calling Sequence

apply1 (expr, rule_1, ..., rule_n)

Description

Repeatedly applies rule_1 to expr until it fails, then repeatedly applies the same rule to all subexpressions of expr, left to right, until rule_1 has failed on all subexpressions. Call the result of transforming expr in this manner expr_2. Then rule_2 is applied in the same fashion starting at the top of expr_2. When rule_n fails on the final subexpression, the result is returned.

maxapplydepth is the depth of the deepest subexpressions processed by apply1 and apply2.

See also , , and .

apply SciMax Toolbox apply2