Repository navigation
Expand file tree
/
Copy pathchanges.xml
More file actions
4084 lines (4012 loc) · 212 KB
/
Copy pathchanges.xml
File metadata and controls
4084 lines (4012 loc) · 212 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!--
This file is used by the maven-changes-plugin to generate the release notes.
Useful ways of finding items to add to this file are:
1. Add items when you fix a bug or add a feature (this makes the
release process easy :-).
2. Do a JIRA search for tickets closed since the previous release.
3. Use the report generated by the maven-changelog-plugin to see all
SVN commits.
To generate the file RELEASE-NOTES.txt from this file:
mvn changes:announcement-generate -Prelease-notes [-Dchanges.version]
The <action> type attribute can be add,update,fix,remove.
-->
<!-- NOTE:
The description attribute entries below are specially formatted
so as to improve the layout of the generated text release notes.
The parsing process removes all line feeds, replacing them with a single space.
The Velocity template in src/changes/release-notes.vm has been enhanced to replace pairs of adjacent spaces
with a new-line in the release notes. (These spaces are ignored when displaying HTML).
If the output is not quite correct, check for invisible trailing spaces!
-->
<document xmlns="http://maven.apache.org/changes/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/changes/2.0.0 https://maven.apache.org/xsd/changes-2.0.0.xsd">
<properties>
<title>Apache Commons Math Release Notes</title>
</properties>
<body>
<!-- <release version="TBD" date="TBD" description="TBD">
</release> -->
<release version="4.0-beta2" date="TBD" description="
This is a major release that requires source changes in applications.
Lower-level functionality has been split off to new components, often
with bug-fixes, performance enhancements and improved API:
Commons RNG,
Commons Numbers,
Commons Geometry,
Commons Statistics.
Functionality still within Commons Math has been modularized and
partly refactored.
This is a work-in-progress (help welcome).
Codes for which the refactoring has not been undertaken (or was
deemed incomplete) have been moved to 'legacy' modules.
The minimum version of the Java platform required to compile and use
Commons Math is Java 8.
Users are encouraged to upgrade to this version, and to the new
components listed above (they are now Commons Math's dependencies).
For code now located in the 'commons-math-legacy' module, upgrading
will be a matter of changing the top-level package name:
From 'org.apache.commons.math3' to 'org.apache.commons.math4.legacy'.
Code in the 'commons-math-legacy-core' module comprise classes that
moved from package 'org.apache.commons.math3' and package
'org.apache.commons.math3.util' (e.g. 'MathArrays') to package
'org.apache.commons.math4.legacy.core'.
Notes:
Class 'FastMath' was renamed 'AccurateMath' (now located in package
'org.apache.commons.math4.legacy.core.jdkmath').
Caveat:
Although hundreds of issues have been fixed (see 'git log' and the
reports in the bug-tracking system of all the listed components),
many remain due to the lack of human resources necessary in order
to support the whole codebase (it was one of the main reasons for
creating more focused components).
">
<action dev="aherbert" type="update">
Removed o.a.c.m.legacy.stat.interval package. Functionality has been
transferred to Commons Statistics interval.
</action>
<action dev="erans" type="fix" issue="MATH-1681" due-to="Ruiqi Dong">
"ComplexFormat": Throw exception when parsing fails.
</action>
<action dev="erans" type="fix" issue="MATH-1683" due-to="Ruiqi Dong">
"ElkanKMeansPlusPlusClusterer": More explicit error message.
</action>
<action dev="erans" type="fix" issue="MATH-1682" due-to="Ruiqi Dong">
"SparseEntryIterator": Prevent exception upon iterating an empty vector.
</action>
<action dev="erans" type="add" issue="MATH-1650" due-to="Michael Scholz">
New class: "ClampedSplineInterpolator".
</action>
<action dev="aherbert" type="update" issue="MATH-1671">
Update o.a.c.m.legacy.stat.descriptive package. Functionality has been
partially transferred to Commons Statistics descriptive.
</action>
<action dev="aherbert" type="update" issue="MATH-1672">
Removed o.a.c.m.legacy.stat.ranking package. Functionality has been
transferred to Commons Statistics ranking.
</action>
<action dev="aherbert" type="update" issue="MATH-1673">
Removed o.a.c.m.legacy.stat.inference package. Functionality has been
transferred to Commons Statistics inference.
</action>
<action dev="sebb" type="fix">Drop coveralls, as no longer used</action>
<action dev="sebb" type="update">Bump Commons Parent from 78 to 81</action>
<action dev="sebb" type="update">Bump picocli from 3.9.5 to 4.7.6</action>
<action dev="sebb" type="update">Bump Commons Imaging from 1.0-alpha3 to 1.0.0-alpha6</action>
<action dev="engelen" type="update" due-to="Dependabot">Bump org.apache.commons:commons-rng-bom from 1.5 to 1.6 #244</action>
<action dev="erans" type="update" issue="MATH-1669" due-to="Wolff Bock von Wuelfingen">
Javadoc: Fix broken link.
</action>
<action dev="aherbert" type="update">
"MultivariateNormalMixtureExpectationMaximization": Allow fitting single column data.
</action>
<action dev="erans" type="update" issue="MATH-1658">
Allow convergence checker to be specified as "OptimizationData".
</action>
<action dev="erans" type="update" issue="MATH-1657" due-to="François Laferrière">
Small refactoring of the "evaluation counter" in optimizers' base class:
Provide (protected) accessor (to replace method "computeObjectiveValue").
</action>
<action dev="erans" type="update" issue="MATH-1654" due-to="Cyril de Catheu">
"Array2DRowRealMatrix": Performance enhancement ("getEntry").
</action>
</release>
<release version="4.0-beta1" date="2022-12-20" description="
This is a major release that requires source changes in applications.
Lower-level functionality has been split off to new components, often
with bug-fixes, performance enhancements and improved API:
Commons RNG,
Commons Numbers,
Commons Geometry,
Commons Statistics.
Functionality still within Commons Math has been modularized and
partly refactored.
This is a work-in-progress (help welcome).
Codes for which the refactoring has not been undertaken (or was
deemed incomplete) have been moved to 'legacy' modules.
The minimum version of the Java platform required to compile and use
Commons Math is Java 8.
Users are encouraged to upgrade to this version, and to the new
components listed above (they are now Commons Math's dependencies).
For code now located in the 'commons-math-legacy' module, upgrading
will be a matter of changing the top-level package name:
From 'org.apache.commons.math3' to 'org.apache.commons.math4.legacy'.
Code in the 'commons-math-legacy-core' module comprise classes that
moved from package 'org.apache.commons.math3' and package
'org.apache.commons.math3.util' (e.g. 'MathArrays') to package
'org.apache.commons.math4.legacy.core'.
Notes:
Class 'FastMath' was renamed 'AccurateMath' (now located in package
'org.apache.commons.math4.legacy.core.jdkmath').
Caveat:
Although hundreds of issues have been fixed (see 'git log' and the
reports in the bug-tracking system of all the listed components),
many remain due to the lack of human resources necessary in order
to support the whole codebase (it was one of the main reasons for
creating more focused components).
">
<action dev="aherbert" type="update" issue="MATH-1653">
Remove class "CombinatoricsUtils" (in package "o.a.c.m.util").
Functionality is in "Commons Numbers" combinatorics package.
</action>
<action dev="erans" type="fix" issue="MATH-1647" due-to="Maksym Bohachov">
"HaltonSequenceGenerator": Raise exception when precondition is not met.
</action>
<action dev="erans" type="add" issue="MATH-1648" due-to="Alessandro Moscatelli">
"BicubicInterpolator": Provide partial derivatives of interpolating functions.
</action>
<action dev="erans" type="update" issue="MATH-1640">
Do not change caller's arguments in "KMeansPlusPlusClusterer":
A negative value for "maxIterations" will raise an exception.
</action>
<action dev="erans" type="add" issue="MATH-1371" due-to="Artem Barger">
Add "ElkanKMeansPlusPlusClusterer" clustering algorithm.
</action>
<action dev="erans" type="update" issue="MATH-1629">
Throw "ArithmeticException" instead of "MathArithmeticException".
</action>
<action dev="erans" type="update" issue="MATH-1630">
Introduce "JdkMath" class for redirecting calls to either JDK or CM
implementations of the functions defined in "java.lang.Math".
</action>
<action dev="erans" type="fix" issue="MATH-1462">
"EmpiricalDistribution": Use constant kernel for bins that contain up to 3 values.
</action>
<action dev="aherbert" due-to="Arturo Bernal" type="update">
Simplify assertions with simpler equivalent.
</action>
<action dev="erans" type="add" issue="MATH-1622">
Update class "SimplexOptimizer" (in package "o.a.c.m.legacy.optim.nonlinear.scalar.noderiv")
to support simulated annealing.
</action>
<action dev="aherbert" due-to="Arturo Bernal" type="update" issue="MATH-1573">
Remove redundant local variables.
</action>
<action dev="aherbert" due-to="Arturo Bernal" type="update" issue="MATH-1572">
Simplify conditional expressions.
</action>
<action dev="erans" type="update" issue="MATH-1616">
Refactor "EmpiricalDistribution" class (in package "o.a.c.m.legacy.distribution").
</action>
<action dev="erans" type="fix" issue="MATH-1379" due-to="Richard Wilkinson">
Fix "LoessInterpolator" (in package "o.a.c.m.legacy.analysis.interpolation").
</action>
<action dev="erans" type="fix" issue="MATH-1617" due-to="Ng Tsz Sum">
Class "BigReal": Fix equality check.
</action>
<action dev="erans" type="update" issue="MATH-1595">
Clean up "o.a.c.math4.legacy.random" package.
</action>
<action dev="erans" type="update" issue="MATH-1615">
Remove class "StableRandomGenerator" (in package "o.a.c.m.legacy.random").
</action>
<action dev="erans" type="update" issue="MATH-1614">
Refactor "SimplexOptimizer" (in package "o.a.c.m.legacy.optim.nonlinear.scalar.noderiv").
</action>
<action dev="erans" type="fix" issue="MATH-1613">
Decrease maximum number of iterations in "SimpsonIntegrator" and
"TrapezoidIntegrator" (due to the available range of the internal
counter of function evaluations).
</action>
<action dev="erans" type="fix" issue="MATH-1431" due-to="Artem Onuchin">
"EmpiricalDistribution" handles empty bin.
</action>
<action dev="erans" type="update" issue="MATH-1582">
Transforms codes moved into a dedicated maven module.
</action>
<action dev="erans" type="update" issue="MATH-1578">
ANN codes moved into a dedicated maven module.
</action>
<action dev="erans" type="update" issue="MATH-1575">
Modularization set-up: All codes were moved into a "legacy" maven module.
WIP: Functionalities should gradually be moved into dedicated modules.
</action>
<action dev="erans" type="fix" issue="MATH-1565" due-to="Randy Strauss">
Add context to "OutOfRangeException".
</action>
<action dev="erans" type="update" issue="MATH-1562" due-to="Frank Ulbricht">
Add "Automatic-Module-Name" entry to JAR manifest file.
</action>
<action dev="erans" type="fix" issue="MATH-1558" due-to="Sam Ritchie">
"MidPointIntegrator": Fix iterative procedure in order to actually benefit
from evaluations performed at earlier stages.
</action>
<action dev="erans" type="fix" issue="MATH-1555" due-to="Laurent Galluccio">
"Atan2": Documentation issue.
</action>
<action dev="erans" type="add" issue="MATH-1551" due-to="Allen Yu">
"Percentile": Partial support for weighted data.
</action>
<action dev="erans" type="update" issue="MATH-1554">
Remove package "o.a.c.math4.geometry".
</action>
<action dev="erans" type="fix" issue="MATH-1549" due-to="Mohammad Rezaei">
"SimplexTableau": Internally "scale down" the problem definition when the
constraints are defined with large numbers, in order to avoid spurious
exceptions caused by floating-point accuracy errors.
</action>
<action dev="erans" type="fix" issue="MATH-1548">
Avoid inefficiencies in computing the standard quality measures of a SOFM.
</action>
<action dev="erans" type="update" issue="MATH-1547">
More flexible ranking of SOFM.
</action>
<action dev="erans" type="fix" issue="MATH-1537" due-to="Jin Xu">
Clean-up (typos and unused "import" statements).
</action>
<action dev="erans" type="fix" issue="MATH-1531">
"EmpiricalDistribution": Workaround to avoid spurious exception.
</action>
<action dev="erans" type="update" issue="MATH-1530" due-to="Yassine Damerdji">
"SplineInterpolator": Improved performance.
</action>
<action dev="erans" type="add" issue="MATH-1529">
"AkimaSplineInterpolator": Option to use alternative weights.
</action>
<action dev="erans" type="add" issue="MATH-1509" due-to="Chen Tao">
Add "MiniBatchKMeansClusterer" clustering algorithm.
</action>
<action dev="erans" type="update" issue="MATH-1524" due-to="Chen Tao">
Code reuse.
</action>
<action dev="erans" type="fix" issue="MATH-1511">
Issue in site generation and developers documentation.
</action>
<action dev="erans" type="update" issue="MATH-1522" due-to="Chen Tao">
Remove generic parameter in clustering evaluator interfaces.
</action>
<action dev="erans" type="add" issue="MATH-1519" due-to="Chen Tao">
Add "Calinski-Harabsz" clustering evaluator.
</action>
<action dev="erans" type="update" issue="MATH-1523">
Abstract class "ClusterEvaluator" replaced by an interface.
</action>
<action dev="erans" type="fix" issue="MATH-1518">
Remove code duplication by moving method to class "Cluster".
</action>
<action dev="erans" type="add" issue="MATH-1516">
Interface for ranking a list of clusters.
</action>
<action dev="kinow" type="update" issue="MATH-1408">
Do not use exceptions for control flow
</action>
<action dev="erans" type="fix" issue="MATH-1388">
Avoid overflow.
</action>
<action dev="erans" type="update" issue="MATH-1362">
Removed deprecated class "Incrementor" (replaced by "IntegerSequence.Incrementor").
</action>
<action dev="erans" type="update" issue="MATH-1506">
Removed class "MultidimensionalCounter" (ported to "Commons Numbers").
</action>
<action dev="erans" type="update" issue="MATH-1504">
Removed class "BigFraction" (ported to "Commons Numbers").
</action>
<action dev="erans" type="update" issue="MATH-1446">
Removed class "Fraction" (ported to "Commons Numbers").
</action>
<action dev="erans" type="update" issue="MATH-1469">
Removed most codes in package "o.a.c.m.geometry".
"Commons Math" now depends on "Commons Geometry".
</action>
<action dev="erans" type="update" issue="MATH-1481" due-to="Théophile Charmont">
"SobolSequenceGenerator": Update data file.
</action>
<action dev="erans" type="fix" issue="MATH-1401" due-to="Michele De Stefano">
"ClopperPearsonInterval": Missing cases.
</action>
<action dev="erans" type="add" issue="MATH-1477" due-to="Chee Sing Lee">
"MillerUpdatingRegression": Fixed "ArrayIndexOutOfBounds" exception.
</action>
<action dev="erans" type="fix" issue="MATH-1463">
"IntegerSequence.incrementor": Throw "NoSuchElementException" from "next" method.
</action>
<action dev="erans" type="add" issue="MATH-1459" due-to="Adrian Porter">
Create a way to automatically calculate a Jacobian matrix using a differentiator.
</action>
<action dev="erans" type="fix" issue="MATH-1458" due-to="Alex Herbert">
"SimpsonIntegrator": Fixed iteration.
</action>
<action dev="erans" type="add" issue="MATH-1426" due-to="Karl Richter">
"DescriptiveStatistics": allow "Double[]" as initializer.
</action>
<action dev="erans" type="fix" issue="MATH-1419" due-to="Hang Park">
"PolynomialSplineFunction": incorrect usage of exception.
</action>
<action dev="kinow" type="fix" issue="MATH-1413">
add generics to the Frequency class
</action>
<action dev="erans" type="fix" issue="MATH-1417" due-to="Jean-Francois Lecomte">
"RRQRDecomposition": bug in method "performHouseholderReflection".
</action>
<action dev="kinow" type="fix" issue="MATH-1381" due-to="Kexin Xie">
Fix "BinomialTest": P-value larger than 1.
</action>
<action dev="erans" type="fix" issue="MATH-1382" due-to="Stefan Bunk">
"MultivariateNormalDistribution": performance improvement (by
removing unnecessary copying).
</action>
<action dev="erans" type="fix" issue="MATH-1405" due-to="Daniil Finkel">
"KolmogorovSmirnovTest": bug in "fixTies".
</action>
<action dev="ebourg" type="update" issue="MATH-1389" due-to="Christoph Dibak">
Performance improvement for Array2DRowRealMatrix.getSubMatrix()
</action>
<action dev="erans" type="add" issue="MATH-1383">
Dependency toward the "Commons Rng" component.
</action>
<action dev="erans" type="update" issue="MATH-1377">
"SimplexOptimizer": Slight performance improvement.
</action>
<action dev="erans" type="fix" issue="MATH-1376" due-to="Thomas Weise">
"SimplexOptimizer": Wrong value of iteration number was passed to the convergence checker.
</action>
<action dev="erans" type="fix" issue="MATH-1319">
Major refactoring of package "o.a.c.m.random".
</action>
<action dev="erans" type="fix" issue="MATH-1366">
Removed obsolete RNG API (replaced by classes under "o.a.c.m.rng").
</action>
<action dev="erans" type="add" issue="MATH-1015" due-to="Thomas Neidhart">
Gauss-Laguerre quadrature.
</action>
<action dev="erans" type="update" issue="MATH-1318" due-to="Eric Prescott-Gagnon">
"o.a.c.m.special.Gamma.digamma": Improved performance (through the use of
the reflection formula for negative arguments).
</action>
<action dev="erans" type="add" issue="MATH-1350" due-to="Rob Tompkins">
Improved code coverage (unit tests).
</action>
<action dev="erans" type="add" issue="MATH-1336">
New 64-bits RNG implementations. On 64-bits systems, they are ~35% faster than
"java.util.Random" for generating "long" or "double" values. They also guarantee
much better randomness than "Random" (cf. MATH-1327).
</action>
<action dev="erans" type="add" issue="MATH-1335">
Refactoring of uniform random number generator functionality: new API
implemented in package "o.a.c.m.rng".
</action>
<action dev="erans" type="fix" issue="MATH-1340">
Avoid exception swallowing (in class "TestUtils").
</action>
<action dev="erans" type="fix" issue="MATH-1339">
Avoid redundant object creation.
</action>
<action dev="erans" type="add" issue="MATH-1337">
Adaptor class from new API ("o.a.c.m.rng.RandomSource") to old API
("o.a.c.m.random.RandomGenerator").
</action>
<action dev="erans" type="add" issue="MATH-1327">
Report on performance and correctness of the new RNG implementations.
</action>
<action dev="erans" type="add" issue="MATH-1314">
Javadoc of the new RNG API ("o.a.c.m.rng") mentions the "seed problem".
</action>
<action dev="erans" type="add" issue="MATH-1158">
New interface for sampling from distribution (package "o.a.c.m.distribution").
</action>
<action dev="erans" type="fix" issue="MATH-1356">
"HypergeometricDistribution": Handle special cases that produced NaN.
</action>
<action dev="erans" type="add" issue="MATH-1351">
New sampler API for "MultivariateRealDistribution".
</action>
<action dev="erans" type="add" issue="MATH-1348">
Adaptor for using one of the new RNG implementations where an instance of
"java.util.Random" is required.
</action>
<action dev="erans" type="fix" issue="MATH-1343">
"BetaDistribution": Removed unnecessary recomputation.
</action>
<action dev="erans" type="fix" issue="MATH-1124">
"JDKRandomGenerator": Method "nextInt(int)" now throws a "NotStrictlyPositiveException".
The class now delegates to (rather inherits from) "java.util.Random".
</action>
<action dev="erans" type="update" issue="MATH-1305" due-to="Rostislav Krasny">
"AbstractRandomGenerator" and "BitsStreamGenerator": Slight performance
improvement of the "nextBytes" method (particularly when the number of
requested bytes is a multiple of 4).
</action>
<action dev="erans" type="fix" issue="MATH-1300" due-to="Rostislav Krasny">
"AbstractRandomGenerator" and "BitsStreamGenerator": Remove a redundant call
to the random data provider.
</action>
<action dev="erans" type="add" issue="MATH-1295" due-to="Aleksei Dievskii">
"FactorialLog": Cache-based computation of the "log factorial" function (implemented
as an inner class of "CombinatoricsUtils" in package "o.a.c.m.util").
</action>
<action dev="luc" type="add" issue="MATH-1271" due-to="Qualtagh">
Added divideUnsigned and remainderUnsigned to ArithmeticUtils.
</action>
<action dev="erans" type="fix" issue="MATH-1231">
Lifted unnecessary restriction on constructor's argument of
"MicrosphereInterpolator" (package "o.a.c.m.analysis.interpolation").
</action>
<action dev="tn" type="fix" issue="MATH-1230">
The "SimplexSolver" will now throw a "DimensionMismatchException"
when calling "optimize(...)" with linear constraints whose dimension
does not match the dimension of the objective function.
</action>
<action dev="luc" type="add" >
Added a fast implementation of IEEEremainder in FastMath.
</action>
<action dev="luc" type="fix" issue="MATH-1222" due-to="Benedikt Ritter">
Use Double.isNaN rather than x != x in FastMath.
</action>
<action dev="luc" type="fix" issue="MATH-1143">
Added helper methods to FunctionUtils for univariate and multivariate differentiable functions conversion.
</action>
<action dev="tn" type="fix" issue="MATH-964">
Removed unused package private class PollardRho in package primes.
</action>
<action dev="tn" type="fix" issue="MATH-1221">
Improve performance of "ZipfDistribution" by caching the nth generalized harmonic.
</action>
<action dev="tn" type="update" issue="MATH-853">
"MathRuntimeException" is now the base class for all commons-math
exceptions (except for "NullArgumentException" which extends
"NullPointerException").
</action>
<action dev="tn" type="remove" issue="MATH-1205">
Removed methods "test(...)" from "AbstractUnivariateStatistic".
The already existing methods "MathArrays#verifyValues(...)" shall
be used instead.
</action>
<action dev="tn" type="update" issue="MATH-1205">
The abstract class "AbstractStorelessUnivariateStatistic" does not
extend anymore from "AbstractUnivariateStatistic".
</action>
<action dev="tn" type="update" issue="MATH-1205">
Default implementation of
"AbstractStorelessUnivariateStatistic#equals(Object)"
will only return true if both instances have the same type. Previously
different statistics were considered to be equal if their current state
happened to be equal.
</action>
<action dev="tn" type="update" issue="MATH-1205">
Default implementations of "AbstractStorelessUnivariateStatistic#evaluate(...)"
do not alter the internal state anymore. Instead a temporary copy of
the statistic is created for evaluation purposes.
</action>
<action dev="tn" type="fix" issue="MATH-1205">
Methods "evaluate(...)" of class "Variance" changed the internal state
although it was stated differently in the javadoc.
</action>
<action dev="luc" type="fix" issue="MATH-1191">
Fixed ignored method parameters in QRDecomposition protected methods.
</action>
<action dev="luc" type="fix" issue="MATH-1212">
Changed javadoc as the RandomDataGenerator class does not implement
an interface anymore (the previous interface has been deprecated in
3.X and removed in 4.0).
</action>
<action dev="erans" type="update" issue="MATH-1206">
Added new API methods in "LeastSquaresProblem.Evaluation" (package
"o.a.c.m.fitting.leastsquares").
</action>
<action dev="erans" type="update" issue="MATH-1210">
"QRDecomposition": include information about the condition that
triggers a "SingularMatrixException".
</action>
<action dev="tn" type="update" issue="MATH-757">
Removed broken synchronization support in "ResizableDoubleArray".
</action>
<action dev="tn" type="add" issue="MATH-945">
Added method "T log10()" to interface "RealFieldElement".
</action>
<action dev="tn" type="update" issue="MATH-869">
"SpearmansCorrelation" will now throw an "MathIllegalArgumentException"
if provided with a "NaturalRanking" instance that uses "REMOVED" as "NaNStrategy".
</action>
<action dev="tn" type="update" issue="MATH-869">
"NullArgumentException" extends now "java.lang.NullPointerException"
instead of "MathIllegalArgumentException".
</action>
<action dev="tn" type="update" issue="MATH-839" due-to="Gilles Sadowski">
Renamed "cumulativeProbability(double, double)" to "probability(double, double)"
in "IntegerDistribution" and "RealDistribution".
</action>
<action dev="tn" type="add" issue="MATH-1039" due-to="Aleksei Dievskii">
Added logDensity(double) to RealDistribution and logProbability(int)
to IntegerDistribution interface. The implementations have already been
updated in release 3.3.
</action>
<action dev="tn" type="update" issue="MATH-1155">
WELL type pseudo-random number generators have been refactored:
the cached indirection index tables per instance are now stored
in a static instance. This reduces the initialization cost when
creating a new instance.
</action>
<action dev="tn" type="remove" issue="MATH-1050">
Removed "ArithmeticUtils#pow(int, long)" and "ArithmeticUtils#pow(long, long)".
</action>
<action dev="tn" type="update" issue="MATH-825" due-to="Gilles Sadowski">
Method "LaguerreSolver#laguerre(...)" has been made private.
</action>
<action dev="tn" type="update" issue="MATH-760" due-to="sebb">
Field "windowSize" in "DescriptiveStatistics" has been made private.
</action>
</release>
<release version="3.6.1" date="2016-03-21" description="
This is a minor bug fix release. It incorporates three bug fixes since version 3.6.
The minimum version of the Java platform required to compile and use
Commons Math 3.6.1 is Java 5.
">
<action dev="psteitz" type="update" issue="MATH-1317">
Add uniformity unit tests to "RandomGeneratorAbstractTest".
</action>
<action dev="psteitz" type="fix" issue="MATH-1316">
Fix code example in User Guide > Statistics > Multiple linear regression.
</action>
<action dev="evan" type="fix" issue="MATH-1342">
Fix ODE integrators when multiple events are nearly simultaneous.
</action>
</release>
<release version="3.6" date="2016-01-05" description="
This is a minor release: It combines bug fixes and new features.
Changes to existing features were made in a backwards-compatible
way such as to allow drop-in replacement of the v3.x JAR file.
Most notable among the new features are:
field-based version of Ordinary Differential Equations framework,
numerous improvements in distributions, statistics and neuralnet packages,
refactored implementation of microsphere interpolation algorithm,
explicit specification of rotation convention to use (both vector
operator and frame transform conventions are now available).
The minimum version of the Java platform required to compile and use
Commons Math is Java 5.
Users are encouraged to upgrade to this version as this release not
only includes bug fixes but also deprecates numerous classes and
methods that will be deleted from the next major release (4.0).
Caveat:
1. The implementation of the BOBYQA optimization algorithm is in alpha
state (cf. MATH-621): Many code paths are untested, and we are looking
for volunteers to improve the code readability, robustness and performance
and to extend the unit tests suite.
2. A few methods in the FastMath class are in fact slower that their
counterpart in either Math or StrictMath (cf. MATH-740 and MATH-901).
">
<action dev="psteitz" type="fix" issue="MATH-1310">
Improved performance and accuracy of 2-sample KolmogorovSmirnov tests.
</action>
<action dev="luc" type="fix" issue="MATH-1297">
Detect start failures with multi-step ODE integrators.
</action>
<action dev="luc" type="add" issue="MATH-1302,MATH-1303">
Added a RotationConvention enumerate to allow specifying the semantics
or axis/angle for rotations. This enumerate has two values:
VECTOR_OPERATOR and FRAME_TRANSFORM.
</action>
<action dev="luc" type="fix" due-to="Julien Queyrel">
Fixed stability issues with Adams-Bashforth and Adams-Moulton ODE integrators.
The integrators did not estimate the local error properly and were sometimes
stuck attempting to reduce indefinitely the step size as they thought the
error was too high.
</action>
<action dev="luc" type="add" issue="MATH-1288">
Added a field-based version of Ordinary Differential Equations framework.
This allows integrating ode that refer to RealField elements instead of
primitive double, hence opening the way to use DerivativeStructure to
compute partial differential without using variational equations, or to solve
ode with extended precision using Dfp.
</action>
<action dev="erans" type="fix" issue="MATH-1295" due-to="Luke Lindsay">
Increased default value for number of allowed evaluations in
"o.a.c.m.optim.univariate.BracketFinder".
</action>
<action dev="psteitz" type="update" issue="MATH-1246">
Modified 2-sample KolmogorovSmirnovTest to handle ties in sample data. By default,
ties are broken by adding random jitter to input data. Also added bootstrap method
analogous to ks.boot in R Matching package.
</action>
<action dev="tn" type="fix" issue="MATH-1294" due-to="Kamil Włodarczyk">
Fixed potential race condition in PolynomialUtils#buildPolynomial in
case polynomials are generated from multiple threads. Furthermore, the
synchronization is now performed on the coefficient list instead of the class.
</action>
<action dev="psteitz" type="update" issue="MATH-1246">
Added bootstrap method to KolmogorovSmirnov test.
</action>
<action dev="psteitz" type="update" issue="MATH-1287">
Added constructors taking sample data as arguments to enumerated real and integer distributions.
</action>
<action dev="oertl" type="fix" issue="MATH-1269">
Fixed FastMath.exp that potentially returned NaN for non-NaN argument.
</action>
<action dev="luc" type="add">
Added a nth order Brent solver for general real fields, replacing the former
solver that was restricted to Dfp fields only.
</action>
<action dev="erans" type="add" issue="MATH-1286">
New "Range" inner class of "o.a.c.m.util.IntegerSequence".
</action>
<action dev="oertl" type="fix" issue="MATH-1285" due-to="Pim van der Hoorn ">
Updated reference in ZipfDistribution's javadoc.
</action>
<action dev="tn" type="fix" issue="MATH-1283" due-to="Jean Noel Delavalade">
Fixed "Gamma#gamma(double)" for negative values smaller than -20.
</action>
<action dev="tn" type="fix" issue="MATH-1237" due-to="Ken Williams">
Fixed javadoc of methods {floorDiv,floorMod} in class "FastMath".
</action>
<action dev="tn" type="add" issue="MATH-837">
"AggregateSummaryStatistics" can now aggregate any kind of
"StatisticalSummary".
</action>
<action dev="erans" type="fix" issue="MATH-1279">
Check precondition (class "o.a.c.m.random.EmpiricalDistribution").
</action>
<action dev="erans" type="add" issue="MATH-1278">
Deep copy of "Network" (package "o.a.c.m.ml.neuralnet") to allow evaluation of
of intermediate states during training.
</action>
<action dev="oertl" type="update" issue="MATH-1276">
Improved performance of sampling and inverse cumulative probability calculation
for geometric distributions.
</action>
<action dev="oertl" type="fix" issue="MATH-1277" due-to="Marc Rosen">
Fixed incorrect Kendall's tau coefficient calculation due to internal integer overflow.
</action>
<action dev="oertl" type="update" issue="MATH-1274">
Representation of Kolmogorov-Smirnov statistic as integral value.
</action>
<action dev="luc" type="add" issue="MATH-1273" due-to="Qualtagh">
Added negative zero support in FastMath.pow.
</action>
<action dev="erans" type="add" issue="MATH-1270">
Various SOFM visualizations (in package "o.a.c.m.ml.neuralnet.twod.util"):
Unified distance matrix, hit histogram, smoothed data histograms,
topographic error, quantization error.
</action>
<action dev="erans" type="add" issue="MATH-1268">
New interfaces to be implemented by algorithms that visualizes properties
of a "NeuronSquareMesh2D" (package "o.a.c.m.ml.neuralnet.twod.util").
</action>
<action dev="luc" type="add" >
Reimplemented pow(double, double) in FastMath, for better accuracy in
integral power cases and trying to fix erroneous JIT optimization again.
</action>
<action dev="luc" type="add" >
Added a pow(double, long) method in FastMath.
</action>
<action dev="luc" type="fix" issue="MATH-1266">
Fixed split/side inconsistencies in BSP trees.
</action>
<action dev="erans" type="add" issue="MATH-1265">
"NeuronSquareMesh2D" (package "o.a.c.m.ml.neuralnet.twod") implements "Iterable".
</action>
<action dev="erans" type="add" issue="MATH-1264">
"MapUtils" (package "o.a.c.m.ml.neuralnet"): Method to sort units according to distance
from a given vector.
</action>
<action dev="erans" type="add" issue="MATH-1263">
Accessor (class "o.a.c.m.ml.neuralnet.twod.NeuronSquareMesh2D").
</action>
<action dev="erans" type="add" issue="MATH-1259">
New "IntegerSequence" class (in package "o.a.c.m.util") with "Incrementor" inner class.
</action>
<action dev="oertl" type="update" issue="MATH-1220">
Faster generation of Zipf distributed random numbers by using rejection-inversion sampling.
</action>
<action dev="oertl" type="update" issue="MATH-990">
Improved performance of sort-in-place methods by avoiding boxing.
</action>
<action dev="erans" type="fix" issue="MATH-1261" due-to="Osamu Ikeuchi">
Avoid overflow in "Fraction" (multiplication or division by an int).
</action>
<action dev="oertl" type="fix" issue="MATH-1258" due-to="Gunel Jahangirova">
Added check for equal array lengths to distance measure functions.
</action>
<action dev="erans" type="fix" issue="MATH-1257" due-to="Bill Murphy">
Better accuracy in computation of cumulative probability of "NormalDistribution"
(package "o.a.c.m.distribution").
</action>
<action dev="erans" type="fix" issue="MATH-1256">
Boundary check to construct an "Interval" (package "o.a.c.m.geometry.euclidean.oned").
</action>
<action dev="erans" type="fix" issue="MATH-1255">
Wrong neighbourhood size in class "KohonenUpdateAction" (package "o.a.c.m.ml.neuralnet.sofm").
</action>
<action dev="psteitz" type="fix" issue="MATH-1252" due-to="John Bay">
ResizableDoubleArray constructor does not work with double array of size 1.
</action>
<action dev="erans" type="fix" issue="MATH-1251">
Fixed initial value of "number of calls" counter in class "KohonenUpdateAction"
(package "o.a.c.m.ml.neuralnet.sofm").
</action>
<action dev="erans" type="add" issue="MATH-1250">
"Neuron" class (package "o.a.c.m.ml.neuralnet"): added methods that can be used
to assess concurrency performance.
</action>
<action dev="erans" type="fix" issue="MATH-1248" due-to="Chris Popp">
Removed unnecessary allocations in "BigFraction" (package "o.a.c.m.fraction").
</action>
<action dev="psteitz" type="fix" issue="MATH-1245">
Fixed error in computing discrete distribution of D statistics for small-sample
2-sample Kolmogorov-Smirnov tests. Error was causing incorrect p-values returned
by exactP and monteCarloP methods (used by default for small, mid-size samples).
</action>
<action dev="erans" type="update" issue="MATH-1243">
Refactored implementation of the "miscrosphere projection"
interpolation algorithm.
New classes: "MicrosphereProjectionInterpolator",
"InterpolatingMicrosphere" and "InterpolatingMicrosphere2D"
replace "MicrosphereInterpolator" and "MicrosphereInterpolatingFunction".
(package "o.a.c.m.analysis.interpolation").
</action>
<action dev="erans" type="add" issue="MATH-1244">
Method "cosAngle" in "o.a.c.m.util.MathArrays".
</action>
<action dev="tn" type="fix" issue="MATH-1240">
"KolmogorovSmirnovTest#ksSum(...)" returned wrong result in case the provided
t-parameters was zero. This affected the calculation of "approximateP(...)" for
identical samples.
</action>
<action dev="tn" type="fix" issue="MATH-1242" due-to="Otmar Ertl">
Improved performance to calculate the two-sample Kolmogorov-Smirnov test
via monte carlo simulation ("KolmogorovSmirnovTets#monteCarloP(...)").
</action>
<action dev="tn" type="fix" issue="MATH-1241" due-to="Aleksei Dievskii">
A "StackOverflowException" was thrown when passing Double.NaN or infinity
to "Gamma#digamma(double)" or "Gamma#trigamma(double)". Now the input value
is propagated to the output if it is not a real number.
</action>
<action dev="tn" type="fix" issue="MATH-1232" due-to="Otmar Ertl">
Improved performance of calculating the two-sample Kolmogorov-Smirnov
test statistic.
</action>
<action dev="luc" type="fix" issue="MATH-1232">
Fixed error message for unknown parameter name in ODE.
</action>
<action dev="luc" type="fix" issue="MATH-1226">
Fixed wrong event detection in case of close events pairs.
</action>
<action dev="tn" type="fix">
Fix potential branching errors in "FastMath#pow(double, double)" when
passing special values, i.e. infinity, due to erroneous JIT optimization.
</action>
<action dev="luc" type="fix" issue="MATH-1118" >
Fixed equals/hashcode contract failure for Dfp.
</action>
<action dev="luc" type="fix" issue="MATH-1223" >
Fixed wrong splitting of huge number in extended accuracy algorithms.
</action>
<action dev="tn" type="fix" issue="MATH-1153" due-to="Sergei Lebedev">
Improve performance of "BetaDistribution#sample()" by using Cheng's algorithm.
</action>
<action dev="tn" type="fix" issue="MATH-1197">
Computation of 2-sample Kolmogorov-Smirnov statistic in case of ties
was not correct.
</action>
</release>
<release version="3.5" date="2015-04-17" description="
This is a minor release: It combines bug fixes and new features.
Changes to existing features were made in a backwards-compatible
way such as to allow drop-in replacement of the v3.4.1 JAR file.
Most notable among the new features are:
getQuadraticMean method added to DescriptiveStatistics SummaryStatistics
which calculates the root mean square, and a way to build polyhedrons sets
from list of vertices and the facets they belong too. There have been
numerous bug fixes. See below for a full list.
The minimum version of the Java platform required to compile and use
Apache Commons Math is Java 5.
Users are encouraged to upgrade to this version as this release not
only includes bug fixes but also deprecates numerous classes and
methods that will be deleted from the next major release (4.0).
Caveat:
1. The implementation of the BOBYQA optimization algorithm is in alpha
state (cf. MATH-621): Many code paths are untested, and we are looking
for volunteers to improve the code readability, robustness and performance
and to extend the unit tests suite.
2. A few methods in the FastMath class are in fact slower that their
counterpart in either Math or StrictMath (cf. MATH-740 and MATH-901).
">
<action dev="luc" type="fix" issue="MATH-1195">
Moved FastMathTestPerformance out of the main test tree, as is is
a benchmark rather than a test.
</action>
<action dev="luc" type="add">
Added a way to build polyhedrons sets from a list of vertices and
facets specified using vertices indices.
</action>
<action dev="psteitz" type="update" issue="MATH-1213">
Added Laguerre complex solve methods taking maxEval parameters.
</action>
<action dev="luc" type="fix" issue="MATH-1191">
Fixed ignored method parameters in QRDecomposition protected methods.
</action>
<action dev="luc" type="fix" issue="MATH-1211" due-to="Mike Zimmerman">
Fixed wrong selection of line/polyhedron intersection point.
</action>
<action dev="luc" type="fix" issue="MATH-1162">
Improved fix for corner cases in BSP-tree merging, when cut sub-hyperplanes vanish.
</action>
<action dev="tn" type="fix" issue="MATH-1209" due-to="Jonathan Ogilvie">
Fixed link to algorithm description in "PoissonDistribution#sample()".
</action>
<action dev="psteitz" type="fix" issue="MATH-1208">
EmpiricalDistribution cumulativeProbability can return NaN when evaluated within a constant bin.
</action>
<action dev="psteitz" type="fix" issue="MATH-1203">
EmpiricalDistribution getKernel fails for buckets with only multiple instances of the same value.
</action>
<action dev="evanward" type="fix" issue="MATH-1204">
"UnivariateSolverUtils#bracket(...)" sometimes failed to bracket
if a reached the lower bound.
</action>
<action dev="sebb" type="add" issue="MATH-1198">
Simplified "FastMath#exp(double)" in order to avoid a potential
Java 1.5 JIT bug when calling with negative infinity as argument.
</action>
<action dev="erans" type="add" issue="MATH-1199">
Added method "getQuadraticMean()" to "DescriptiveStatistics"
and "SummaryStatistics" which calculates the root mean square.
</action>
</release>
<release version="3.4.1" date="2015-01-11" description="
This is a maintenance release: It fixes issue MATH-1188.
">
<action dev="sebb" type="fix" issue="MATH-1188">
Fixed non-Java1.5 code in BesselJ.
</action>
</release>
<release version="3.4" date="2014-12-26" description="
This is a minor release: It combines bug fixes and new features.
Changes to existing features were made in a backwards-compatible
way such as to allow drop-in replacement of the v3.3 JAR file.
Most notable among the new features are:
new distributions (Gumbel, Laplace, Logistic, Nakagami), and
improvements on percentiles algorithms (better handling for NaNs
in the regular algorithm, plus a new storeless implementation).
Bicubic and tricubic interpolators have been fixed and new
implementations added. There have been numerous bug fixes and
several improvements on performances or robustness. See below
for a full list.
The minimum version of the Java platform required to compile and use
Apache Commons Math is Java 5.
Users are encouraged to upgrade to this version as this release not
only includes bug fixes but also deprecates numerous classes and
methods that will be deleted from the next major release (4.0).
Caveat:
1. The implementation of the BOBYQA optimization algorithm is in alpha
state (cf. MATH-621): Many code paths are untested, and we are looking
for volunteers to improve the code readability, robustness and performance
and to extend the unit tests suite.
2. A few methods in the FastMath class are in fact slower that their
counterpart in either Math or StrictMath (cf. MATH-740 and MATH-901).
">
<action dev="psteitz" type="add" issue="MATH-1066" due-to="Brian Wignall">
Added Bessel functions of the first kind, based on NetLib implementation.
</action>
<action dev="tn" type="fix" issue="MATH-1142" due-to="Arne Schwarz">
Improve performance of kalman gain calculation in "KalmanFilter" by
directly solving a linear system rather than computing the matrix
inverse.
</action>
<action dev="psteitz" type="fix" issue="MATH-1181">
Fixed integer overflow in KolmogorovSmirnovTest causing 2-sample test
to use exact method when the product of the sample sizes exceeds
Integer.MAX_VALUE, resulting in effectively hung execution.
</action>
<action dev="erans" type="add" issue="MATH-1180">
Method to create a sequence of integers (in "o.a.c.m.util.MathArrays").
</action>
<action dev="erans" type="add" issue="MATH-1172">
New class "SimpleCurveFitter": Boiler-plate code to allow fitting of
a user-defined parametric function.
</action>
<action dev="erans" type="add" issue="MATH-1173">
New classes "TricubicInterpolatingFunction" and "TricubicInterpolator" to
replace "TricubicSplineInterpolatingFunction" and "TricubicSplineInterpolator".
</action>
<action dev="erans" type="fix" issue="MATH-1178" due-to="Dmitriy">
Fixed example in userguide ("stat" section).
</action>
<action dev="erans" type="fix" issue="MATH-1175" due-to="Karsten Loesing">
Fixed inverse cumulative probability of 0 in "LaplaceDistribution".
</action>
<action dev="erans" type="add" issue="MATH-1166">
New classes "BicubicInterpolatingFunction" and "BicubicInterpolator" to
replace "BicubicSplineInterpolatingFunction" and "BicubicSplineInterpolator".
</action>
<action dev="luc" type="update" >
Spurious vertices in the middle of otherwise straight edges are now
filtered out when rebuilding polygons boundaries from BSP trees.
</action>
<action dev="luc" type="fix" issue="MATH-1174" >
Fixed a problem with too thin polygons considered to have infinite size.
</action>
<action dev="luc" type="add" >
Boundary attributes in regions now provides the BSP tree nodes that