Question about simplification
- Subject: Question about simplification
- From: Barton Willis
- Date: Tue, 26 Mar 2013 16:30:59 +0000
Also:
(%i1) ? lratsubst;
-- Function: lratsubst (<L>, <expr>)
is analogous to `subst (<L>, <expr>)' except that it uses
`ratsubst' instead of `subst'.
< rest deleted>
--Barton
________________________________
/* ratsubst with multiple equation input -- warning: does no error checking on input */
eratsubst(eqs,val) := (while eqs # [] do (val: ratsubst(rhs(first(eqs)),lhs(first(eqs)),val), eqs: rest(eqs)), val)$
-s