<story><title>Show HN: Advanced Mathematics Library for Node.js and JavaScript</title><url>https://github.com/sjkaliski/numbers.js</url></story><parent_chain></parent_chain><comment><author>angersock</author><text>First of all, good work!&lt;p&gt;A couple of observations:&lt;p&gt;1. You should probably go ahead and implement at least LU decomposition, QR factorization, and maybe some eigenvalue/eigenvector stuff if you want to claim &quot;advanced&quot;.&lt;p&gt;2. You should use the recursive definition of the determinant in the &amp;#62;3x3 matrix case.&lt;p&gt;3. You should consider adding some vector methods of the form: ax+by (for scalar a &amp;#38; b, and vector x &amp;#38; y). This can be useful for doing linear interpolation and whatnot.&lt;p&gt;4. You should add cross products/outer products for vectors.&lt;p&gt;5. You should have a mechanism for generating a Gaussian or normal distribution, or at least supply some standard mappings from your (presumably uniform) random function to something more useful (Gaussian, Possoin, Weibull, whatever).&lt;p&gt;6. An FFT would be nice. :)&lt;p&gt;7. Quaternions would also be handy for graphics folks, or motion folks.&lt;p&gt;8. Complex number support would be cool.&lt;p&gt;9. Support for optimization, like integer programming, linear programming, or even least-squares or whatever would be nice.&lt;p&gt;~&lt;p&gt;Again, great work--I look forward to seeing how this project evolves!</text></comment>
<story><title>Show HN: Advanced Mathematics Library for Node.js and JavaScript</title><url>https://github.com/sjkaliski/numbers.js</url></story><parent_chain></parent_chain><comment><author>Xcelerate</author><text>This is pretty cool.  I&apos;ve been using CoffeeScript to post-process MD simulation results because it&apos;s such an easy language to get things done in.  Tools like this will make it even easier.&lt;p&gt;Although, could someone clarify for me the floating point issues mentioned by Steve?  I wasn&apos;t aware there were issues...</text></comment>