Sebastian Bazley
6b37cec59a
Tab police
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@927449 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 15:27:30 +00:00
Sebastian Bazley
0ebd188e03
Suppress unused variable warnings
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@927440 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 15:08:40 +00:00
Sebastian Bazley
5eeb11e8e1
Unnecessary semi-colons
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@927439 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 15:08:12 +00:00
Sebastian Bazley
ca45e8a4ea
Unused import
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@927438 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 15:07:54 +00:00
Sebastian Bazley
58297f46ea
Translate double-space into new-line when generating release notes
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@927356 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 11:51:19 +00:00
Luc Maisonobe
c4b72692f8
typo
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@927342 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 10:55:55 +00:00
Sebastian Bazley
591fd5809c
Fix up project name
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@927272 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 05:04:55 +00:00
Sebastian Bazley
6a90d791ac
Re-arrange description to make it easier to paste into the generated release notes
...
(It's also a bit easier to read in the source).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@927264 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 03:29:14 +00:00
Phil Steitz
2cced83ae9
Edited description of MATH-356.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@927250 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 01:23:23 +00:00
Phil Steitz
4334cc9339
Checkstyle fixes, @since tags.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@927249 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 01:06:51 +00:00
Phil Steitz
6478fb48c5
Dropped trailing spaces.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@927246 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 00:42:55 +00:00
Luc Maisonobe
061f50175c
Fixed an error in events handling in ODE solvers. In some rare cases, events occurring close to a step start were handled without truncating the step, making them appear as is they occurred close to the step end
...
JIRA: MATH-358
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@927202 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 22:11:51 +00:00
Sebastian Bazley
38a0665921
Bugzilla => JIRA; CVS => SVN
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@927084 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 15:21:41 +00:00
Gilles Sadowski
20c09eb0ba
Issues 356 and 357.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@927009 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 11:14:07 +00:00
Phil Steitz
99e52868c8
Added better release description including summary of compatability breaks.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@927008 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 11:09:53 +00:00
Phil Steitz
43ffbb90bd
Updated release notes, download page.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@926861 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 23:45:27 +00:00
Phil Steitz
29573eb1f8
Added description for 2.1 release.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@926860 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 23:44:30 +00:00
Phil Steitz
e4500bf42c
Made inverse cum accuracy configurable for remaining continuous distributions.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@925900 13f79535-47bb-0310-9956-ffa450edef68
2010-03-21 21:10:07 +00:00
Phil Steitz
71e70f8643
Fixed javadoc typo.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@925897 13f79535-47bb-0310-9956-ffa450edef68
2010-03-21 21:06:46 +00:00
Phil Steitz
cecc214fda
Corrected an error in sample code. The example did not illustrate the technique being described.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@925895 13f79535-47bb-0310-9956-ffa450edef68
2010-03-21 21:05:20 +00:00
Phil Steitz
bfe0b4a60c
Eliminated references to factory methods dropped in math 2.0.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@925826 13f79535-47bb-0310-9956-ffa450edef68
2010-03-21 17:01:31 +00:00
Phil Steitz
8cb2563a2c
Added @since tags.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@925812 13f79535-47bb-0310-9956-ffa450edef68
2010-03-21 15:49:31 +00:00
Phil Steitz
332f3909cc
Added @since tags.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@924794 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 14:15:50 +00:00
Phil Steitz
e3f9ae2213
Added @since tags.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@924453 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 20:05:20 +00:00
Phil Steitz
439cb994d1
* Added density functions to remaining continuous distributions (F, T, Weibull, Cauchy).
...
* Deprecated HasDensity interface.
* Added density tests.
* Made Brent Solver (inverse cum) absolute accuracy configurable for all continuous distributions.
JIRA: MATH-332
JIRA: MATH-282
Thanks to Mikkel Meyer Andersen
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@924362 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 16:45:31 +00:00
Phil Steitz
467494bca5
Removed trailing space.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@924351 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 16:19:29 +00:00
Phil Steitz
b2fc89b01c
Removed tabs and trailing spaces.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@924348 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 16:16:31 +00:00
Phil Steitz
effbc63f1d
Removed tabs and trailing spaces.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@924345 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 16:03:56 +00:00
Niall Pemberton
4259f27594
Update components to point to the new download pages
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@923339 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 17:04:53 +00:00
Sebastian Bazley
058ff00332
Raw types documentation
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@922722 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 02:15:01 +00:00
Sebastian Bazley
25bebf29a5
Recent fixed JIRAs
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@922720 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 01:53:46 +00:00
Sebastian Bazley
3a9e2ce281
MATH-335 Fraction.hashCode() inconsistent with Fraction.equals()
...
Change hashCode() to use fields directly
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@922715 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 01:38:14 +00:00
Sebastian Bazley
012a6ed4fc
MATH-336 Unnecessary null checks in equals methods
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@922714 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 01:35:14 +00:00
Sebastian Bazley
88e4b16f64
MATH-337 Equals methods rely on catching ClassCastException rather than using instanceof check
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@922713 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 01:26:13 +00:00
Sebastian Bazley
4a4ec2c71c
Make some private fields final
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@922712 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 01:24:46 +00:00
Sebastian Bazley
081b8ca4b0
Make some private fields final
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@922710 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 01:20:56 +00:00
Sebastian Bazley
037280aacd
Make some private fields final
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@922708 13f79535-47bb-0310-9956-ffa450edef68
2010-03-14 01:15:47 +00:00
Phil Steitz
db7fab70d1
Added Wiebull, Gamma, F, ChiSquare verification tests, added density test for exponential.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@922691 13f79535-47bb-0310-9956-ffa450edef68
2010-03-13 23:32:37 +00:00
Phil Steitz
2db6474cf2
Added T Distribution verification tests.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@921919 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 16:20:55 +00:00
Phil Steitz
b644a5861c
Increased precision.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@921633 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 23:42:55 +00:00
Phil Steitz
03b5ae991b
Increased precision, fixed failing tests.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@921631 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 23:40:42 +00:00
Phil Steitz
32f939935b
Added cauchy and pascal verification tests.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@921488 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 17:58:41 +00:00
Phil Steitz
1cf5f1443f
Added Cauchy distribution verification tests.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@921479 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 17:52:45 +00:00
Phil Steitz
685d368608
Increased precision and added density validation.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@921208 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 02:11:11 +00:00
Gilles Sadowski
2e3e082984
Issues
...
https://issues.apache.org/jira/browse/MATH-348
https://issues.apache.org/jira/browse/MATH-349
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@920852 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 12:53:44 +00:00
Phil Steitz
09a4643e10
Resolved multiple problems leading to inaccuracy and/or failure to compute Normal, ChiSquare and
...
Poisson probabilities, Erf and Gamma functions.
JIRA: MATH-282
JIRA: MATH-301
Summary of changes:
* BrentSolver has been changed to expose its configured absolute accuracy. This solver is used by
the default inverse cum implementation in AbstractContinuousDistribution and the hard-coded setting
(1E-6) was limiting accuracy in inverse cumulative probability estimates. AbstractContinuousDistribution
was changed to allow distributions to set this value and NormalDistributionImpl was changed to set it to
1E-9 by default and allow users to configure it via a constructor argument.
* AbstractContinuousDistribution and AbstractIntegerDistribution inverseCumulativeProbability methods
have been modified to check for NaN values returned by cumulativeProbability and throw MathExceptions
when this happens.
* The criteria for choosing between the Lanczos series and continued fraction expansion when computing
regularized gamma functions has been changed to (x >= a + 1). When using the series approximation
(regularizedGammaP), divergence to infinity is checked and when this happens, 1 is returned.
* When scaling continued fractions to (try to) avoid divergence to infinity, the larger of a and b is
used as a scale factor and the attempt to scale is repeated up to 5 times, using successive powers
of the scale factor.
* The maximum number of iterations used in estimating cumulative probabilities for PoissonDistributionImpl
has been decreased from Integer.MAX_VALUE to 10000000 and made configurable.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@920558 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 22:57:32 +00:00
Niall Pemberton
79a0ac99bc
Re-generate the download pages using the new commons-build-plugin .12 (via commons-parent version 13)
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@920156 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 00:11:50 +00:00
Luc Maisonobe
fbecc3ecbf
fixed wrong subscript
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@920132 13f79535-47bb-0310-9956-ffa450edef68
2010-03-07 22:22:24 +00:00
Luc Maisonobe
ed40ebc5cd
improved documentation of ODE package, including the new jacobians part
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@920131 13f79535-47bb-0310-9956-ffa450edef68
2010-03-07 22:19:18 +00:00
Luc Maisonobe
7a7eb1dccc
separated ODEWithJacobians from ParameterizedODE:
...
when jacobians are already available, there is no need to have a setParameter method
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@919963 13f79535-47bb-0310-9956-ffa450edef68
2010-03-07 10:59:33 +00:00