mentat-collective / emmy

The Emmy Computer Algebra System.
https://emmy.mentat.org
GNU General Public License v3.0
406 stars 24 forks source link

Feature request for 'Expand' function #122

Closed light-matters closed 1 week ago

light-matters commented 1 year 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))