Socket
Socket
Sign inDemoInstall

robust-determinant

Package Overview
Dependencies
5
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    robust-determinant

General purpose robust determinant computation


Version published
Weekly downloads
81K
decreased by-4.68%
Maintainers
1
Install size
35.7 kB
Created
Weekly downloads
 

Readme

Source

robust-determinant

Computes the determinant of an nxn matrix as a non-overlapping increasing sequence.

Example

var robustDeterminant = require("robust-determinant")

console.log(robustDeterminant([[1,2,3], [4,5,6], [7,8,9]])

Output:

[ 0 ]

Install

npm install robust-determinant

require("robust-determinant")(m)

Exactly computes the determinant of a floating point matrix m

  • m is a square matrix

Returns The determinant of m as a non-increasing overlapping sequence

Note For matrices with up to 5 rows, you can avoid an extra dispatch by calling robustDeterminant[n], where n is the number of rows. For example,

robustDeterminant[2]([[1,2],[3,4]]) === robustDeterminant([[1,2],[3,4]])

Credits

(c) 2013 Mikola Lysenko. MIT License

Keywords

FAQs

Last updated on 08 May 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