-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchanges.xml
More file actions
2695 lines (2662 loc) · 141 KB
/
Copy pathchanges.xml
File metadata and controls
2695 lines (2662 loc) · 141 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>
<properties>
<title>Commons Math Release Notes</title>
</properties>
<body>
<release version="x.y" date="TBD" description="TBD">
<action dev="erans" type="add" issue="MATH-991">
"PolynomialSplineFunction": added method "isValidPoint" that
checks whether a point is within the interpolation range.
</action>
<action dev="erans" type="add" issue="MATH-989">
"BicubicSplineInterpolatingFunction": added method "isValidPoint" that
checks whether a point is within the interpolation range.
</action>
<action dev="erans" type="fix" issue="MATH-1021" due-to="Brian Bloniarz">
Fixed overflow in "HypergeometricDistribution".
</action>
<action dev="erans" type="fix" issue="MATH-1020">
Fixed "nextPermutation" method (in "o.a.c.m.random.RandomDataGenerator").
This bug does not affect applications using a previous version of
Commons Math.
</action>
<action dev="erans" type="fix" issue="MATH-1019">
Buggy (private) method "shuffle" in "o.a.c.m.random.RandomDataGenerator"
superseded by "MathArrays.shuffle" (cf. MATH-1010).
</action>
<action dev="erans" type="add" issue="MATH-1010">
Utility to shuffle an array.
</action>
<action dev="erans" type="fix" issue="MATH-1012">
Created "RandomGeneratorFactory" (package "o.a.c.m.random") to reduce
code duplication in "RandomDataGenerator".
</action>
<action dev="erans" type="add" issue="MATH-1008">
Created package ("o.a.c.m.fitting.leastsquares") for least-squares
fitting, with implementations of "LevenbergMarquardtOptimizer" and
"GaussNewtonOptimizer" adapted to a new ("fluent") API.
</action>
<action dev="erans" type="update" issue="MATH-1011">
Improved implementation of "sample" method of "UniformIntegerDistribution".
</action>
<action dev="sebb" type="add" issue="MATH-1007">
Add mode function to StatUtils class
</action>
<action dev="psteitz" type="update" issue="MATH-1006">
Enabled LaTeX expressions in javadoc and site docs via MathJax.
</action>
<action dev="sebb" type="add" issue="MATH-1000">
Add mode function to Frequency class.
</action>
<action dev="erans" type="fix" issue="MATH-1005" due-to="Roman Werpachowski">
Fixed "MathArrays.linearCombination" when array length is 1.
</action>
<action dev="erans" type="add" issue="MATH-997">
Implemented Gauss-Hermite quadrature scheme (in package
"o.a.c.m.analysis.integration.gauss").
</action>
<action dev="erans" type="update" issue="MATH-995">
Documented limitation of "IterativeLegendreGaussIntegrator" (added
warning about potential wrong usage).
</action>
<action dev="erans" type="fix" issue="MATH-993">
In "GaussNewtonOptimizer", check for convergence before updating the
parameters estimation for the next iteration.
</action>
<action dev="luc" type="add" issue="MATH-967" due-to="Oleksandr Kornieiev">
Added midpoint integration method.
</action>
<action dev="luc" type="fix" issue="MATH-988" due-to="Andreas Huber">
Fixed NullPointerException in 2D and 3D sub-line intersections.
</action>
<action dev="psteitz" type="update" issue="MATH-987" due-to="Ajo Fod">
Added append method to SimpleRegression, making this class map/reducible.
</action>
<action dev="psteitz" type="update" issue="MATH-978" due-to="Ajo Fod">
Added append method to StorelessCovariance, making this class map/reducible.
</action>
<action dev="tn" type="add" issue="MATH-851" due-to="Clemens Novak">
Added method "MathArrays#convolve(double[], double[])" to compute the
discrete, linear convolution of two sequences.
</action>
<action dev="tn" type="add" issue="MATH-977">
Added low-discrepancy random generator "HaltonSequenceGenerator".
</action>
<action dev="tn" type="add" issue="MATH-826" due-to="Sam Halliday">
Added low-discrepancy random generator "SobolSequenceGenerator".
</action>
<action dev="tn" type="add" issue="MATH-973" due-to="Mauro Tortonesi">
Added "GeometricDistribution" to "o.a.c.m.distribution" package.
</action>
<action dev="tn" type="add" issue="MATH-968" due-to="Alex Gryzlov">
Added "ParetoDistribution" to "o.a.c.m.distribution" package.
</action>
<action dev="tn" type="fix" issue="MATH-962">
Added clarification to the javadoc of "VectorFormat" and derived classes
in case "," is used as a separator.
</action>
<action dev="tn" type="add" issue="MATH-898">
Added "FuzzyKMeansClusterer" to "o.a.c.m.ml.clustering" package.
</action>
<action dev="luc" type="fix" issue="MATH-965" >
Fixed inconsistent dimensions preventing use of secondary states
in ODE events.
</action>
</release>
<release version="3.2" date="2013-04-06" 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.1[.1] JAR file.
Most notable among the new features are: Framework for automatic
differentiation, Lévy distribution, prime numbers, enumerated
distributions, real field allowing to use several algorithms
(solvers, linear algebra, 3D geometry) with different real-like
classes (high accuracy or automatic differentiation), spherical
coordinates with gradients and Hessians, reorganized clustering
package with different distance implementations.
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="luc" type="fix" issue="MATH-961" >
Fixed wrong array dimensions in secondary equations handling in some cases.
</action>
<action dev="luc" type="fix" issue="MATH-960" >
Fixed missing side effects of secondary equations on main state in
Ordinary Differential Equations integration.
</action>
<action dev="luc" type="fix" issue="MATH-957" due-to="Evan Ward">
Fixed inverse cumulative probability for uniform distribution.
</action>
<action dev="tn" type="add" issue="MATH-917,MATH-918,MATH-919,MATH-920" due-to="Reid Hochstedler">
All contents of package "o.a.c.m.stat.clustering" refactored into
new package "o.a.c.m.ml.clustering" and added support for additional
distance measures in package "o.a.c.m.ml.distance": "CanberraDistance",
"ChebyshevDistance", "EuclideanDistance" and "ManhattanDistance".
</action>
<action dev="tn" type="fix" issue="MATH-891">
"SpearmansCorrelation" now works correctly in case of a provided
"NaturalRanking" with a "NaNStrategy.REMOVED" strategy and the input
data contains NaN values. From version 4.0 onwards this strategy will
not be supported anymore.
</action>
<action dev="erans" type="update" issue="MATH-956">
Replaced hard-coded numbers in "LevenbergMarquardtOptimizer".
</action>
<action dev="luc" type="update" issue="MATH-955" due-to="Evan Ward">
Fixed loading of test file when path contains a space.
</action>
<action dev="luc" type="update" issue="MATH-954" due-to="Charles Cooper">
Improved speed of FastMath.abs methods for all signatures, by removing branching.
</action>
<action dev="luc" type="update" issue="MATH-953" due-to="Charles Cooper">
Improved speed of several FastMath methods.
</action>
<action dev="luc" type="fix" issue="MATH-934">
Fixed Complex.reciprocal() for zero argument.
</action>
<action dev="luc" type="update" issue="MATH-951" due-to="Charles Cooper">
Improved speed of FastMath copysign methods.
</action>
<action dev="erans" type="add" issue="MATH-817" due-to="Jared Becksfort">
Added Multivariate Normal Mixture Model Fitting by Expectation Maximization.
</action>
<action dev="tn" type="fix" issue="MATH-862">
AbstractRealMatrix will now check for rectangular input arrays in
its copySubMatrix methods.
</action>
<action dev="erans" type="fix" issue="MATH-949">
Increment iteration counter in optimization algorithms.
</action>
<action dev="luc" type="add" issue="MATH-811" >
Added a way to trigger only increasing or decreasing events in ODE integration.
</action>
<action dev="luc" type="fix" issue="MATH-950" >
Fixed missing update in ODE event handlers, when a RESET_STATE is triggered.
</action>
<action dev="psteitz" type="update" issue="MATH-671">
Made EmpiricalDisribution smoothing kernel pluggable.
</action>
<action dev="psteitz" type="add" issue="MATH-946" due-to="Jared Becksfort">
Added array-scaling methods to MathArrays.
</action>
<action dev="luc" type="update" issue="MATH-877" due-to="Peter Andrews">
Allow direct use of SummaryStatistics in one-way ANOVA.
</action>
<action dev="luc" type="fix" issue="MATH-947" >
Fixed infinite loop when NaN occurs in singular value decomposition.
</action>
<action dev="luc" type="add" issue="MATH-460" due-to="Andrew Waterman">
Added the Lévy distribution.
</action>
<action dev="luc" type="update" >
Normal distribution now uses a direct implementation of the
inverse error function to compute inverse cumulative probability
instead of relying on a numerical solver. This is much faster,
more accurate and does not need convergence threshold.
</action>
<action dev="luc" type="add" issue="MATH-948" >
Implementations for inverse error function and inverse complementary
error functions have been added.
</action>
<action dev="luc" type="fix" issue="MATH-580" >
Extended ranges for FastMath performance tests.
</action>
<action dev="luc" type="fix" issue="MATH-925" >
Finalized implementation of diagonal matrix.
</action>
<action dev="luc" type="fix" issue="MATH-630" due-to="Christopher Nix" >
Added rank revealing QR decomposition.
</action>
<action dev="luc" type="fix" issue="MATH-570" due-to="Arne Plöse" >
ArrayFieldVector can now be constructed from any FieldVector.
</action>
<action dev="luc" type="fix" issue="MATH-861" due-to="Sébastien Brisard" >
Improved checking of null vector elements.
</action>
<action dev="luc" type="add" issue="MATH-845" due-to="Sébastien Riou" >
Added utilities for prime numbers.
</action>
<action dev="luc" type="fix" issue="MATH-936" >
Fixed generation of long random numbers between two bounds.
</action>
<action dev="luc" type="fix" issue="MATH-942" due-to="Piotr Wydrych" >
Fixed creation of generic array.
</action>
<action dev="luc" type="add" issue="MATH-914" >
Check bounds in multi-start vector optimizers.
</action>
<action dev="luc" type="add" issue="MATH-941" due-to="Piotr Wydrych" >
Added discrete distributions.
</action>
<action dev="luc" type="fix" issue="MATH-940" due-to="Piotr Wydrych" >
Fixed abstract test class naming that broke ant builds.
</action>
<action dev="luc" type="fix" issue="MATH-939" due-to="Piotr Wydrych" >
Allow covariance to be computed for one-dimensional variables.
</action>
<action dev="luc" type="fix" issue="MATH-938" >
Fixed accuracy of 3D Line.revert().
</action>
<action dev="luc" type="fix" issue="MATH-937" >
Improved javadoc to explain how switching functions should
behave across events in ODE events detection.
</action>
<action dev="luc" type="add" >
Added Hermite interpolator for RealFieldElement instances.
</action>
<action dev="luc" type="add" >
Added RealFieldElement interface to represent anything that is
real number like, implemented by both Decimal64, Dfp and DerivativeStructure.
</action>
<action dev="luc" type="add" >
Added partial derivatives computation for 3D vectors and rotations.
</action>
<action dev="luc" type="fix" issue="MATH-935" >
Fixed DerivativeStructure.atan2 for special cases when both arguments are +/-0.
</action>
<action dev="luc" type="add" >
Added accurate linear combination of DerivativeStructure instances,
avoiding cancellation.
</action>
<action dev="erans" type="update" issue="MATH-933">
Throw "MathUnsupportedOperationException" from optimizers that do
not support constraints (previous behaviour was to silently ignore
the "SimpleBounds" argument).
</action>
<action dev="luc" type="add" >
Added conversion of gradients and Hessians from spherical to Cartesian
coordinates in 3D.
</action>
<action dev="erans" type="update" issue="MATH-931" due-to="Sean Owen">
Greater efficiency in "UnitSphereRandomVectorGenerator".
</action>
<action dev="tn" type="fix" issue="MATH-930">
Improved class javadoc wrt convergence criteria and added
additional constructors to override the default epsilon and cut-off
values in class "SimplexSolver".
</action>
<action dev="erans" type="fix" issue="MATH-929" due-to="Piotr Wydrych">
Fixed truncated value in "MultivariateNormalDistribution".
</action>
<action dev="erans" type="fix" issue="MATH-927" due-to="Dennis Hendriks">
Made "BitStreamGenerator" implement the "Serializable" interface.
</action>
</release>
<release version="3.1.1" date="2013-01-14" description="
This is a point release: It fixes a bug that renders version 3.1 unusable
in some situations (see details below).
">
<action dev="erans" type="fix" issue="MATH-924">
Added a (minimal) "DiagonalMatrix" implementation, such that the
case of a large number of uncorrelated observations is handled
efficiently.
</action>
</release>
<release version="3.1" date="2012-12-23" 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.0 JAR file.
Most notable among the new features are: Framework for automatic
differentiation, multivariate mixture model distribution, quaternions,
Gauss integration framework, Hermite polynomial interpolation,
eigenvalue decomposition of non-symmetric matrices, DBSCAN clustering.
Most notable among the changes are: Greatly improved precision in
the implementation of the Gamma and Beta special functions, optimizers
API, deprecation of the sparse vector implementation.
The minimal 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="erans" type="add" issue="MATH-874">
All contents of package "o.a.c.m.optimization" refactored into
new packages "o.a.c.m.optimization" and "o.a.c.m.fitting".
</action>
<action dev="psteitz" type="update" issue="MATH-672">
Added methods to EmpiricalDistribution to implement the RealDistribution
interface.
</action>
<action dev="tn" type="add" issue="MATH-897" due-to="Reid Hochstedler">
DBSCAN clustering algorithm (in package "o.a.c.m.stat.clustering").
</action>
<action dev="erans" type="add" issue="MATH-910">
Added element-by-element addition, subtraction, multiplication and division
(in class "o.a.c.m.util.MathArrays").
</action>
<action dev="erans" type="fix" issue="MATH-904" due-to="Jeff Hain">
Fixed "pow" method in class "FastMath".
</action>
<action dev="erans" type="update" issue="MATH-902" due-to="Bruce A. Johnson">
Created a "maximum number of iterations" stopping criterion in the
convergence checkers (package "o.a.c.m.optimization") that allows the
optimizers to return the "current best point" even if the convergence
criteria are not met.
</action>
<action dev="erans" type="fix" issue="MATH-905" due-to="Jeff Hain">
Fixed overflow in "sinh" and "cosh" methods in class "FastMath".
</action>
<action dev="celestin" type="update" issue="MATH-849">
Accuracy improvements of Gamma.logGamma, and implementation of
Gamma.gamma. Both new implementations are based on the NSWC
Library of Mathematical Functions.
</action>
<action dev="erans" type="add" issue="MATH-902">
New constructor in the custom checker classes (package
"o.a.c.m.optimization") for passing the number of iterations
after which the "convergence test" will return true.
This allows an algorithm to return the best solution found (after
the user-defined number of iterations) even if it does not meet the
other convergence criteria.
</action>
<action dev="tn" type="update" issue="MATH-906" due-to="Patrick Meyer">
Use "NaNStrategy#FAILED" as default strategy in "NaturalRanking".
</action>
<action dev="erans" type="add" issue="MATH-899">
Added a new "SynchronizedRandomGenerator" that wraps another
"RandomGenerator" with all methods being synchronized, thus
rendering the code thread-safe (at some efficiency cost).
</action>
<action dev="tn" type="add" issue="MATH-893" due-to="Patrick Meyer">
Add new "NaNStrategy": FAILED, used in "RankingAlgorithm" implementations.
Any encountered input value that succeeds a "Double#isNaN" check, results in a
"NotANumberException".
</action>
<action dev="tn" type="add" issue="MATH-892">
Add new constructor to "SpearmansCorrelation" class which allows to specify the
"RankingAlgorithm" to be used.
</action>
<action dev="luc" type="fix" issue="MATH-890">
Fixed naming inconsistencies between Interval and IntervalsSet classes.
</action>
<action dev="luc" type="add" issue="MATH-889">
Added a method to check points in the Interval class, with a tolerance for boundary.
</action>
<action dev="psteitz" type="add" issue="MATH-878" due-to="Radoslav Tsvetkov">
Added G-test statistics.
</action>
<action dev="erans" type="add" issue="MATH-883">
New "getSquareRoot" method in class "EigenDecomposition" (package
"o.a.c.m.linear").
</action>
<action dev="erans" type="update" issue="MATH-884">
Added "isSymmetric" and "checkSymmetric" in "MatrixUtils" (package
"o.a.c.m.linear").
</action>
<action dev="psteitz" type="update" issue="MATH-885">
Moved private array argument validation methods from ChiSquareTest to MathArrays.
</action>
<action dev="erans" type="add" issue="MATH-816" due-to="Jared Becksfort">
New class for generic multivariate mixture model distributions.
</action>
<action dev="tn" type="fix" issue="MATH-759" due-to="sebb">
Use getter/setter methods of super class for access to field "windowSize" in
"ListUnivariateImpl".
</action>
<action dev="luc" type="fix" issue="MATH-880">
Improved construction of polygons with an additional constructor, more robust numerically.
</action>
<action dev="tn" type="add" issue="MATH-474" due-to="Dan Checkoway">
Added new methods "merge(Frequency)", "merge(Collection<Frequency>)",
"incrementValue(Comparable<?>, long)" and "entrySetIterator()" to the "Frequency" class.
</action>
<action dev="tn" type="fix" issue="MATH-778" due-to="Sébastien Brisard">
Allow unlimited input values for "Dfp#multiply(int)".
</action>
<action dev="luc" type="fix" issue="MATH-641" due-to="Curtis Jensen">
Added distance to point to 2D Line and Segment.
</action>
<action dev="erans" type="fix" issue="MATH-783">
"PowellOptimizer" (package "o.a.c.m.optimization.direct") uses
"BrentOptimizer" as its internal line search optimizer. The fix
forces the convergence criterion of "BrentOptimizer" to use
function values (instead of domain values).
</action>
<action dev="erans" type="fix" issue="MATH-865,MATH-867,MATH-868" due-to="Nikolaus Hansen, Frank Hess">
Numerical accuracy problems arose in "CMAESOptimizer" (in package
"o.a.c.m.optimization.direct") when large finite boundaries were
specified, because the interval of allowed values was mapped to
[0, 1]. This mapping was not necessary and its removal allows
finite and infinite boundaries to be used together.
</action>
<action dev="luc" type="fix" >
Fixed some issues in nth root derivatives at 0.
</action>
<action dev="tn" type="fix" issue="MATH-848">
Fixed transformation to a Schur matrix for certain input matrices.
</action>
<action dev="erans" type="add" issue="MATH-860">
Added matrix "block inversion" (in "o.a.c.m.linear.MatrixUtils").
</action>
<action dev="erans" type="fix" issue="MATH-864" due-to="Frank Hess">
"CMAESOptimizer": Solution was not constrained to lie within the
provided boundaries.
</action>
<action dev="erans" type="add" issue="MATH-863" due-to="Julien Anxionnat">
New "Quaternion" class (package "o.a.c.m.complex").
</action>
<action dev="erans" type="add" issue="MATH-866" due-to="Yannick Tanguy">
Added method to test for floating-point numbers equality with a
relative tolerance (class "o.a.c.m.util.Precision").
</action>
<action dev="tn" type="fix" issue="MATH-666">
Deprecated "FieldVector#getData()" in favor of "toArray()".
</action>
<action dev="luc" type="fix" issue="MATH-789">
Fixed an error in rectangular Cholesky decomposition.
</action>
<action dev="psteitz" type="update" issue="MATH-859">
Clarified definition of isSupportXxxBoundInclusive in RealDistribution
interface, made code consistent with the definition, and deprecated
these methods, marking for removal in 4.0.
</action>
<action dev="erans" type="update" issue="MATH-841" due-to="Sebastien Riou">
Performance improvement in computation of the greatest common divisor
(in class "o.a.c.m.util.ArithmeticUtils").
</action>
<action dev="erans" type="fix" issue="MATH-855">
Added a check so that the returned point will always be the best one.
</action>
<action dev="luc" type="add" >
Added a NewtonRaphsonSolver that uses the new differentiation package
to define the function to solve. This class is intended to replace the
former NewtonSolver which is deprecated.
</action>
<action dev="psteitz" type="update" issue="MATH-850">
Added RandomDataGenerator to replace RandomDataImpl and deprecated
RandomData interface and RandomDataImpl class. Deprecated
nextInversionDeviate methods from RandomDataImpl class. Ensured that
all nextXxx methods in RandomDataImpl/RandomDataGenerator use the
configured RandomGenerator.
</action>
<action dev="erans" type="fix" issue="MATH-844">
Generate an exception for rare ill-conditioned cases in "HarmonicFitter"
guessing procedure (package "o.a.c.m.optimization.fitting").
</action>
<action dev="erans" type="add" issue="MATH-815" due-to="Jared Becksfort">
New interface for multivariate distributions.
Added multivariate normal distribution.
</action>
<action dev="luc" type="add" >
Added a utility method to compute Stirling numbers of the second kind.
</action>
<action dev="luc" type="add" >
Added a new package dealing with differentials, for one or more free
parameters and derivation order 1 or higher.
</action>
<action dev="tn" type="add" issue="MATH-777" due-to="Reid Hochstedler">
Added additional crossover policies: "CycleCrossover", "NPointCrossover",
"OrderedCrossover" and "UniformCrossover".
</action>
<action dev="tn" type="fix" issue="MATH-828">
Improved numerical stability of "SimplexSolver" by introducing Bland's rule
to prevent cycling and a cutoff threshold to zero out very small values.
</action>
<action dev="tn" type="fix" issue="MATH-836" due-to="Baste Nesse Buanes">
Fixed overflow detection for negative values in constructor of class "Fraction".
</action>
<action dev="erans" type="fix" issue="MATH-835" due-to="Baste Nesse Buanes">
Fixed overflow in method "percentageValue" in class "Fraction".
</action>
<action dev="erans" type="fix" issue="MATH-622">
Raised (to 10) the default number of fractional digits to print out.
</action>
<action dev="erans" type="fix" issue="MATH-762">
Removed duplicate code.
</action>
<action dev="tn" type="add" issue="MATH-831">
Added a new "RealMatrixFormat" class for input/output of RealMatrix instances.
Default formatter instances for commons-math and octave have been added to
"MatrixUtils".
</action>
<action dev="erans" type="add" issue="MATH-827">
New "IterativeLegendreGaussIntegrator" that performs the same automatic
subdivision of the integration interval as "LegendreGaussIntegrator",
but uses the classes from package "o.a.c.m.analysis.integration.gauss"
to perform the Gauss integration on the sub-interval.
Deprecated "LegendreGaussIntegrator".
</action>
<action dev="tn" type="fix" issue="MATH-578">
Improve performance of quantile evaluation in "Percentile" class for cases
with lots of equal values.
</action>
<action dev="erans" type="add" issue="MATH-797">
New framework for Gauss integration schemes (in package
"o.a.c.m.analysis.integration.gauss").
Gauss-Legendre quadrature rules (of unlimited order) implemented in
double precision, and high precision (using "BigDecimal").
</action>
<action dev="erans" type="add" issue="MATH-764,MATH-823">
For all distribution classes (in package "o.a.c.m.distribution"), a new
constructor takes a "RandomGenerator" parameter.
The "RandomDataImpl" instance has been superseded by this RNG.
All "sample()" methods have been modified to use this RNG instead of
delegating to the methods in "RandomData".
</action>
<action dev="tn" type="add" issue="MATH-235">
Added support for real asymmetric matrices to "EigenDecomposition".
</action>
<action dev="erans" type="add" issue="MATH-768">
Re-instated methods to find all complex roots of a polynomial (class
"LaguerreSolver" in package "o.a.c.m.analysis.solvers").
</action>
<action dev="erans" type="add" issue="MATH-810">
Added accessors to the "Pair" class (package "o.a.c.m.util").
</action>
<action dev="tn" type="add" issue="MATH-822" due-to="Jared Becksfort">
Added new constructors in "EigenDecomposition" and deprecated two constructors
with unused parameters.
</action>
<action dev="erans" type="fix" issue="MATH-798">
Added overridden method in "PolynomialFitter" (package
"o.a.c.m.optimization.fitting") to limit the number of evaluations.
</action>
<action dev="celestin" type="add" issue="MATH-807">
Added a new constructor to o.a.c.m.utils.IterationManager, allowing
for the specification of a callback function in case the maximum
number of iteration is reached.
</action>
<action dev="luc" type="add">
A new HermiteInterpolator class allows interpolation of vector-valued
functions using both values and derivatives of the function at sample
points.
</action>
<action dev="erans" type="fix" issue="MATH-804">
Parameterized "CurveFitter" class (package "o.a.c.m.optimization.fitting")
with the type of the fitting function. Updated subclasses "PolynomialFitter",
"HarmonicFitter", "GaussianFitter".
</action>
<action dev="luc" type="fix" issue="MATH-801">
Fixed a problem when building rotations from two pairs of vectors. In very rare cases,
due to numerical inaccuracies the computed quaternion was not normalized (some examples
went as high as 1.0e8) and even after normalization, the quaternion was plain wrong.
</action>
<action dev="celestin" type="remove" issue="MATH-796">
Removed unused fields LocalizedFormats.ALPHA and LocalizedFormats.BETA. This is
an acceptable compatibility break, as these fields are only meant for internal use.
</action>
<action dev="tn" type="fix" issue="MATH-644" due-to="marzieh">
Fix computation of upperCumulativeProbability in "HypergeometricDistribution" and
cleanup of duplicate probability mass function.
</action>
<action dev="celestin" type="fix" issue="MATH-791">
In GammaDistribution, deprecated getAlpha() and getBeta(). Replaced with
getShape() and getScale(), respectively.
</action>
<action dev="luc" type="fix" issue="MATH-793" due-to="Sebb">
Use inline computation for OrderedTuple hash code.
</action>
<action dev="tn" type="fix" issue="MATH-718" >
Use modified Lentz-Thompson algorithm for continued fraction evaluation to avoid
underflows.
</action>
<action dev="luc" type="fix" issue="MATH-780" >
Fixed a wrong assumption on BSP tree attributes when boundary collapses to a too
small polygon at a non-leaf node.
</action>
<action dev="luc" type="fix" issue="MATH-787" >
Put serialization back for PointValuePair and PointVectorValuePair.
</action>
<action dev="tn" type="fix" issue="MATH-627" due-to="Arne Plöse">
Avoid superfluous null check when using iterators in RealVector and ArrayRealVector.
</action>
<action dev="tn" type="fix" issue="MATH-781" due-to="Scheiber Ernő">
Use epsilon instead of ulp in floating-point comparison when dropping columns after
phase 1 in SimplexSolver.
</action>
<action dev="luc" type="fix" issue="MATH-721">
Added a workaround for an OpenJDK issue on sparc solaris with too small constants.
</action>
<action dev="tn" type="fix" issue="MATH-779" due-to="Reid Hochstedler">
Fixed ListPopulation#iterator to return an unmodifiable iterator.
</action>
<action dev="tn" type="fix" issue="MATH-775" due-to="Reid Hochstedler">
Cleanup of ListPopulation to consistently enforce the population limit.
</action>
<action dev="tn" type="fix" issue="MATH-776" due-to="Reid Hochstedler">
Use same range check in constructor for ElitisticListPopulation as in corresponding setter.
</action>
<action dev="tn" type="fix" issue="MATH-767" due-to="Dennis Hendriks">
Fixed unbalanced use of code tags in javadoc of several classes.
</action>
<action dev="tn" type="add" issue="MATH-773" due-to="Reid Hochstedler">
Added class FixedElapsedTime (new StoppingCondition for evolution of generations) to genetics package.
</action>
<action dev="celestin" type="add" issue="MATH-756">
Added classes Decimal64 and Decimal64Field, which are wrapper classes around primitive doubles.
These classes implement FieldElement and Field, respectively.
</action>
</release>
<release version="3.0" date="2012-03-07" description="
This is a major release: It combines bug fixes, new features and
changes to existing features.
Most notable among the new features are: Iterative solvers, Kalman filter,
ISAAC RNG, Illinois and Pegasus root finders, enhanced ODE framework,
refactored geometry package, Binary Space Partition trees.
Most notable among the changes are: Exclusive use of unchecked exceptions,
removal of interfaces for which a single implementation is assumed to exist,
improved coding and API consistency across packages, performance (matrix
product, FFT) and robustness (SVD).
Because of the base package name change, this release can be used together
with earlier versions of Commons Math.
The minimal version of the Java platform required to compile and use
Commons Math is Java 5.
Users are encouraged to upgrade to this version as, in addition to new
features, this release includes numerous bug fixes.
Users of Commons Math 2.0-2 should recompile their code against the 3.0 JAR
file and must adjust the import statements to use the appropriate
org.apache.commons.math3 base package.
Most of the compilation errors users will encounter after the switch will
be due to moved or deleted classes/interfaces resulting from package
reorganization.
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).
">
<action dev="mikl" type="add" issue="MATH-431">
Added statistical hypothesis tests "MannWhitneyUTest" and
"WilcoxonSignedRankTest".
</action>
<action dev="erans" type="update" issue="MATH-698">
Classes "CMAESOptimizer" and "BOBYQAOptimizer" inherit from
"BaseAbstractMultivariateSimpleBoundsOptimizer" (in package
"o.a.c.m.optimization.direct").
</action>
<action dev="sebb" type="fix" issue="MATH-650" >
Added pre-computed arrays to speed up initial loading time for FastMath.
</action>
<action dev="luc" type="update">
Resources for error messages translations have been moved out of META-INF
folder in the jar, to avoid interferences with some build systems.
</action>
<action dev="erans" type="fix" issue="MATH-744" due-to="Thundre">
Fixed "doubleValue" and "floatValue" method in "BigFraction" when
numerator and denominator are larger than the range of the
corresponding primitive type.
</action>
<action dev="erans" type="update" issue="MATH-488">
Removed "MathException" (from package "o.a.c.math").
</action>
<action dev="erans" type="update" issue="MATH-459">
Removed "MathRuntimeException" (from package "o.a.c.math").
</action>
<action dev="tn" type="fix" issue="MATH-739">
Merged interface and implementation of statistical tests in
o.a.c.m.stat.inference package.
</action>
<action dev="tn" type="update" issue="MATH-670">
Merged interface and implementation of EmpiricalDistribution.
</action>
<action dev="tn" type="fix" issue="MATH-588">
Relaxed test for equality in UnivariateStatisticAbstractTest.
</action>
<action dev="tn" type="update" issue="MATH-575">
Modified the genetics package to use localized exception messages.
</action>
<action dev="tn" type="fix" issue="MATH-652" due-to="Greg Sterijevski">
Fixed a faulty test for zero in TridiagonalTransformer.
</action>
<action dev="erans" type="fix" issue="MATH-664">
Changed algorithm in computation of the covariance matrix in
"AbstractLeastSquares" (package "optimization.general"), from
"LUDecomposition" to "QRDecomposition".
</action>
<action dev="psteitz" type="fix" issue="MATH-724" due-to="Dennis Hendriks">
Fixed rounding error in RandomDataImpl nextInt, nextLong methods causing lower
endpoints to be excluded when negative. Also improved robustness of nextUniform
for extreme values and changed its contract to throw IAE when provided bounds
are infinite or NaN.
</action>
<action dev="erans" type="fix" issue="MATH-728" due-to="Bruce A. Johnson">
Fixed "offset by one" bug in "BOBYQAOptimizer".
</action>
<action dev="luc" type="fix" issue="MATH-727">
Check first step size in embedded Runge-Kutta integrators, and truncate it if needed.
</action>
<action dev="psteitz" type="fix" issue="MATH-723">
Modified setSeed methods in Bitstream generators (MersenneTwister and Well
generators) to clear the cache of normal deviates used by nextGaussian.
</action>
<action dev="luc" type="fix" issue="MATH-716">
Fixed bracketing interval balancing in BracketingNthOrderBrentSolver.
</action>
<action dev="erans" type="fix" issue="MATH-690">
Removed unused or duplicate utility methods from "MathUtils".
Math functions with "double" arguments were moved to class "FastMath".
</action>
<action dev="erans" type="fix" issue="MATH-689">
Broke up bloated "MathUtils" class into "MathArrays", "Precision",
"ArithmeticUtils" classes.
</action>
<action dev="psteitz" type="fix" issue="MATH-704" due-to="Thomas Neidhart">
Fixed array indexing error in Variance evaluate method for
computing the weighted variance of an array segment.
</action>
<action dev="luc" type="fix" issue="MATH-713" due-to="Thomas Neidhart">
Fixed case of unconstrained variables that still occur in the objective function
in simplex solver.
</action>
<action dev="luc" type="add" issue="MATH-710" due-to="Eldar Agalarov">
The fast cryptographically secure pseudorandom number generator ISAAC has been added.
</action>
<action dev="luc" type="add" issue="MATH-714">
The reset method in StepHandler interface has been renamed init and is provided
more information on the integration by the calling integrator. A similar init method
has been added to the EventHandler interface.
</action>
<action dev="luc" type="fix" issue="MATH-705">
Improved accuracy of Runge-Kutta based step interpolators near step start.
</action>
<action dev="psteitz" type="fix" issue="MATH-691">
Fixed errors in SummaryStatistics addValue causing variance, mean, or
geometric mean statistics not to be updated if they have been overridden
using instances of commons-math supplied implementations.
</action>
<action dev="psteitz" type="update" issue="MATH-694">
Removed First, Third, Fourth moments from the public API.
These internally used statistics have non-standard definitions.
The classes remain, but now have package scope.
</action>
<action dev="psteitz" type="update" issue="MATH-693">
Added support for population variance in StatUtils, SummaryStatistics
and DescriptiveStatistics and clarified javadoc to make it clear that
'variance' means sample variance.
</action>
<action dev="luc" type="fix" issue="MATH-709">
Fixed BigFraction percentage method which did not work at all.
</action>
<action dev="erans" type="update" issue="MATH-697">
Added interface and abstract class for supporting optimizers classes
that can take simple constraints into account.
</action>
<action dev="luc" type="fix" due-to="MATH-706" >
Fixed a bad interaction between step handlers and event handlers in
ODE integrators.
</action>
<action dev="luc" type="add" due-to="Jan Kotek" >
Added array constructor and getter for Vector2D and Vector3D.
</action>
<action dev="luc" type="add" due-to="Jan Kotek" >
Added applyTo and applyInverseTo methods in the Rotation class that
handle directly arrays instead of Vector3D instances.
</action>
<action dev="luc" type="fix" issue="MATH-196" >
Added adapters for simple bound constraints optimization that can be
used for all direct optimization methods, including the ones that do not
support constraints by themselves.
</action>
<action dev="luc" type="fix" issue="MATH-702" >
CMA-ES optimizer input sigma is now consistent with boundaries range units.
</action>
<action dev="psteitz" type="add" issue="MATH-462" due-to="Pavel Ryzhof">
Added stable random generator based on Chambers-Mallows-Stuck method.
</action>
<action dev="psteitz" type="update" issue="MATH-701">
Changed the default seed used for RandomDataImpl, AbstractWell and MersenneTwister
PRNGs to add the system identity hash code of the instance to the current system
time, so generators initialized with default seeds within system clock resolution
will generate different sequences. Changed the default non-secure generator used
by RandomDataImpl to Well19937c.
</action>
<action dev="luc" type="fix" issue="MATH-695">
Fixed an event resetting issue in ODE.
</action>
<action dev="erans" type="update" issue="MATH-696">
Default implementation for "addToEntry" and "multiplyEntry" in
"AbstractRealMatrix".
</action>
<action dev="erans" type="add" issue="MATH-685">
Method "addToEntry" in "RealVector".
</action>
<action dev="psteitz" type="update" issue="MATH-612" due-to="Christopher Nix">
Replaced temporary matrices and entry mutators with double[][] arrays to speed computation
in loops within QRDecomposition, Bi- and TriDiagonalTransformer implementations.
</action>
<action dev="luc" type="fix" issue="MATH-679" due-to="Christopher Berner">
Fixed an integer overflow in OpenMapRealMatrix.
</action>
<action dev="erans" type="fix" issue="MATH-688">
"FastMath": Use constant fields instead of recomputing them at method
call.
</action>
<action dev="luc" type="add" issue="MATH-687" due-to="Romain di Costanzo">
Added Jacobi polynomials.
</action>
<action dev="erans" type="add" issue="MATH-683" due-to="Romain di Costanzo">
Added "shift" method to compute the coefficients of a new polynomial
whose values are the same as those of another polynomial but computed
at a shifted point.
</action>
<action dev="erans" type="fix" issue="MATH-676">
Faster "multiply" method in "Array2DRowRealMatrix". Code inspired
from the Jama project.
</action>
<action dev="luc" type="fix" issue="MATH-445" >
Replaced package.html with package-info.java for package documentation.
</action>
<action dev="luc" type="fix" issue="MATH-284" due-to="Klaus Hartlage">
Added a getRuntimeClass method to the Field interface allowing to use a
complete hierarchy of fields sharing a common interface.
</action>
<action dev="luc" type="fix" issue="MATH-457" >
The last remaining uses of OptimizationException have been replaced by unchecked
exceptions (UnboundSolutionException, NoFeasibleSolutionException,
MaxCountExceededException ...)
</action>
<action dev="luc" type="fix" issue="MATH-487" >
The checked ConvergenceException has been replaced by an unchecked ConvergenceException.
</action>
<action dev="luc" type="fix" issue="MATH-381" due-to="Pascal Parraud">
ODE step interpolation with Jacobians is now fully merged with
classical step interpolation.
</action>
<action dev="luc" type="fix" issue="MATH-380" due-to="Pascal Parraud">
Completely revamped the computation of Jacobians in ODE. This computation is now
included in the mainstream class hierarchy, not in a separate package anymore,
and it allows adding other types of equations to a main ODE, not only variational
equations for Jacobians computation.
</action>
<action dev="gregs" type="update" issue="MATH-607">
SimpleRegression implements UpdatingMultipleLinearRegression interface.
</action>
<action dev="gregs" type="update" issue="MATH-675">
Added isMonotone methods in MathUtils. Optimized checkOrder method.
</action>
<action dev="erans" type="fix" issue="MATH-664">
In class "AbstractLeastSquaresOptimizer": Allow to specify a singularity
threshold in call to "getCovariances" method.
</action>
<action dev="gregs" type="update" issue="MATH-649">
Added the ability to suppress the estimation of the intercept in SimpleRegression.
</action>
<action dev="sebb" type="fix" issue="MATH-658" due-to="Yannick TANGUY">
Dead code in FastMath.pow(double, double) and some improvement in test coverage.
</action>
<action dev="erans" type="fix" issue="MATH-663">
Removed "getData()" method from "RealVector" as it was redundant with
"toArray()".
</action>
<action dev="luc" type="update" issue="MATH-195" >
Removed completely MathUserException.
</action>
<action dev="luc" type="update" issue="MATH-488" >
Use the refactored exceptions framework for ODE.
</action>
<action dev="luc" type="add" >
Added a getter to allow retrieving the exception related to an exception context
provider.
</action>
<action dev="psteitz" type="update" issue="MATH-364" due-to="Christian Winter">
Added erf(double,double) to Erf and used this to improve tail probability
accuracy in NormalDistributionImpl.
</action>
<action dev="psteitz" type="fix" issue="MATH-654">
Enabled reseeding of the random generators used by EmpiricalDistributionImpl
and ValueServer. Modified ValueServer to pass its RandomData instance to
the EmpiricalDistributionImpl that it creates when used in DIGEST_MODE, so
reseeding ValueServer works as expected.
</action>
<action dev="erans" type="fix" issue="MATH-653">
Renamed "AbstractRealVector" to "RealVector". The interface was removed
in favour of its unique (abstract) implementation. Also removed several
methods with double[] arguments from AbstractRealVector.
</action>
<action dev="erans" type="add" issue="MATH-646" due-to="Sébastien Brisard">
Unmodifiable view of a "RealVector".
</action>
<action dev="luc" type="fix" issue="MATH-501" >
Refactored integration API for consistency with solvers API. Now the main convergence
parameters are set in the constructor and remain fixed.
</action>
<action dev="luc" type="fix" issue="MATH-464" >
Added a maximal number of function evaluations to the integration method, similar
to what is done in the solvers API.
</action>
<action dev="psteitz" type="update" issue="MATH-449" due-to="Patrick Meyer">
Added storeless covariance implementation.
</action>
<action dev="psteitz" type="update" issue="MATH-648">
Eliminated extraneous constructor from SimpleRegression.