Sparse matrix library.
$ npm i ml-sparse-matrix
import{SparseMatrix}from'ml-sparse-matrix';constmatrix1=newSparseMatrix([[1,2],[3,4],]);constmatrix2=newSparseMatrix([[0,5],[6,7],]);constproduct=matrix1.kroneckerProduct(matrix2);There was an error while loading. Please reload this page.
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Latest commit | ||||
Sparse matrix library.
$ npm i ml-sparse-matrix
import{SparseMatrix}from'ml-sparse-matrix';constmatrix1=newSparseMatrix([[1,2],[3,4],]);constmatrix2=newSparseMatrix([[0,5],[6,7],]);constproduct=matrix1.kroneckerProduct(matrix2);