numbers.js

Languages and libraries

math library

SHOW HN2012

123points
48comments
#162of 1,677 in 2012
Top 10%of 2012 by points

How HN took it

MixedNo clear lean

9 positive, 11 neutral or asking, 0 mixed, 3 critical, out of 23 comments about the project. Thread score +0.21.

Idea: 2 for, 3 againstPerformance: 1 for, 0 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Useful and cool library

    From 2 comments
    • 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…
      Xcelerate on HN
    • What audience do you have in mind calling this advanced? (Not criticising your library, it looks useful).
      BasDirks on HN
  • Good work from commenters

    From 2 comments
    • First of all, good work! A couple of observations: 1. You should probably go ahead and implement at least LU decomposition, QR factorization, and maybe some…
      angersock on HN
    • Wow - looks awesome! Congrats Steve et all.
      whockey on HN

Objections

  • Not advanced: missing LU, QR, eigen, SVD, PCA

    From 2 comments
    • First of all, good work! A couple of observations: 1. You should probably go ahead and implement at least LU decomposition, QR factorization, and maybe some…
      angersock on HN
    • Agreed. I would have expected to see things like ICA, PCA, SVD, pseudorandom number generators for various discrete and continuous distributions, misc. multiplicative and…
      droz on HN
  • Floating point accuracy issues

    From 2 comments
    • 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…
      sjkaliski on HN
    • https://en.wikipedia.org/wiki/Floating_point#Accuracy_problems It is the same as trying to store 1/3 = 0.333... as a finite decimal. Basically, a floating point number only has a…
      dbaupp on HN

Requests

  • Eigenvalue and eigenvector solvers

    From 2 comments
    • First of all, good work! A couple of observations: 1. You should probably go ahead and implement at least LU decomposition, QR factorization, and maybe some…
      angersock on HN
    • Sparse and dense matrix math and eigensolvers would be really nice. Especially solvers that let you efficiently get the eigenvectors associated with the smallest eigenvalues as…
      micro_cam on HN
  • Statistics: regressions, quantiles, distributions

    From 2 comments
    • Any interest in adding various statistical regression functions? I had to write some for JavaScript recently, one of which can be found at…
      Zikes on HN
    • For statistics I'd be interested in seeing quantiles, regressions, and coefficient of determination. I intend to contribute what I can in those areas.
      Zikes on HN
  • FFT support

    From 2 comments
    • First of all, good work! A couple of observations: 1. You should probably go ahead and implement at least LU decomposition, QR factorization, and maybe some…
      angersock on HN
    • This is awesome! I started thinking about doing something similar a few months ago, but the project I needed it for kind of fell through and I moved on. Anyway, a few thoughts I…
      napoleond on HN
  • QR decomposition

    From 1 comment
  • Linear programming and optimization

    From 2 comments
    • First of all, good work! A couple of observations: 1. You should probably go ahead and implement at least LU decomposition, QR factorization, and maybe some…
      angersock on HN
    • 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…
      philip1209 on HN

Questions

  • What is the use case for doing math in JavaScript

    From 1 comment
    • What's the use-case-scenario for this? Seems like if you had complex calculations you needed to perform, you would do it on a server side language like Python.
      JDDunn9 on HN
  • How does it differ from numeric.js

    From 1 comment
    • 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…
      tqs on HN

Alternatives named

  • numeric.js

    From 2 comments
    • It should be mentioned that most of these things are already implemented by numeric.js (http://www.numericjs.com/)
      matsiyatzy on HN
    • 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…
      tqs on HN
  • Sylvester

    From 1 comment
    • This is awesome! I started thinking about doing something similar a few months ago, but the project I needed it for kind of fell through and I moved on. Anyway, a few thoughts I…
      napoleond on HN
  • NumPy

    From 1 comment
    • Thanks, that's really interesting! I'll check it out next time. Do you see any advantage with this over, e.g., Python w/NumPy?
      Osmium on HN
  • Clique

    From 1 comment
    • Along the same line, (heh line) my friend made a linear algebra library last year. I present to you "Clique: A Javascript Linear Algebra Library with Applications to Spectral…
      saym on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/4906098)