Live data from Hacker News

Show HN: Advanced Mathematics Library for Node.js and JavaScript

github.com

1–10 of 49 posts

Re: Show HN: Advanced Mathematics Library for Node.js and JavaScript

#2
This is pretty cool. I've been using CoffeeScript to post-process MD simulation results because it's such an easy language to get things done in. Tools like this will make it even easier.

Although, could someone clarify for me the floating point issues mentioned by Steve? I wasn't aware there were issues...

Re: Show HN: Advanced Mathematics Library for Node.js and JavaScript

#3

This is pretty cool. I've been using CoffeeScript to post-process MD simulation results because it's such an easy language to get things done in. Tools like this will make it even easier. Although, could someone clarify for me the floating point issues mentioned by Steve? I wasn't aware there were issues...

Glad you like it! I'd love to know how it goes if you make use of it.

In your browser console, run: 0.3 + 0.544 You'll get back 0.8440000000000001

In practice (especially if in the browser), the difference is either irrelevant (in CSS 1px == 1.1px) or not significant. But in accumulation, it could be problematic.

Re: Show HN: Advanced Mathematics Library for Node.js and JavaScript

#4
Great. I'm studying for my operations research exam, and I've wanted to "study" by implementing some of the algorithms we did by hand through code.

Is there interest in some more advanced matrix algebra functions - specifically Gaussian reduction, simplex, sensitivity analysis, and maybe some transport/network problems and integer programming?

Re: Show HN: Advanced Mathematics Library for Node.js and JavaScript

#5
I've used http://www.numericjs.com/ to handle basic vector/matrix arithmetic and for numerically solving minimization problems to create constraint-based UIs.

Can you give an overview of how your library is different? Is it just a different set of math tools or is the architecture somehow different? Thanks!

Re: Show HN: Advanced Mathematics Library for Node.js and JavaScript

#6

Great. I'm studying for my operations research exam, and I've wanted to "study" by implementing some of the algorithms we did by hand through code. Is there interest in some more advanced matrix algebra functions - specifically Gaussian reduction, simplex, sensitivity analysis, and maybe some transport/network problems and integer programming?

My primary focus from here on out is statistics and matrix algebra focused on powering analytics. So yes, some of those functions would be of interest to me.
Post reply on HN