Paul
Paul

Reputation: 27433

Javascript numerical library - vectors, matrices, determinates, inversion

Is there a reasonable numerical library in pure JavaScript?

I'd like array-based vectors, matrices, determinate, and matrix inversion.

This is only for small problems, not big ones. I'm aware there are choices in Python, Java, C++, or, oh, perhaps FORTRAN, not to mention R. mmm....FORTRAN......

I'd be happily surprised to get basic vector and matrix operations without having to rebuild the wheel or recode from FORTRAN for a day or two.

Upvotes: 7

Views: 9531

Answers (4)

Baptiste Mazin
Baptiste Mazin

Reputation: 99

There is also, the Matlab-like javascript library: https://github.com/Etsitpab/JSM. It makes easy to deal with ND-Arrays and provides many codes for data processing.

Upvotes: 3

Jos de Jong
Jos de Jong

Reputation: 6819

math.js is a library which comes with matrix support. You can easily manipulate matrices and do matrix calculations.

http://mathjs.org

See the example on using matrices.

Upvotes: 4

Simon A. Eugster
Simon A. Eugster

Reputation: 4264

Maybe also of interest: http://www.numericjs.com/

Upvotes: 5

Related Questions