About Us Home Contributors License Components Sandbox Dormant Math Overview Proposal Developers Guide Javadoc (1.0 release) Javadoc (1.1 release) Source Repository (current) Wiki (Wish List) User Guide Contents Overview Statistics Data Generation Linear Algebra Numerical Analysis Special Functions Utilities Complex Numbers Distributions Fractions Project Documentation About Math Project Info Project Reports Changes Checkstyle JavaDocs JavaDoc Report JavaDoc Warnings Report Metrics Unit Tests Source Xref Test Xref Project License Development Process General Information Charter Volunteering Contributing Patches Building Components Releasing Components Wiki Jakarta Community Get Involved Mailing Lists Related DB Commons XML Commons | ### Release History
Version | Date | Description
--- | --- | ---
1.1 | 2005-12-17 | This 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.0 | 2004-12-06 | Jakarta Commons Math 1.0 - General Availability Release
1.0-RC2 | 2004-11-07 | Jakarta Commons Math 1.0 - Release Candidate 2
1.0-RC1 | 2004-09-07 | Jakarta 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
Type | Changes | By
--- | --- | ---
| Made NewtonSolver derivative field transient and implemented readObject to initialize. Fixes 36491. | psteitz
| Made sampleStats field pr ivate and changed getUpperBounds to return a fresh copy in EmpiricalDistributionImpl. Fixes 36491. | psteitz
| Added polar2Complex method to ComplexUtils to create Complex numbers from polar representations. | psteitz
| Made all serialVersionUIDs private. Fixes 37162. Thanks to Elliotte Harold . | psteitz
| Improved documentation and test cases related to handling of infinite and NaN values in Complex, ComplexUtils classes. Fixes 37086. | psteitz
| Fixed incorrect NaN handling in o.a.m.s.d.rank.Min, Max Fixes 37019. Thanks to Mauro Talevi . | psteitz
| Changed RealMatrixImpl.equals to use Double.doubleToLongBits to compare corresponding matrix entries. Fixes 36491. | psteitz
| Eliminated floating point equals comparison in Percentile.evaluate. Fixes 36491. | psteitz
| Eliminated unnecessary assignment statements in Skewness.getResult method. Fixes 36491. | psteitz
| Synchronized getters in ResizeableDoubleArray. Fixes 36491. | psteitz
| Eliminated unnecessary assignment statement in BisectionSolver.solve method. Fixes 36491. | psteitz
| 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
| Fixed bin index overflow problem in EmpiricalDistributionImpl. Fixes 36450. Thanks to Keith McDonald . | psteitz
| Added protection agains t numerical overflow and underflow in the isBracketing method. Fixes 36232. Thanks to Xiaogang Zhang . | brentworden
| Fixed division by zero error in rounding methods. Fixes 36300. Thanks to Nikhil Gupte . | brentworden
| Added upper tail cumulative probability method to HypergeometricDistributionImpl. Fixes 36215. Thanks to Mike Hu . | brentworden
| Added better handling of numerical overflow and division by zero in Complex calculations. Fixes 36205. Thanks to Xiaogang Zhang . | brentworden
| Changed ContinuedFraction to better handle infinite convergents that resulted in divergent continued fraction evaluations. Fixes 36105. Thanks to Mikael Weigelt . | brentworden
| Changed rounding methods to not rely on BigDecimal conversions which was causing numerical error. Fixes 35904. Thanks to Srinivas Vemury . | brentworden
| Changed Fraction(double) to correctly handle near-integral arguments. Fixes 35434. Thanks to Jörg Weimar . | psteitz
| 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
| 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
| Eliminated repeated endpoint function evalutations in BrentSolver, SecantSolver. Fixes 35042. Thanks to Paul Field . | psteitz
| 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
| 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
| 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
| Added utility methods for overflow-checked integer arithmetic and improved gcd method in MathUtils. Thanks to C. Scott Ananian . | psteitz
| 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
| 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
| Fixed bug in PolynomialSplineFunction to allow evaluation of the function at the last knot point. Thanks to Ben Litchfield . | brentworden
| Added Weibull distribution imp lementation. | brentworden
| Added Cauchy distribution implementation. | brentworden
| Added convenience methods for rounding. | brentworden
| 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
Type | Changes | By
--- | --- | ---
| Fixed error in ChiSquareTestImpl. Tables containing zeros were (incorrectly) causing IllegalArgumentExceptions to be thrown. Fixes 32531. Thanks to Hans van der Heijden . | psteitz
| 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
Type | Changes | By
--- | --- | ---
| 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
| Fixed locale-dependency in ComplexFormat. Fixes 31325. | brentworden
| Renamed univariate package to descriptive and multivariate to regression. | psteitz
| Improved efficiency of logGamma method in o.a.c.m.specia l.Gamma Fixes 31522. Thanks to Ken Geis . | psteitz
| 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
| Implemented equals and hashCode in RealMatrixImpl and BigMatrixImpl. | psteitz
| Fixed RealMatrixImpl, BigMatrixImpl toString methods to handle empty matrix. | psteitz
| Added support for "population" variance and standard deviation in Variance (resp. StandardDeviation) classes. | psteitz
| Removed data mutators from RealMatrix, BigMatrix interfaces and RealMatrixImpl, BigMatrixImpl. RealMatrix and BigMatrix instances are now immutable. | psteitz
| Added MatrixUtils class, including static factory methods to create RealMatrix and BigMatrix instances from arrays of various types. | psteitz
| Changed factorial methods to return 1 for argument = 0, instead of (incorrectly) throwing IllegalArgumentException. Fixes 31687. Thanks to Fredrik Norin . | psteitz
| 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
| 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
| Added Poisson distribution implementation. Fixes 31688. Thanks to Fredrik Norin . | psteitz
| Eliminated unecessary array copy operations in RealMatrixImpl, BigMatrixImpl add, multiply, solve and subtract operations. Fixes 31713. | psteitz
### Release 1.0-RC1 - 2004-09-07
Type | Changes | By
--- | --- | ---