ml-matrix 6.8.0 → 6.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md DELETED
@@ -1,539 +0,0 @@
1
- # Changelog
2
-
3
- ## [6.8.0](https://www.github.com/mljs/matrix/compare/v6.7.0...v6.8.0) (2021-04-23)
4
-
5
-
6
- ### Features
7
-
8
- * add multi Y options to nipals ([#122](https://www.github.com/mljs/matrix/issues/122)) ([#123](https://www.github.com/mljs/matrix/issues/123)) ([c251328](https://www.github.com/mljs/matrix/commit/c2513281294f832b4d58b3734c6bc54b6261576d))
9
-
10
- ## [6.7.0](https://www.github.com/mljs/matrix/compare/v6.6.0...v6.7.0) (2021-03-12)
11
-
12
-
13
- ### Features
14
-
15
- * add Kronecker sum ([#119](https://www.github.com/mljs/matrix/issues/119)) ([a600b2c](https://www.github.com/mljs/matrix/commit/a600b2cb00f86576620a187f158d52680f752d89))
16
-
17
- ## [6.6.0](https://www.github.com/mljs/matrix/compare/v6.5.3...v6.6.0) (2021-01-04)
18
-
19
-
20
- ### Features
21
-
22
- * add support for empty matrices ([#116](https://www.github.com/mljs/matrix/issues/116)) ([211de6e](https://www.github.com/mljs/matrix/commit/211de6e0880720033862f94a9629e48ae1787109))
23
-
24
- ### [6.5.3](https://www.github.com/mljs/matrix/compare/v6.5.2...v6.5.3) (2020-10-11)
25
-
26
-
27
- ### Bug Fixes
28
-
29
- * update dependencies and move documentation to gh-pages ([78e0724](https://www.github.com/mljs/matrix/commit/78e07240ae9f114c4876a7838e37d9cc95336620))
30
-
31
- ### [6.5.2](https://github.com/mljs/matrix/compare/v6.5.1...v6.5.2) (2020-10-09)
32
-
33
-
34
- ### Bug Fixes
35
-
36
- * benchmark of transposeViewMul ([#106](https://github.com/mljs/matrix/issues/106)) ([6407086](https://github.com/mljs/matrix/commit/64070866dfcde5fe48fa70de443ddd804f67d998))
37
-
38
-
39
- ### Reverts
40
-
41
- * Revert "chore: migrate release to GitHub actions (#107)" ([21ba23a](https://github.com/mljs/matrix/commit/21ba23ac133fba057769d843d09614fad09edfc9)), closes [#107](https://github.com/mljs/matrix/issues/107)
42
-
43
- ## [6.5.1](https://github.com/mljs/matrix/compare/v6.5.0...v6.5.1) (2020-07-28)
44
-
45
-
46
- ### Bug Fixes
47
-
48
- * **types:** add missing removeColumn and removeRow types ([8010f31](https://github.com/mljs/matrix/commit/8010f3182684589558e8497d9b9230dc4725d848))
49
- * **types:** add types for addColum and addRow ([#105](https://github.com/mljs/matrix/issues/105)) ([b372b80](https://github.com/mljs/matrix/commit/b372b8083b24c8ff4ce55b3a5c0d2d67e16e0e8e))
50
-
51
-
52
-
53
- # [6.5.0](https://github.com/mljs/matrix/compare/v6.4.1...v6.5.0) (2020-05-03)
54
-
55
-
56
- ### Bug Fixes
57
-
58
- * do not change input matrices in correlation and covariance functions ([#103](https://github.com/mljs/matrix/issues/103)) ([32e3537](https://github.com/mljs/matrix/commit/32e3537aae0ed4d8cf20c6230a4d411f944b1bcb))
59
-
60
-
61
- ### Features
62
-
63
- * add options to toString method ([67b007c](https://github.com/mljs/matrix/commit/67b007cd0e3fb80131e3cdb434868fe3c503ef89))
64
- * add toString method ([dcd5ab2](https://github.com/mljs/matrix/commit/dcd5ab28a8190e3602335bca40d7d34b7afbb15e))
65
-
66
-
67
-
68
- ## [6.4.1](https://github.com/mljs/matrix/compare/v6.4.0...v6.4.1) (2019-09-30)
69
-
70
-
71
- ### Bug Fixes
72
-
73
- * correctly ready elements in QR#orthogonalMatrix ([2f527a3](https://github.com/mljs/matrix/commit/2f527a3))
74
-
75
-
76
-
77
- # [6.4.0](https://github.com/mljs/matrix/compare/v6.3.0...v6.4.0) (2019-08-16)
78
-
79
-
80
- ### Features
81
-
82
- * add CholeskyDecomposition.isPositiveDefinite method ([#94](https://github.com/mljs/matrix/issues/94)) ([6bb33a9](https://github.com/mljs/matrix/commit/6bb33a9))
83
-
84
-
85
-
86
- # [6.3.0](https://github.com/mljs/matrix/compare/v6.2.0...v6.3.0) (2019-08-16)
87
-
88
-
89
- ### Features
90
-
91
- * add UMD build ([#92](https://github.com/mljs/matrix/issues/92)) ([3b82b07](https://github.com/mljs/matrix/commit/3b82b07))
92
-
93
-
94
-
95
- # [6.2.0](https://github.com/mljs/matrix/compare/v6.1.2...v6.2.0) (2019-07-20)
96
-
97
-
98
- ### Features
99
-
100
- * add NIPALS loop for factorization ([#91](https://github.com/mljs/matrix/issues/91)) ([043c8b6](https://github.com/mljs/matrix/commit/043c8b6))
101
-
102
-
103
-
104
- ## [6.1.2](https://github.com/mljs/matrix/compare/v6.1.1...v6.1.2) (2019-06-29)
105
-
106
-
107
- ### Bug Fixes
108
-
109
- * use more Float64Array in decompositions ([0bd8f1b](https://github.com/mljs/matrix/commit/0bd8f1b))
110
- * **Matrix:** use Float64Array to improve performance ([9dfe983](https://github.com/mljs/matrix/commit/9dfe983))
111
- * **SVD:** use Float64Array to avoid deopt ([85acd13](https://github.com/mljs/matrix/commit/85acd13))
112
-
113
-
114
-
115
- ## [6.1.1](https://github.com/mljs/matrix/compare/v6.1.0...v6.1.1) (2019-06-28)
116
-
117
-
118
-
119
- # [6.1.0](https://github.com/mljs/matrix/compare/v6.0.0...v6.1.0) (2019-06-22)
120
-
121
-
122
- ### Features
123
-
124
- * add echelonForm method ([eac0588](https://github.com/mljs/matrix/commit/eac0588))
125
- * add reducedEchelonForm method ([f32a8aa](https://github.com/mljs/matrix/commit/f32a8aa))
126
- * add statistical operations ([43fc4ef](https://github.com/mljs/matrix/commit/43fc4ef))
127
-
128
-
129
-
130
- # [6.0.0](https://github.com/mljs/matrix/compare/v6.0.0-6...v6.0.0) (2019-04-25)
131
-
132
-
133
-
134
- # [6.0.0-6](https://github.com/mljs/matrix/compare/v6.0.0-5...v6.0.0-6) (2019-04-25)
135
-
136
-
137
- ### Bug Fixes
138
-
139
- * add linearDependencies to TS definitions ([22c4f60](https://github.com/mljs/matrix/commit/22c4f60))
140
-
141
-
142
- ### Code Refactoring
143
-
144
- * rework a lot of things ([1b3cb03](https://github.com/mljs/matrix/commit/1b3cb03))
145
-
146
-
147
- ### Features
148
-
149
- * add a custom Node.js inspect function ([cb51169](https://github.com/mljs/matrix/commit/cb51169))
150
- * rename reverse methods to split ([def2977](https://github.com/mljs/matrix/commit/def2977))
151
-
152
-
153
- ### BREAKING CHANGES
154
-
155
- * The signature of a few methods changed to take an options object:
156
- - Matrix.rand / Matrix.random
157
- - Matrix.randInt
158
- - Matrix.prototype.repeat
159
- - Matrix.prototype.scaleRows
160
- - Matrix.prototype.scaleColumns
161
-
162
-
163
-
164
- # [6.0.0-5](https://github.com/mljs/matrix/compare/v6.0.0-4...v6.0.0-5) (2019-04-18)
165
-
166
-
167
- ### Code Refactoring
168
-
169
- * remove configurable super class and circular dependencies ([dd35ec8](https://github.com/mljs/matrix/commit/dd35ec8))
170
-
171
-
172
- ### BREAKING CHANGES
173
-
174
- * * It is no longer possible to make a Matrix class that extends a custom constructor
175
- * `matrix.det()` was moved to a standalone function: `determinant(matrix)`
176
- * `matrix.pseudoInverse()` was moved to a standalone function: `pseudoInverse(matrix)`
177
- * `matrix.linearDependencies()` was moved to a standalone function: `linearDependencies(matrix)`
178
- * Matrix views must be created using their constructors instead of Matrix methods.
179
- For example, `matrix.transposeView()` becomes `new MatrixTransposeView(matrix)`
180
-
181
-
182
-
183
- # [6.0.0-4](https://github.com/mljs/matrix/compare/v6.0.0-3...v6.0.0-4) (2019-04-18)
184
-
185
-
186
- ### Features
187
-
188
- * implement reverseRows and reverseColumns methods ([77e5ed7](https://github.com/mljs/matrix/commit/77e5ed7))
189
-
190
-
191
-
192
- # [6.0.0-3](https://github.com/mljs/matrix/compare/v6.0.0-2...v6.0.0-3) (2019-04-18)
193
-
194
-
195
-
196
- # [6.0.0-2](https://github.com/mljs/matrix/compare/v6.0.0-1...v6.0.0-2) (2019-04-18)
197
-
198
-
199
- ### Features
200
-
201
- * make JSON.stringify always return a 2D array from any matrix ([021115b](https://github.com/mljs/matrix/commit/021115b))
202
-
203
-
204
-
205
- # [6.0.0-1](https://github.com/mljs/matrix/compare/v6.0.0-0...v6.0.0-1) (2019-04-18)
206
-
207
-
208
- ### Code Refactoring
209
-
210
- * make sum by row or column return an array ([dbe7c99](https://github.com/mljs/matrix/commit/dbe7c99))
211
-
212
-
213
- ### Features
214
-
215
- * add entropy method ([63b95d1](https://github.com/mljs/matrix/commit/63b95d1))
216
- * add mean by dimension and product methods ([6b57aae](https://github.com/mljs/matrix/commit/6b57aae))
217
- * add variance and standardDeviation methods ([f42f1b6](https://github.com/mljs/matrix/commit/f42f1b6))
218
-
219
-
220
- ### BREAKING CHANGES
221
-
222
- * `matrix.sum('row')` and `matrix.sum('column')` now return an array instead of a Matrix.
223
-
224
-
225
-
226
- # [6.0.0-0](https://github.com/mljs/matrix/compare/v5.3.0...v6.0.0-0) (2019-04-18)
227
-
228
-
229
- ### chore
230
-
231
- * remove support for Node 6 ([42e4fde](https://github.com/mljs/matrix/commit/42e4fde))
232
-
233
-
234
- ### Code Refactoring
235
-
236
- * stop extending Array ([1837678](https://github.com/mljs/matrix/commit/1837678))
237
-
238
-
239
- ### BREAKING CHANGES
240
-
241
- * Node.js 6 is no longer supported.
242
- * * Matrix no longer extends the Array class. It means that it is not
243
- possible to access and set values using array indices (e.g. matrix[i][j]).
244
- The only supported way is to use matrix.get() and matrix.set().
245
- * New matrices are now always filled with zeros instead of `undefined`.
246
- * The static Matrix.empty() function was removed.
247
-
248
-
249
-
250
- # [5.3.0](https://github.com/mljs/matrix/compare/v5.2.1...v5.3.0) (2019-03-23)
251
-
252
-
253
- ### Bug Fixes
254
-
255
- * add isEchelonForm and isReducedEchelonForm to typings ([690edd1](https://github.com/mljs/matrix/commit/690edd1))
256
- * correct matrix.d.ts file. ([#86](https://github.com/mljs/matrix/issues/86)) ([ebb273c](https://github.com/mljs/matrix/commit/ebb273c))
257
-
258
-
259
- ### Features
260
-
261
- * add isEchelonForm and isReducedEchelonForm ([#84](https://github.com/mljs/matrix/issues/84)) ([dee2a94](https://github.com/mljs/matrix/commit/dee2a94))
262
-
263
-
264
-
265
- ## [5.2.1](https://github.com/mljs/matrix/compare/v5.2.0...v5.2.1) (2019-01-07)
266
-
267
-
268
- ### Bug Fixes
269
-
270
- * correct matrix.d.ts to follow TypeScript 3 ([#81](https://github.com/mljs/matrix/issues/81)) ([99329fd](https://github.com/mljs/matrix/commit/99329fd))
271
-
272
-
273
-
274
- # [5.2.0](https://github.com/mljs/matrix/compare/v5.1.1...v5.2.0) (2018-09-25)
275
-
276
-
277
- ### Bug Fixes
278
-
279
- * complete type definitions ([ca63059](https://github.com/mljs/matrix/commit/ca63059))
280
-
281
-
282
- ### Features
283
-
284
- * create index.d.ts ([#74](https://github.com/mljs/matrix/issues/74)) ([905c987](https://github.com/mljs/matrix/commit/905c987))
285
-
286
-
287
-
288
- ## [5.1.1](https://github.com/mljs/matrix/compare/v5.1.0...v5.1.1) (2018-05-11)
289
-
290
-
291
- ### Bug Fixes
292
-
293
- * prevent infinite loop ([f684d90](https://github.com/mljs/matrix/commit/f684d90))
294
-
295
-
296
-
297
- # [5.1.0](https://github.com/mljs/matrix/compare/v5.0.1...v5.1.0) (2018-05-04)
298
-
299
-
300
- ### Features
301
-
302
- * add linearDependencies method ([88ee3df](https://github.com/mljs/matrix/commit/88ee3df))
303
-
304
-
305
- ### Performance Improvements
306
-
307
- * add transposeViewMul benchmark ([0d24ea9](https://github.com/mljs/matrix/commit/0d24ea9))
308
-
309
-
310
-
311
- ## [5.0.1](https://github.com/mljs/matrix/compare/v5.0.0...v5.0.1) (2017-07-28)
312
-
313
-
314
- ### Bug Fixes
315
-
316
- * Add test case ([4b72211](https://github.com/mljs/matrix/commit/4b72211))
317
- * bug with SVD ([f615aa3](https://github.com/mljs/matrix/commit/f615aa3))
318
- * rollup didn't understood .. ([3af231d](https://github.com/mljs/matrix/commit/3af231d))
319
-
320
-
321
-
322
- # [5.0.0](https://github.com/mljs/matrix/compare/v4.0.0...v5.0.0) (2017-07-21)
323
-
324
-
325
- ### Code Refactoring
326
-
327
- * change decompositions to classes ([00c18e8](https://github.com/mljs/matrix/commit/00c18e8))
328
-
329
-
330
- ### BREAKING CHANGES
331
-
332
- * Now decompositions have to be created with "new".
333
-
334
-
335
-
336
- # [4.0.0](https://github.com/mljs/matrix/compare/v3.0.0...v4.0.0) (2017-07-19)
337
-
338
-
339
- ### Code Refactoring
340
-
341
- * remove dependency on ml-array-utils ([1e7119d](https://github.com/mljs/matrix/commit/1e7119d))
342
-
343
-
344
- ### Features
345
-
346
- * **wrap:** create a 2D or 1D WrapperMatrix ([#52](https://github.com/mljs/matrix/issues/52)) ([7900d67](https://github.com/mljs/matrix/commit/7900d67))
347
- * add norm method ([#57](https://github.com/mljs/matrix/issues/57)) ([221391a](https://github.com/mljs/matrix/commit/221391a))
348
- * allows to select only rows or columns as view ([#51](https://github.com/mljs/matrix/issues/51)) ([46eb916](https://github.com/mljs/matrix/commit/46eb916))
349
-
350
-
351
- ### BREAKING CHANGES
352
-
353
- * The new ml-array-rescale dependency removes support for Node 4
354
-
355
-
356
-
357
- # [3.0.0](https://github.com/mljs/matrix/compare/v2.3.0...v3.0.0) (2017-04-25)
358
-
359
-
360
-
361
- # [2.3.0](https://github.com/mljs/matrix/compare/v2.2.0...v2.3.0) (2017-02-28)
362
-
363
-
364
- ### Features
365
-
366
- * add pseudoinverse function based on SVD ([3279a15](https://github.com/mljs/matrix/commit/3279a15))
367
-
368
-
369
-
370
- # [2.2.0](https://github.com/mljs/matrix/compare/v2.1.0...v2.2.0) (2016-12-14)
371
-
372
-
373
- ### Bug Fixes
374
-
375
- * Matrix and Lu circular dependency ([ab706b9](https://github.com/mljs/matrix/commit/ab706b9))
376
- * styling issues picked up by Travis CI ([f211a1f](https://github.com/mljs/matrix/commit/f211a1f))
377
-
378
-
379
- ### Features
380
-
381
- * **det:** add 2x2 and 3x3 determinants ([04ae195](https://github.com/mljs/matrix/commit/04ae195))
382
- * **det:** add determinant based on LU decomposition ([90532ef](https://github.com/mljs/matrix/commit/90532ef))
383
- * **det:** add determinant synonym ([5395b56](https://github.com/mljs/matrix/commit/5395b56))
384
- * **sum:** sum by 'row' or 'column' ([bf5d070](https://github.com/mljs/matrix/commit/bf5d070))
385
-
386
-
387
-
388
- # [2.1.0](https://github.com/mljs/matrix/compare/v2.0.0...v2.1.0) (2016-10-07)
389
-
390
-
391
- ### Bug Fixes
392
-
393
- * use Symbol.species as Matrix constructor in selection ([fee325e](https://github.com/mljs/matrix/commit/fee325e))
394
- * use Symbol.species in evaluated static methods ([39800f9](https://github.com/mljs/matrix/commit/39800f9))
395
-
396
-
397
- ### Features
398
-
399
- * add fast multiplication algorithm (strassen) ([fdc1c07](https://github.com/mljs/matrix/commit/fdc1c07))
400
- * add maxValue option to Matrix.randInt ([e5a8541](https://github.com/mljs/matrix/commit/e5a8541))
401
- * add value parameter to Matrix.eye ([f52e4fd](https://github.com/mljs/matrix/commit/f52e4fd)), closes [#43](https://github.com/mljs/matrix/issues/43)
402
- * implement optimized algorithm for 2x2 and 3x3 multiplication ([4055ef9](https://github.com/mljs/matrix/commit/4055ef9))
403
-
404
-
405
-
406
- # [2.0.0](https://github.com/mljs/matrix/compare/v1.4.0...v2.0.0) (2016-08-04)
407
-
408
-
409
- ### Features
410
-
411
- * add column view ([5ff6680](https://github.com/mljs/matrix/commit/5ff6680))
412
- * add flipColumn and flipRow views ([55ee4a6](https://github.com/mljs/matrix/commit/55ee4a6))
413
- * add method subMatrixView ([aa1df18](https://github.com/mljs/matrix/commit/aa1df18))
414
- * add row view ([a9e99f2](https://github.com/mljs/matrix/commit/a9e99f2))
415
- * add selection method and selection view ([59aa861](https://github.com/mljs/matrix/commit/59aa861))
416
- * make use of Symbol.species to allow creating new matrices in any class ([eaee5de](https://github.com/mljs/matrix/commit/eaee5de))
417
-
418
-
419
-
420
- # [1.4.0](https://github.com/mljs/matrix/compare/v1.3.0...v1.4.0) (2016-08-03)
421
-
422
-
423
- ### Features
424
-
425
- * add concept of abstract matrix ([cbefc9b](https://github.com/mljs/matrix/commit/cbefc9b))
426
- * add method setSubMatrix ([89b4242](https://github.com/mljs/matrix/commit/89b4242))
427
- * add method with one argument template ([b66ee9f](https://github.com/mljs/matrix/commit/b66ee9f))
428
- * add repeat method ([8b9eecb](https://github.com/mljs/matrix/commit/8b9eecb))
429
- * add transposeView ([fb0a0c9](https://github.com/mljs/matrix/commit/fb0a0c9))
430
-
431
-
432
- ### BREAKING CHANGES
433
-
434
- * This is a non trivial change and could potentially break existing code.
435
- There is no known backward incompatibility though.
436
-
437
-
438
-
439
- # [1.3.0](https://github.com/mljs/matrix/compare/v1.2.1...v1.3.0) (2016-07-25)
440
-
441
-
442
- ### Features
443
-
444
- * add methods scaleRows and scaleColumns ([8516f83](https://github.com/mljs/matrix/commit/8516f83))
445
-
446
-
447
-
448
- ## [1.2.1](https://github.com/mljs/matrix/compare/v1.2.0...v1.2.1) (2016-07-07)
449
-
450
-
451
- ### Bug Fixes
452
-
453
- * do not use rest parameters ([2c4502e](https://github.com/mljs/matrix/commit/2c4502e))
454
-
455
-
456
-
457
- # [1.2.0](https://github.com/mljs/matrix/compare/v1.1.5...v1.2.0) (2016-07-07)
458
-
459
-
460
- ### Features
461
-
462
- * add support for Math.pow ([2524b73](https://github.com/mljs/matrix/commit/2524b73)), closes [#21](https://github.com/mljs/matrix/issues/21)
463
-
464
-
465
-
466
- ## [1.1.5](https://github.com/mljs/matrix/compare/v1.1.4...v1.1.5) (2016-05-31)
467
-
468
-
469
-
470
- ## [1.1.4](https://github.com/mljs/matrix/compare/v1.1.3...v1.1.4) (2016-05-27)
471
-
472
-
473
-
474
- ## [1.1.3](https://github.com/mljs/matrix/compare/v1.1.2...v1.1.3) (2016-05-27)
475
-
476
-
477
-
478
- ## [1.1.2](https://github.com/mljs/matrix/compare/v1.1.1...v1.1.2) (2016-05-18)
479
-
480
-
481
-
482
- ## [1.1.1](https://github.com/mljs/matrix/compare/v1.1.0...v1.1.1) (2016-05-18)
483
-
484
-
485
-
486
- # [1.1.0](https://github.com/mljs/matrix/compare/v1.0.4...v1.1.0) (2016-05-13)
487
-
488
-
489
-
490
- ## [1.0.4](https://github.com/mljs/matrix/compare/v1.0.3...v1.0.4) (2015-11-21)
491
-
492
-
493
-
494
- ## [1.0.3](https://github.com/mljs/matrix/compare/v1.0.2...v1.0.3) (2015-11-19)
495
-
496
-
497
- ### Bug Fixes
498
-
499
- * random not correctly filling rectangular matrices ([a79c3eb](https://github.com/mljs/matrix/commit/a79c3eb))
500
-
501
-
502
-
503
- ## [1.0.2](https://github.com/mljs/matrix/compare/v1.0.1...v1.0.2) (2015-10-05)
504
-
505
-
506
-
507
- ## [1.0.1](https://github.com/mljs/matrix/compare/v1.0.0...v1.0.1) (2015-09-11)
508
-
509
-
510
-
511
- # [1.0.0](https://github.com/mljs/matrix/compare/v1.0.0-0...v1.0.0) (2015-09-10)
512
-
513
-
514
-
515
- # [1.0.0-0](https://github.com/mljs/matrix/compare/v0.1.0...v1.0.0-0) (2015-09-09)
516
-
517
-
518
- ### Bug Fixes
519
-
520
- * **matrix:** abs method should return the instance ([cd96b4b](https://github.com/mljs/matrix/commit/cd96b4b))
521
-
522
-
523
- ### Features
524
-
525
- * add fullname synonyms for some methods ([4845a43](https://github.com/mljs/matrix/commit/4845a43))
526
- * add static min and max methods ([41707af](https://github.com/mljs/matrix/commit/41707af))
527
- * support all arithmetic operators and Math functions including static versions ([521e4fe](https://github.com/mljs/matrix/commit/521e4fe)), closes [#7](https://github.com/mljs/matrix/issues/7)
528
-
529
-
530
-
531
- # [0.1.0](https://github.com/mljs/matrix/compare/v0.0.4...v0.1.0) (2015-06-11)
532
-
533
-
534
-
535
- ## [0.0.4](https://github.com/mljs/matrix/compare/v0.0.1...v0.0.4) (2015-06-11)
536
-
537
-
538
-
539
- ## 0.0.1 (2014-10-24)