Release History

VersionDateDescription
1.12005-12-17This is a maintenance release containing bug fixes and enhancements. All API changes are binary compatible with version 1.0. The enhancements include some new probability distributions, a Fraction class, new matrix and numerical utilities, and a PRNG pluggability framework making it possible to replace the JDK-supplied random number generator in commons-math (and elsewhere) with alternative PRNG implementations.
1.02004-12-06Jakarta Commons Math 1.0 - General Availability Release
1.0-RC22004-11-07Jakarta Commons Math 1.0 - Release Candidate 2
1.0-RC12004-09-07Jakarta Commons Math 1.0 - Release Candidate 1 This is the first release of Commons Math. Commons Math is a library of lightweight, self-contained mathematics and statistics components. The release candidate is being made available so that users can test the release and provide feedback.

Get the RSS feed of the last changes

Release 1.1 - 2005-12-17

TypeChangesBy
fix Made NewtonSolver derivative field transient and implemented readObject to initialize. Fixes 36491. psteitz
fix Made sampleStats field pr ivate and changed getUpperBounds to return a fresh copy in EmpiricalDistributionImpl. Fixes 36491. psteitz
update Added polar2Complex method to ComplexUtils to create Complex numbers from polar representations. psteitz
fix Made all serialVersionUIDs private. Fixes 37162. Thanks to Elliotte Harold. psteitz
fix Improved documentation and test cases related to handling of infinite and NaN values in Complex, ComplexUtils classes. Fixes 37086. psteitz
fix Fixed incorrect NaN handling in o.a.m.s.d.rank.Min, Max Fixes 37019. Thanks to Mauro Talevi. psteitz
fix Changed RealMatrixImpl.equals to use Double.doubleToLongBits to compare corresponding matrix entries. Fixes 36491. psteitz
fix Eliminated floating point equals comparison in Percentile.evaluate. Fixes 36491. psteitz
fix Eliminated unnecessary assignment statements in Skewness.getResult method. Fixes 36491. psteitz
fix Synchronized getters in ResizeableDoubleArray. Fixes 36491. psteitz
fix Eliminated unnecessary assignment statement in BisectionSolver.solve method. Fixes 36491. psteitz
fix Implemented hashCode in the Complex class and changed the semantics of equals to make all instances with real or imaginary part NaN equal. Fixes 36491. psteitz
fix Fixed bin index overflow problem in EmpiricalDistributionImpl. Fixes 36450. Thanks to Keith McDonald. psteitz
fix Added protection agains t numerical overflow and underflow in the isBracketing method. Fixes 36232. Thanks to Xiaogang Zhang. brentworden
fix Fixed division by zero error in rounding methods. Fixes 36300. Thanks to Nikhil Gupte. brentworden
fix Added upper tail cumulative probability method to HypergeometricDistributionImpl. Fixes 36215. Thanks to Mike Hu. brentworden
fix Added better handling of numerical overflow and division by zero in Complex calculations. Fixes 36205. Thanks to Xiaogang Zhang. brentworden
fix Changed ContinuedFraction to better handle infinite convergents that resulted in divergent continued fraction evaluations. Fixes 36105. Thanks to Mikael Weigelt. brentworden
fix Changed rounding methods to not rely on BigDecimal conversions which was causing numerical error. Fixes 35904. Thanks to Srinivas Vemury. brentworden
fix Changed Fraction(double) to correctly handle near-integral arguments. Fixes 35434. Thanks to Jörg Weimar. psteitz
fix Changed lcm to throw ArithmeticException (instead of returning bogus value) if the result is too large to store as an integer. Fixes 35431. Thanks to Jörg Weimar. psteitz
fix Added factories for TTest, ChiSquareTest and TestUtils class with static methods to create instances and execute tests. Fixes 32663. Thanks to Mary Ellen Foster. psteitz
update Eliminated repeated endpoint function evalutations in BrentSolver, SecantSolver. Fixes 35042. Thanks to Paul Field. psteitz
update Added setSubMatrix methods to RealMatrixImpl, BigMatrixImpl. To Preserve backward compatibility with versio n 1.0, these methods were not added to the RealMatrix, BigMatrix interfaces. Fixes 35007. Thanks to Rodrigo di Lorenzo Lopes. psteitz
update Added createXIdentityMatrix methods to MatrixUtils and deprecated getIdentity methods in RealMatrixImpl, BigMatrixImpl. Modified RealMatrixImpl, BigMatrixImpl constructors to throw IllegalArgumentExceptions instead of ArrayIndexOutOfBounds when dimension arguments are not positive. psteitz
update Made PRNG pluggable for classes in the random package. Added RandomGenerator interface extracted from java.util.random and abstract implementation, AbstractRandomGenerator providing default implementations of methods based on nextDouble(). Added a constructor taking a RandomGenerator as an argument to RandomDataImpl. Changed ValueServer to use a RandomData in its constructor. Changes to 1.0 classes should be backward compatible (including serialization). psteitz
update Added utility methods for overflow-checked integer arithmetic and improved gcd method in MathUtils. Thanks to C. Scott Ananian. psteitz
fix Fixed error in TTestImpl.homoscedasticTtest. Implementation was incorrectly using heteroscedastic t statistic. Also improved sensitivity of test cases. Fixes 34677. Thanks to Gilles Gaillard. psteitz
fix Fixed javadoc errors. One-sided t-test significance adjustment was reversed in javadoc for boolean-valued test methods. Fixes 34448. Thanks to Gilles Gaillard. psteitz
fix Fixed bug in PolynomialSplineFunction to allow evaluation of the function at the last knot point. Thanks to Ben Litchfield. brentworden
add Added Weibull distribution imp lementation. brentworden
add Added Cauchy distribution implementation. brentworden
add Added convenience methods for rounding. brentworden
add Added Fraction class based on commons-lang implementation. With the fraction class, FractionFormat and ProperFractionFormat classes were added to provide fraction formatting and parsing. Thanks to C. Scott Ananian. brentworden

Release 1.0 - 2004-12-06

TypeChangesBy
fix Fixed error in ChiSquareTestImpl. Tables containing zeros were (incorrectly) causing IllegalArgumentExceptions to be thrown. Fixes 32531. Thanks to Hans van der Heijden. psteitz
fix Removed JDK 1.4-dependent code from CertifiedDataAbstractTest, InvalidMatrixException and MatrixIndexException. Also dropped BeanTransformer, BeanTransformerTest from the release. Fixes 32538. psteitz

Release 1.0-RC2 - 2004-11-07

TypeChangesBy
fix Fixed cumulative frequency and cumulative percentage problem reported to the commons-dev list by Jon Langlois on 9/14. Integer arguments to getCumXxx were always returning 0 due to type conversion problems. psteitz
fix Fixed locale-dependency in ComplexFormat. Fixes 31325. brentworden
update Renamed univariate package to descriptive and multivariate to regression. psteitz
update Improved efficiency of logGamma method in o.a.c.m.specia l.Gamma Fixes 31522. Thanks to Ken Geis. psteitz
update Added subMatrix and matrix-valued row and column accessor methods to RealMatrix, BigMatrix interfaces and RealMatrixImpl, BigMatrixImpl. Fixes 30897. Thanks to Kim van der Linde. psteitz
update Implemented equals and hashCode in RealMatrixImpl and BigMatrixImpl. psteitz
fix Fixed RealMatrixImpl, BigMatrixImpl toString methods to handle empty matrix. psteitz
update Added support for "population" variance and standard deviation in Variance (resp. StandardDeviation) classes. psteitz
update Removed data mutators from RealMatrix, BigMatrix interfaces and RealMatrixImpl, BigMatrixImpl. RealMatrix and BigMatrix instances are now immutable. psteitz
update Added MatrixUtils class, including static factory methods to create RealMatrix and BigMatrix instances from arrays of various types. psteitz
fix Changed factorial methods to return 1 for argument = 0, instead of (incorrectly) throwing IllegalArgumentException. Fixes 31687. Thanks to Fredrik Norin. psteitz
fix Fixed error in SimpleRegression.getSignificance. Value returned was off by a factor of 2 (did not match javadoc). Fixes 31860. Thanks to Kim van der Linde. psteitz
update Refactored distribution package so that mixed distributions and discrete distributions with non-integer values can be represented. Added Distribution base interface as well as IntegerDistribution extending DiscreteDistribution. Previously existing discrete distributions now implement IntegerDistribution. psteitz
update Added Poisson distribution implementation. Fixes 31688. Thanks to Fredrik Norin. psteitz
fix Eliminated unecessary array copy operations in RealMatrixImpl, BigMatrixImpl add, multiply, solve and subtract operations. Fixes 31713. psteitz