6.12.0 (2024-10-15)
6.11.1 (2024-06-10)
- DistanceMatrix: fromCompact with an empty array (637598e)
6.11.0 (2023-11-30)
6.10.8 (2023-11-04)
6.10.7 (2023-10-20)
6.10.6 (2023-10-17)
6.10.5 (2023-09-24)
6.10.4 (2022-11-05)
6.10.3 (2022-11-04)
6.10.2 (2022-06-29)
6.10.1 (2022-05-31)
6.10.0 (2022-04-19)
6.9.0 (2022-02-26)
- allow to pass any array in all APIs (362d8a1)
6.8.2 (2021-11-12)
- dummy commit to republish package (9ae2abe)
6.8.1 (2021-11-04)
6.8.0 (2021-04-23)
6.7.0 (2021-03-12)
6.6.0 (2021-01-04)
6.5.3 (2020-10-11)
- update dependencies and move documentation to gh-pages (78e0724)
6.5.2 (2020-10-09)
6.5.1 (2020-07-28)
- types: add missing removeColumn and removeRow types (8010f31)
- types: add types for addColum and addRow (#105) (b372b80)
6.5.0 (2020-05-03)
6.4.1 (2019-09-30)
- correctly ready elements in QR#orthogonalMatrix (2f527a3)
6.4.0 (2019-08-16)
6.3.0 (2019-08-16)
6.2.0 (2019-07-20)
6.1.2 (2019-06-29)
- use more Float64Array in decompositions (0bd8f1b)
- Matrix: use Float64Array to improve performance (9dfe983)
- SVD: use Float64Array to avoid deopt (85acd13)
6.1.1 (2019-06-28)
6.1.0 (2019-06-22)
- add echelonForm method (eac0588)
- add reducedEchelonForm method (f32a8aa)
- add statistical operations (43fc4ef)
6.0.0 (2019-04-25)
6.0.0-6 (2019-04-25)
- add linearDependencies to TS definitions (22c4f60)
- rework a lot of things (1b3cb03)
- 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
6.0.0-5 (2019-04-18)
- remove configurable super class and circular dependencies (dd35ec8)
-
- 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()
becomesnew MatrixTransposeView(matrix)
6.0.0-4 (2019-04-18)
- implement reverseRows and reverseColumns methods (77e5ed7)
6.0.0-3 (2019-04-18)
6.0.0-2 (2019-04-18)
- make JSON.stringify always return a 2D array from any matrix (021115b)
6.0.0-1 (2019-04-18)
- make sum by row or column return an array (dbe7c99)
- add entropy method (63b95d1)
- add mean by dimension and product methods (6b57aae)
- add variance and standardDeviation methods (f42f1b6)
matrix.sum('row')
andmatrix.sum('column')
now return an array instead of a Matrix.
6.0.0-0 (2019-04-18)
- remove support for Node 6 (42e4fde)
- stop extending Array (1837678)
- 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.
5.3.0 (2019-03-23)
- add isEchelonForm and isReducedEchelonForm to typings (690edd1)
- correct matrix.d.ts file. (#86) (ebb273c)
5.2.1 (2019-01-07)
5.2.0 (2018-09-25)
- complete type definitions (ca63059)
5.1.1 (2018-05-11)
- prevent infinite loop (f684d90)
5.1.0 (2018-05-04)
- add linearDependencies method (88ee3df)
- add transposeViewMul benchmark (0d24ea9)
5.0.1 (2017-07-28)
5.0.0 (2017-07-21)
- change decompositions to classes (00c18e8)
- Now decompositions have to be created with "new".
4.0.0 (2017-07-19)
- remove dependency on ml-array-utils (1e7119d)
- wrap: create a 2D or 1D WrapperMatrix (#52) (7900d67)
- add norm method (#57) (221391a)
- allows to select only rows or columns as view (#51) (46eb916)
- The new ml-array-rescale dependency removes support for Node 4
3.0.0 (2017-04-25)
2.3.0 (2017-02-28)
- add pseudoinverse function based on SVD (3279a15)
2.2.0 (2016-12-14)
- det: add 2x2 and 3x3 determinants (04ae195)
- det: add determinant based on LU decomposition (90532ef)
- det: add determinant synonym (5395b56)
- sum: sum by 'row' or 'column' (bf5d070)
2.1.0 (2016-10-07)
- use Symbol.species as Matrix constructor in selection (fee325e)
- use Symbol.species in evaluated static methods (39800f9)
- add fast multiplication algorithm (strassen) (fdc1c07)
- add maxValue option to Matrix.randInt (e5a8541)
- add value parameter to Matrix.eye (f52e4fd), closes #43
- implement optimized algorithm for 2x2 and 3x3 multiplication (4055ef9)
2.0.0 (2016-08-04)
- add column view (5ff6680)
- add flipColumn and flipRow views (55ee4a6)
- add method subMatrixView (aa1df18)
- add row view (a9e99f2)
- add selection method and selection view (59aa861)
- make use of Symbol.species to allow creating new matrices in any class (eaee5de)
1.4.0 (2016-08-03)
- add concept of abstract matrix (cbefc9b)
- add method setSubMatrix (89b4242)
- add method with one argument template (b66ee9f)
- add repeat method (8b9eecb)
- add transposeView (fb0a0c9)
- This is a non trivial change and could potentially break existing code. There is no known backward incompatibility though.
1.3.0 (2016-07-25)
- add methods scaleRows and scaleColumns (8516f83)
1.2.1 (2016-07-07)
- do not use rest parameters (2c4502e)
1.2.0 (2016-07-07)
1.1.5 (2016-05-31)
1.1.4 (2016-05-27)
1.1.3 (2016-05-27)
1.1.2 (2016-05-18)
1.1.1 (2016-05-18)
1.1.0 (2016-05-13)
1.0.4 (2015-11-21)
1.0.3 (2015-11-19)
- random not correctly filling rectangular matrices (a79c3eb)
1.0.2 (2015-10-05)
1.0.1 (2015-09-11)
1.0.0 (2015-09-10)
1.0.0-0 (2015-09-09)
- matrix: abs method should return the instance (cd96b4b)
- add fullname synonyms for some methods (4845a43)
- add static min and max methods (41707af)
- support all arithmetic operators and Math functions including static versions (521e4fe), closes #7