Skip to content

Conversation

rikardn
Copy link
Contributor

@rikardn rikardn commented Aug 28, 2021

Will first do refine and then try more advanced simplifications. Started out with supporting y/csc(x) = y*sin(x) and similar.

I encountered the issue of having to support both Pow and Mul for very similar situations. For example 1 / x will be a Pow but 2 / x will be a Mul. Perhaps this would break too much and be a bad idea for other reasons, but in this scenario it would simplify things if also 1 / x would be Mul with coeff = 1. Then Mul would cover all cases with numeric exponents and Pow wouldn't have to cater for these.

@rikardn rikardn requested a review from a team September 8, 2021 18:21
@rikardn
Copy link
Contributor Author

rikardn commented Oct 17, 2021

Any comments or are we ready to merge?

@rikardn
Copy link
Contributor Author

rikardn commented Oct 18, 2021

Thanks @isuruf for reviewing

@rikardn rikardn merged commit 7e14d1f into symengine:master Oct 18, 2021
@rikardn rikardn deleted the simplify branch October 18, 2021 14:26
@yumingdong
Copy link

Why not implement all the functions similar to Sympy's simplify() function? In fact, algebraic simplification plays a crucial role in mathematical computations and analyses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants