jiggzson / nerdamer

a symbolic math expression evaluator for javascript
http://www.nerdamer.com
MIT License
517 stars 82 forks source link

Coeffs....complex numers? #609

Closed szoshi closed 3 years ago

szoshi commented 3 years ago

After working with coeffs and complex numbers separately, my next step was to combine them. If i have a complex valued polynomial, turns out nerdamer.coeffs fails. I am guessing the functionality is missing or am I doing something wrong?

jiggzson commented 3 years ago

@szoshi, this should be an easy fix.

szoshi commented 3 years ago

Great. I look forward to the update.

szoshi commented 3 years ago

Hi, did you get a chance to work on this?

jiggzson commented 3 years ago

@szoshi, I haven't had a chance. It's still in queue.

szoshi commented 3 years ago

Hi, I just checked it today and it works as expected. i will report if I find something. While we are on the subject of complex numbers, I have noticed that the String or Tex representation of complex numbers is in the form b.i + a and not as a + b.i as is standard. Is there a way to change this?