News for hackers. Stuff that matters.
Re:Show HN: Algebra.js – Build, display, and solve algebraic... by dharmatech on Friday August 14, 2015 @03:00PM (#10062106)
Nice work Nicole! :-)

I work on a similar library for C# (Symbolism [1]).

Consider allowing for variable elimination in sets of equations. (See this problem for an example: https://gist.github.com/dharmatech/a14d1a29a7d4c0728d37)

[1] https://github.com/dharmatech/Symbolism/

Re:Show HN: Algebra.js – Build, display, and solve algebraic... by nicolewhite on Friday August 14, 2015 @03:19PM (#10062236)
That's very cool. I should definitely add functionality for solving a system of equations.
Re:Show HN: Algebra.js – Build, display, and solve algebraic... by dharmatech on Friday August 14, 2015 @03:30PM (#10062322)
The algorithm I use in 'EliminateVariables' is pretty ad-hoc and has built up as I throw more situations at it.

If you want to look up how the big time guys do it, I believe Mathematica's 'Reduce' performs full on quantifier elimination via cylindrical algebraic decomposition. There aren't many open-source implementations of CAD that I know of besides the venerable C-based QEPCAD.

PS: Big fan of your Neo4J tutorials. :-)

Re:Show HN: Algebra.js – Build, display, and solve algebraic... by nicolewhite on Friday August 14, 2015 @06:05PM (#10063272)
That sounds like some fun Friday night reading. :) Glad you enjoy Neo4j!