Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

Apply1

Function: apply1 (<expr>, <rule_1>, ..., <rule_n>) 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 applyb1, apply2, and let.

(%o1)                                true
(%i2) 

Related Examples