Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to use with algebra.js #1068

Closed
husayt opened this issue Mar 19, 2018 · 4 comments
Closed

how to use with algebra.js #1068

husayt opened this issue Mar 19, 2018 · 4 comments

Comments

@husayt
Copy link

husayt commented Mar 19, 2018

Algebra.js allows solving many equation types very nicely and has a similar expression tree and parsing. Would be great to be able to integrate with math.js like we do with numbers.js.

How could this be done?

@josdejong
Copy link
Owner

Yes indeed, Algebra.js is a great initiative. So far it's simply two parallel paths. I don't know if/how we could join forces.

In #442 we shortly discussed together with the creator of Algebra.js but that did not result in anything so far.

If anyone is interested in picking this up to see if there are possibilities just let me know.

@josdejong josdejong changed the title how to use with algebra,js how to use with algebra.js Mar 19, 2018
@javazen
Copy link

javazen commented Apr 10, 2018

I did some experimentation with algebra.js in conjunction with math.js. I found a couple of limitations that prevented me from going further with it:

  1. algebra doesn't seem to parse functions: new algebra.parse("2*abs(x)").toString() -> "2absx"
  2. algebra doesn't parse expressions with a variable in the denominator, e.g. 1/x

I don't see how I can get around these limitations, as much as I would like to make use of the cool term-collecting and solving in algebra.js.

@josdejong
Copy link
Owner

Thanks for sharing your experiences. Algebra.js and math.js are currently two separate worlds, would be great if they could strengthen each other.

@gwhitney
Copy link
Collaborator

gwhitney commented Oct 6, 2023

As algebra.js is now an archived project, closing this.

@gwhitney gwhitney closed this as completed Oct 6, 2023
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

No branches or pull requests

4 participants