Closed light-matters closed 1 week ago
The idea here is to implement the Expand function of the wolfram language: "expands out products and positive integer powers in expr".
e.g.
( expand (* (+ x 3) (+ x 2)) )
->
(+ 6 (* 5 x) (square x))
The idea here is to implement the Expand function of the wolfram language: "expands out products and positive integer powers in expr".
e.g.
->