Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ml-matrix

Package Overview
Dependencies
Maintainers
7
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ml-matrix - npm Package Versions

1
8

6.0.0-6

Diff

Changelog

Source

6.0.0-6 (2019-04-25)

Bug Fixes

  • add linearDependencies to TS definitions (22c4f60)

Code Refactoring

Features

  • add a custom Node.js inspect function (cb51169)
  • rename reverse methods to split (def2977)

BREAKING CHANGES

  • The signature of a few methods changed to take an options object:
  • Matrix.rand / Matrix.random
  • Matrix.randInt
  • Matrix.prototype.repeat
  • Matrix.prototype.scaleRows
  • Matrix.prototype.scaleColumns
targos
published 6.0.0-5 •

Changelog

Source

6.0.0-5 (2019-04-18)

Code Refactoring

  • remove configurable super class and circular dependencies (dd35ec8)

BREAKING CHANGES

    • It is no longer possible to make a Matrix class that extends a custom constructor
  • matrix.det() was moved to a standalone function: determinant(matrix)
  • matrix.pseudoInverse() was moved to a standalone function: pseudoInverse(matrix)
  • matrix.linearDependencies() was moved to a standalone function: linearDependencies(matrix)
  • Matrix views must be created using their constructors instead of Matrix methods. For example, matrix.transposeView() becomes new MatrixTransposeView(matrix)
targos
published 6.0.0-4 •

Changelog

Source

6.0.0-4 (2019-04-18)

Features

  • implement reverseRows and reverseColumns methods (77e5ed7)
targos
published 6.0.0-3 •

Changelog

Source

6.0.0-3 (2019-04-18)

targos
published 6.0.0-2 •

Changelog

Source

6.0.0-2 (2019-04-18)

Features

  • make JSON.stringify always return a 2D array from any matrix (021115b)
targos
published 6.0.0-1 •

Changelog

Source

6.0.0-1 (2019-04-18)

Code Refactoring

  • make sum by row or column return an array (dbe7c99)

Features

  • add entropy method (63b95d1)
  • add mean by dimension and product methods (6b57aae)
  • add variance and standardDeviation methods (f42f1b6)

BREAKING CHANGES

  • matrix.sum('row') and matrix.sum('column') now return an array instead of a Matrix.
targos
published 6.0.0-0 •

Changelog

Source

6.0.0-0 (2019-04-18)

chore

  • remove support for Node 6 (42e4fde)

Code Refactoring

BREAKING CHANGES

  • Node.js 6 is no longer supported.
    • Matrix no longer extends the Array class. It means that it is not possible to access and set values using array indices (e.g. matrix[i][j]). The only supported way is to use matrix.get() and matrix.set().
  • New matrices are now always filled with zeros instead of undefined.
  • The static Matrix.empty() function was removed.
targos
published 5.3.0 •

Changelog

Source

5.3.0 (2019-03-23)

Bug Fixes

  • add isEchelonForm and isReducedEchelonForm to typings (690edd1)
  • correct matrix.d.ts file. (#86) (ebb273c)

Features

  • add isEchelonForm and isReducedEchelonForm (#84) (dee2a94)
targos
published 5.2.1 •

Changelog

Source

5.2.1 (2019-01-07)

Bug Fixes

  • correct matrix.d.ts to follow TypeScript 3 (#81) (99329fd)
targos
published 5.2.0 •

Changelog

Source

5.2.0 (2018-09-25)

Bug Fixes

  • complete type definitions (ca63059)

Features

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc