Socket
Socket
Sign inDemoInstall

ndarray-determinant

Package Overview
Dependencies
12
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ndarray-determinant

Computes the determinant of an ndarray


Version published
Weekly downloads
18K
decreased by-1.68%
Maintainers
1
Install size
148 kB
Created
Weekly downloads
 

Readme

Source

ndarray-determinant

Computes the determinant of a matrix (encoded as an ndarray)

Example

var pack = require('ndarray-pack')
var det  = require('ndarray-determinant')

var M = pack([[1,2,3],
              [4,5,6],
              [7,8,9]])

console.log(det(M))

Output:

0

Install

npm install ndarray-determinant

API

require('ndarray-determinant')(M)

Computes the determinant of the square matrix M

  • M is a square 2D ndarray

Returns The determinant of M

Credits

(c) 2014 Mikola Lysenko. MIT License

Keywords

FAQs

Last updated on 27 Sep 2014

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc