How does solveFor()
work?
#663
-
I'm curious to know how |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I agree. The library should be refactored, however is quite a time intensive undertaking. There is an PR (#643) where @mugabe has made quite a bit of progress. Unfortunately it's only the core at the moment.
If you mean the flow for I'm going to assume that you mean how In short, it can be done but it will require a bit of work and I'd love to provide insight should you decide to do so. |
Beta Was this translation helpful? Give feedback.
-
Correct. The quadratic equation in your case but after it's been rewritten. So it goes in as |
Beta Was this translation helpful? Give feedback.
I agree. The library should be refactored, however is quite a time intensive undertaking. There is an PR (#643) where @mugabe has made quite a bit of progress. Unfortunately it's only the core at the moment.
If you mean the flow for
solveFor
then it's simply an extension of theExpression
class here and after doing some factoring, rewriting, etc. it eventually simply applies the quadratic equation h…