https://github.com/planeshifter/svd
singular value decomposition via emscripten
https://github.com/planeshifter/svd
Last synced: 8 months ago
JSON representation
singular value decomposition via emscripten
- Host: GitHub
- URL: https://github.com/planeshifter/svd
- Owner: Planeshifter
- License: mit
- Created: 2015-01-28T06:22:20.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-03-06T23:10:14.000Z (over 11 years ago)
- Last Synced: 2025-03-24T08:11:12.568Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 453 KB
- Stars: 9
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SVD
```
var svd = require("./svd.js").svd
svd([[1,2],[3,4]])
```
Output:
```
{ u:
[ [ 0.9145142436027527, 0.4045535922050476 ],
[ -0.4045535922050476, 0.9145142436027527 ] ],
v:
[ [ -0.8174155950546265, 0.5760484337806702 ],
[ 0.5760484337806702, 0.8174155950546265 ] ],
w: [ 0.36596617102622986, 5.4649858474731445 ],
r: 1 }
```