【文件属性】:
文件名称:sparse-matrix:稀疏矩阵库
文件大小:10KB
文件格式:ZIP
更新时间:2021-05-07 18:47:20
JavaScript
稀疏矩阵
稀疏矩阵库。
安装
$ npm i ml-sparse-matrix
用法
import { SparseMatrix } from "ml-sparse-matrix" ;
const matrix1 = new SparseMatrix ( [
[ 1 , 2 ] ,
[ 3 , 4 ] ,
] ) ;
const matrix2 = new SparseMatrix ( [
[ 0 , 5 ] ,
[ 6 , 7 ] ,
] ) ;
const product = matrix1 . kroneckerProduct ( matrix2 ) ;
执照
【文件预览】:
sparse-matrix-master
----.gitignore(583B)
----README.md(988B)
----.github()
--------workflows()
----rollup.config.js(152B)
----History.md(1KB)
----LICENSE(1KB)
----.eslintrc.yml(54B)
----package.json(1KB)
----src()
--------__tests__()
--------index.js(9KB)
--------.npmignore(21B)
----.babelrc(62B)
----.npmrc(19B)