home *** CD-ROM | disk | FTP | other *** search
-
- (*********************************************************************
-
- Adapted from
- Roman E. Maeder: Programming in Mathematica,
- Second Edition, Addison-Wesley, 1991.
-
- *********************************************************************)
-
-
- ExpandBoth::usage = "ExpandBoth[e] expands all numerators and denominators in e."
-
- Begin["`Private`"]
-
- ExpandBoth[x_Plus] := ExpandBoth /@ x
- ExpandBoth[x_] := Expand[ Numerator[x] ] / Expand[ Denominator[x] ]
-
- End[]
- Null
-