JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1482
  • Score
    100M100P100Q118278F
  • License MIT

Sparse matrix library

Package Exports

  • ml-sparse-matrix

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ml-sparse-matrix) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

sparse-matrix

NPM version build status coverage status npm download

Sparse matrix library.

Installation

$ npm i ml-sparse-matrix

Usage

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);

API Documentation

License

MIT