ml-matrix 6.5.3 → 6.8.1

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