annotate libs/commons-math-2.1/RELEASE-NOTES.txt @ 27:ee955cf6c9c5

first commit
author dwinter
date Fri, 17 Jun 2011 14:24:34 +0200
parents a705726863bc
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
18
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
1
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
2
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
3 Apache Commons Math 2.1 RELEASE NOTES
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
4
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
5 This is primarily a maintenance release, but it also includes new features and enhancements.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
6 Users of version 2.0 are encouraged to upgrade to 2.1, as this release includes some important
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
7 bug fixes. See the detailed list of changes below for full description of all bug fixes and
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
8 enhancements.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
9
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
10 This release contains some minor API compatibility breaks with version 2.0:
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
11 --------------------------------------------------------------------------
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
12 - the return type of RealVector.copy() has been changed to AbstractRealVector
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
13 - the no-argument constructor of MatrixUtils() has been made private
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
14 - the mapXxxToSelf methods of OpenMapRealVector have been removed and some method return types
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
15 have been changed in this class
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
16 - new methods have been added to the RealVector interface
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
17 - several fields in AdaptiveStepSizeIntegrator have been made final
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
18 - DummyStepInterpolator requires an additional argument for one of its constructors
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
19 - some protected fields have been removed from AbstractLeastSquaresOptimizer,
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
20 AbstractScalarDifferentiableOptimizer and AbstractLinearOptimizer
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
21 - the isOptimal(SimplexTableau) method has been removed from SimplexSolver
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
22
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
23 Changes in this version include:
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
24
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
25 New features:
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
26 o MATH-357: Implementation of bicubic interpolation.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
27 o Added a way to compute both the final state in an Initial Value Problem (IVP)
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
28 for Ordinary Differential Equations (ODE) and its derivatives with respect to
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
29 initial state and with respect to some problem parameters. This allows wrapping
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
30 ODE solvers into optimization or root finding algorithms, which in turn can be
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
31 used to solve Boundary Value Problems (BVP). There are no implementations (yet)
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
32 of BVP solvers in the library.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
33 o MATH-323: Added SemiVariance statistic. Thanks to Larry Diamond.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
34 o MATH-341: Added a warning in the getCoefficients method documentation for
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
35 PolynomialFunctionLagrangeForm. Computation may be ill-conditioned
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
36 so this method should be used with care.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
37 o MATH-340: Fixed an error in BigFraction multiplication for large numerators that don't
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
38 fit in a primitive int.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
39 o MATH-334: Added min/max getters for real vectors (not yet in the RealVector interface for
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
40 compatibility purposes, but in the AbstractRealVector abstract class).
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
41 o MATH-321: Singular Value Decomposition now computes either the compact SVD (using only
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
42 positive singular values) or truncated SVD (using a user-specified maximal
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
43 number of singular values).
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
44 o MATH-300: Added support for multidimensional interpolation using the robust microsphere algorithm. Thanks to Gilles Sadowski.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
45 o MATH-287: Added support for weighted descriptive statistics. Thanks to Matthew Rowles.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
46 o Added normalizeArray method to MathUtils.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
47
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
48 Fixed Bugs:
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
49 o MATH-360: Fix use of wrong variable in SmoothingBicubicSplineInterpolatorTest.testPreconditions()
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
50 o MATH-335: Fraction.hashCode() implementation was not fully consistent with Fraction.equals().
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
51 Changed hashCode() to use fields directly to agree with equals().
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
52 o MATH-282: Resolved multiple problems leading to inaccuracy and/or failure to compute Normal,
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
53 ChiSquare and Poisson probabilities, Erf and Gamma functions. Made Brent solver
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
54 absolute accuracy configurable for all continuous distributions.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
55 o MATH-347: Fixed too stringent interval check in Brent solver: initial guess is now
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
56 allowed to be at either interval end
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
57 o MATH-358: Fixed an error in events handling in ODE solvers. In some rare cases, events
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
58 occurring close to a step start were handled without truncating the step, making
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
59 them appear as is they occurred close to the step end
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
60 o Fixed a problem with getInterpolatedDerivatives returning zero derivatives when
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
61 an ODE step handler is configured to not use interpolation. It now returns a
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
62 constant but non-zero value consistent with at least one point inside the step
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
63 o MATH-344: Fixed wrong return values when enpoints are roots in Brent solver with
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
64 a user provided initial guess
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
65 o MATH-343: Fixed a missing bracketing check of initial interval in Brent solver.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
66 o MATH-342: In SVD, the matrices passed to EigenDecomposition are now symmetric
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
67 by construction (rather than simply by definition). In EigenDecomposition,
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
68 once the tridiagonal form is obtained, the non-significant elements are
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
69 set to 0.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
70 o MATH-333: A EigenDecompositionImpl simplified makes it possible to compute
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
71 the SVD of a singular matrix (with the right number of elements in
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
72 the diagonal matrix) or a matrix with singular value(s) of multiplicity
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
73 greater than 1.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
74 o Fixed a spurious exception in EigenDecompositionImpl when a 3x3 block
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
75 had two identical eigenvalues.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
76 o MATH-338: Fixed automatic step initialization in embedded Runge-Kutta integrators.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
77 The relative tolerance setting was never used, only the absolute tolerance
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
78 was used. Thanks to Vincent Morand.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
79 o MATH-329: Fixed regression in Frequency.getPct(Object) introduced in 2.0. Cumulative
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
80 percent was being returned for Object arguments in place of percent.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
81 o MATH-320: Fixed Singular Value Decomposition solving of singular systems.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
82 o MATH-326: Fixed a wrong implementation of the Linf norm in vectors. Thanks to Jake Mannix.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
83 o MATH-324: Fixed a convergence discrepancy with respect to theory in Gragg-Bulirsch-Stoer
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
84 integrator. Thanks to Vincent Morand.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
85 o Fixed a wrong dimension check in SVD solver. Thanks to Dimitri Pourbaix.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
86 o MATH-313: Added composition features for real functions. Thanks to Jake Mannix.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
87 o MATH-312: Added mapping and iteration methods to vectors. Provided a default implementation
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
88 for the numerous simple methods in the RealVectorInterface. Thanks to Jake Mannix.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
89 o MATH-322: Fixed an error in handling very close events in ODE integration.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
90 o MATH-305: Fixed an overflow error in MathUtils.distance that was causing KMeansPlusPlusClusterer
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
91 to fail with a NullPointerException when component distances between points
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
92 exceeded Integer.MAXVALUE. Thanks to Erik van Ingen.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
93 o MATH-318: Fixed an index computation error in eigen decomposition. Once again, kudos to Dimitri
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
94 for debugging this. Thanks to Dimitri Pourbaix.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
95 o MATH-308: Fixed an ArrayIndexOutOfBoundsException in eigen decomposition. Kudos to Dimitri
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
96 for debugging this, it was really difficult. Thanks to Dimitri Pourbaix.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
97 o MATH-309: Fixed parameter test in RandomDataImpl#nextExponential. The method now throws
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
98 IllegalArgumentException for mean = 0. Thanks to Mikkel Meyer Andersen.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
99 o MATH-306: Removed dead code from Complex#divide. Thanks to Joerg Huber.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
100 o MATH-294: Fixed implementation of RandomDataImpl#nextPoisson by implementing an alternative
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
101 algorithm for large means.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
102 o MATH-298: Fixed implementation of EmpiricalDistributionImpl#getUpperBounds to match
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
103 interface contract. Added getGeneratorUpperBounds method to
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
104 EmpiricalDistributionImpl providing previous behavior.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
105 o MATH-296: Fixed wrong results on Loess interpolation, also added a way to set weights
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
106 for smoothing and to ignore zero weights for coefficients computation Thanks to Eugene Kirpichov.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
107 o MATH-293: Fixed a OutOfBoundException in simplex solver when some constraints are tight. Thanks to Benjamin McCann.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
108 o MATH-291: Fixed misleading number formats in error messages for adaptive
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
109 stepsize integrators. Thanks to Sebb.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
110 o MATH-290: Fixed a NullPointerException in simplex solver when no solution is possible
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
111 and some constraints are negative. Thanks to Benjamin McCann.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
112 o MATH-289: Removed an unused argument in a private method in simplex solver.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
113 o MATH-288: Fixed an error induced by entries set to 0 in simplex solver. Thanks to Benjamin McCann.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
114 o MATH-286: Fixed an error leading the simplex solver to compute the right solution
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
115 but return another one. Thanks to Benjamin McCann.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
116 o MATH-283: Prevent infinite loops in multi-directional direct optimization method when
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
117 the start point is exactly at the optimal point. Thanks to Michael Nischt.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
118 o MATH-297: Prevent possible zero divides on eigenvectors of indefinite matrices Thanks to Axel Kramer.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
119
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
120 Changes:
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
121 o MATH-356: Added method to clear the list of observations in CurveFitter.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
122 o MATH-332: Added density functions to remaining continuous distributions (F, T, Weibull, Cauchy).
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
123 As of Math 2.1, all continuous distributions implement density functions. The HasDensity
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
124 interface has been deprecated and in version 3.0, density(double) will be added to the
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
125 ContinuousDistribution interface. Thanks to Mikkel Meyer Andersen.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
126 o MATH-337: Changed equals() methods to use instanceof check rather than catching ClassCastException;
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
127 this also allows some null checks to be omitted.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
128 o MATH-336: Removed unnecessary null checks in equals methods.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
129 o MATH-239: Added MathUtils methods to compute gcd and lcm for long arguments. Thanks to Christian Semrau.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
130 o MATH-287: Added support for weighted univariate statistics. Thanks to Matthew Rowles.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
131 o MATH-315: Added generationsEvolved property to GeneticAlgorithm to track the number of generations
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
132 evolved by the evolve() method before reaching the StoppingCondition. Thanks to Mikkel Meyer Andersen.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
133 o MATH-311: Changed probability calculations for Binomial, Poisson, and Hypergeometric
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
134 distributions to use Catherine Loader's saddle point approximations. Thanks to Nipun Jawalkar.
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
135
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
136
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
137 For complete information on Commons Math, including instructions on how to submit bug reports,
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
138 patches, or suggestions for improvement, see the Apache Commons Math website:
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
139
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
140 http://commons.apache.org/math/
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
141
a705726863bc commons-math-2.1 added
dwinter
parents:
diff changeset
142