ml-sparse-matrix

2.1.0 • Public • Published

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

/ml-sparse-matrix/

    Package Sidebar

    Install

    npm i ml-sparse-matrix

    Weekly Downloads

    1,743

    Version

    2.1.0

    License

    MIT

    Unpacked Size

    22.6 kB

    Total Files

    6

    Last publish

    Collaborators

    • stropitek
    • targos
    • lpatiny
    • mljs-bot
    • maasencioh
    • jeffersonh44
    • andcastillo
    • ml-bot