https://github.com/zhhaogen/testeigenjs
编译eigen为js,矩阵运算测试
https://github.com/zhhaogen/testeigenjs
eigen javascript matrix wasm webassembly
Last synced: about 2 months ago
JSON representation
编译eigen为js,矩阵运算测试
- Host: GitHub
- URL: https://github.com/zhhaogen/testeigenjs
- Owner: zhhaogen
- License: mit
- Created: 2018-05-25T09:35:55.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-05-25T09:49:24.000Z (almost 7 years ago)
- Last Synced: 2023-09-12T23:17:13.744Z (over 1 year ago)
- Topics: eigen, javascript, matrix, wasm, webassembly
- Language: JavaScript
- Homepage: https://zhhaogen.github.io/TestEigenjs/
- Size: 293 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TestEigenjs
使用eigen进行矩阵运算测试
### 下载Eigen,http://eigen.tuxfamily.org```
wget http://bitbucket.org/eigen/eigen/get/3.3.4.tar.gz
tar xvf 3.3.4.tar.gz
```### 编译
```
emcc -I ../eigen/ main.cpp -o main.js -s EXPORTED_FUNCTIONS="['_printMatrixXd','_addMatrixXd','_subMatrixXd','_trMatrixXd','_muiltMatrixXd','_inverseMatrixXd','_adjointMatrixXd','_traceMatrixXd','_detMatrixXd','_rankMatrixXd']" -s WASM=1
```### [测试访问](https://zhhaogen.github.io/TestEigenjs/)