mathnet / mathnet-symbolics

Math.NET Symbolics
http://symbolics.mathdotnet.com
MIT License
349 stars 66 forks source link

Add auto-distribution #52

Open diluculo opened 6 years ago

diluculo commented 6 years ago

This is applied only for -1 or minus. e.g. -(a + b) => -a - b Please refer to the discussion in #44.

diluculo commented 6 years ago

This PR can give us fully strange answers. e.g. -(a + b)**2 ==> "(-a - b)^2". Please see #53.

When in doubt, use parentheses. e.g. -((a + b)**2)

FoggyFinder commented 6 years ago

It is really odd