Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including neura-matrix with all npm packages installed. Try it out:

var neuraMatrix = require("neura-matrix")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

neura-matrix v0.1.4

Matrix operations for Neura with no dependencies

neura-matrix

Linear algebra calculations for neura library. TypeScript based.

Create matrix

import Matrix from 'neura-matrix'

const matrix = new Matrix([0, 0.5, 1], [0.2, 1, 0.3])
    

Transpose matrix

matrix.transpose()

Result: [[0, 0.2], [0.5, 1], [1, 0.3]]

Summarize matrices

matrixAlpha.sum(matrixBeta)

Interested in Neural Networks and JavaScript?

Feel free to join the project & contribute

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free