
一直相信一句话: Any application that can be written in Javascript, will eventually be written in Javascript
前段时间想在浏览器中解薛定谔方程,发现没有很好的数学函数库。于是就开始搞这个了
$ npm install mathlab --save import { dot } from 'mathlab' const A = [[1,2,3], [4,5,6]] const x = [7,8,9] // calculate dot product dot(A, x) // [50,122] 1 4mrqn07k Aug 20, 2016 via iPhone 支持一下,期待更多功能 |
2 itopidea Aug 21, 2016 mathjs 就有吧 |
3 ShiHou Aug 21, 2016 js 那个性能.. 如果涉及到较多的矩阵计算,考虑 webgl 更现实。 https://github.com/toji/gl-matrix |
5 riophae Aug 22, 2016 赞一个 |