Javascript numerical library - vectors, matrices, determinates, inversion

风流意气都作罢 提交于 2019-12-20 10:46:57

问题


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.


回答1:


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




回答2:


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.




回答3:


I know of

http://code.google.com/p/webgl-mjs/

and

http://sylvester.jcoglan.com/




回答4:


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.



来源:https://stackoverflow.com/questions/6306325/javascript-numerical-library-vectors-matrices-determinates-inversion

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!