kpeeters / cadabra2

A field-theory motivated approach to computer algebra.
https://cadabra.science/
GNU General Public License v3.0
223 stars 37 forks source link

Restrict Distributable to particular arguments #103

Open kpeeters opened 6 years ago

kpeeters commented 6 years ago

Right now Distributable makes operators distribute over all their arguments; this prevents rules which enable things like in https://stackoverflow.com/questions/50361917/expand-a-function-of-an-arbitrary-number-of-arguments-if-it-is-linear-in-each-ar