densematrix.js

A TypeScript tensor arithmetics library that supports Arithmetic Types. Forked from math.js.

Usage no npm install needed!

<script type="module">
  import densematrixJs from 'https://cdn.skypack.dev/densematrix.js';
</script>

README

DenseMatrix.js

A TypeScript tensor arithmetics library that supports Arithmetic Types. Forked from math.js.

Example

import { DenseMatrix } from 'densematrix.js'
const A = DenseMatrix([[1,2],[3,4]])
const B = DenseMatrix([[0,1],[1,0]])