Commit Graph

5331 Commits

Author SHA1 Message Date
Luc Maisonobe 7df36c32a5 Added Hank Grabowski as contributor. 2014-10-17 10:25:46 +02:00
Luc Maisonobe f44d4852ab Fixed end of line encoding problems. 2014-10-17 10:23:23 +02:00
Luc Maisonobe bf88cac1ac Removed unused import. 2014-10-17 10:22:52 +02:00
Hank Grabowski bd3a6ecaa7 Merge remote-tracking branch 'upstream/master' 2014-10-15 10:20:34 -04:00
Hank Grabowski d8bfc8c8f8 MATH-1138 #comment Implemented new BiCubicSplineInterpolator, supporting Akima Spline Interpolator and updated tests 2014-10-15 10:15:14 -04:00
Luc Maisonobe d26810c0d9 Added Ole Ersoy to the contributors list. 2014-10-15 09:13:36 +02:00
Luc Maisonobe f5a8bf398c Whitespace. 2014-10-15 09:05:22 +02:00
Luc Maisonobe fc7eeb4801 Merge remote-tracking branch 'oleersoy/master' 2014-10-15 09:02:58 +02:00
Phil Steitz a3fdeb4da9 Changed inference classes to pass null RandomGenerators to distribution constructors. JIRA: MATH-1154. 2014-10-13 06:31:45 -07:00
Ole 0dec6e76fb Corrected variance (Thanks Thomas) and added tests for inverseCumulativeProbability 2014-10-10 17:24:57 -05:00
Ole 4cb944ea68 Updated the class description 2014-10-09 10:13:31 -05:00
Luc Maisonobe 69273dca61 fixed too long first step in fixed Runge-Kutta integrators.
This change is similar to the one done two years ago for adaptive step sizes integrator.

JIRA: MATH-727
2014-10-08 14:25:05 +02:00
Luc Maisonobe 86b92b4e56 Fixed javadoc warnings. 2014-10-07 17:47:58 +02:00
Luc Maisonobe b7867f45a0 Updated command to produce diffs. 2014-10-07 17:42:23 +02:00
Luc Maisonobe b147ad9cbf Fixed a wrong URL. 2014-10-07 17:40:12 +02:00
Luc Maisonobe 9d14fe21a4 Added proper checking of expected exception in FastMath tests.
Some of the new functions trigger exceptions in the data range used for
tests (overflows near range end, divisions by zero). The FastMath
implementation throws compatible exception in the same cases, this is
now tested correctly.
2014-10-07 16:32:59 +02:00
Luc Maisonobe deb5e5298f Improved explanation about git configuration. 2014-10-07 15:26:51 +02:00
Luc Maisonobe a67f0a33e6 Added all Java 8 StrictMath methods to FastMath.
This change allows FastMath to remain compatible with newer Java
versions, despite it stiil requires only Java 5 to compile and run.

JIRA: MATH-1156
2014-10-07 13:54:55 +02:00
Thomas Neidhart cee04d1648 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-math 2014-10-06 23:08:27 +02:00
Thomas Neidhart cde43197f9 Use MathUtils.PI_SQUARED. 2014-10-06 22:50:20 +02:00
Luc Maisonobe 530ffe9951 added site-content to .gitignore 2014-10-06 22:05:04 +02:00
Luc Maisonobe e99b9ef254 Typo. 2014-10-06 14:27:21 +02:00
Luc Maisonobe 58ecf6b954 Updated developers documentation after migration to Git. 2014-10-06 14:25:09 +02:00
Thomas Neidhart 026af89ceb Add missing since tag. 2014-10-03 23:17:15 +02:00
Thomas Neidhart d76128ccf3 Modify changes as Phil did the actual work. 2014-10-03 23:15:39 +02:00
Thomas Neidhart 58d613bd8d [MATH-1139] Added Gumbel, Laplace, Logistic and Nakagami distributions. Thanks to Alexey Volkov. 2014-10-03 23:12:09 +02:00
Phil Steitz e3dda4407a Added statistics missing from toString method in SummaryStatistics.
JIRA: MATH-1147
2014-10-03 10:59:44 -07:00
Thomas Neidhart 97accb47de [MATH-1152] Improved performance of EnumeratedDistribution#sample(). Thanks to Andras Sereny. 2014-09-30 21:16:07 +02:00
Ole 97d32b14e6 Updated the example documentation for the GaussianCurveFitter.
This closes #4 pull request from GitHub.

Thanks to Ole for providing the patch.
2014-09-30 09:50:52 +02:00
Thomas Neidhart 4080feff61 [MATH-1148] Fix MonotoneChain with collinear points as input: take tolerance factor into account when initially sorting the input points. Thanks to Guillaume Marceau for the report. 2014-09-29 18:25:54 +02:00
Luc Maisonobe 5918daf872 Fixed error in interpolation example.
Thanks to Guylaine Prat for finding the error.
2014-09-29 16:34:44 +02:00
Luc Maisonobe 2a59e0ef4b Recovered debugging method that were removed in the previous commit.
The methods are useful and the warning about them being unused could be
solved with an annotation.
2014-09-23 20:57:44 +02:00
Luc Maisonobe e875e6d598 Fixed lots of warnings due to missing @Deprecated annotations. 2014-09-22 18:07:54 +02:00
Luc Maisonobe abffaf334c Removed subversion keywords $Id$, $Revision$ and $Date$.
Git does not support subversion keywords expansion.
2014-09-22 14:02:52 +02:00
Luc Maisonobe 3cbfe27376 added .gitignore 2014-09-22 10:10:06 +02:00
Gilles Sadowski e9464c0a6d MATH-1151
New interface "ValueAndJacobianFunction" (to allow separate evaluation
of either quantity) is a precondition for lazy evaluation (and is enforced
by raising an exception early rather than wait for a failed cast).


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1625967 13f79535-47bb-0310-9956-ffa450edef68
2014-09-18 13:15:12 +00:00
Gilles Sadowski 30b9f935e7 MATH-1146
Unit tests showing that the current implementation fails on some
special values (infinities). Other descriptive statistics values
are probably similarly affected.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1625238 13f79535-47bb-0310-9956-ffa450edef68
2014-09-16 10:35:59 +00:00
Thomas Neidhart 76f154179b [MATH-1145] Fix integer overflows in MannWhitneyUTest. Thanks to Anders Conbere.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1624756 13f79535-47bb-0310-9956-ffa450edef68
2014-09-13 15:46:38 +00:00
Thomas Neidhart 2bc9e7ea86 [MATH-1149] Fix potential null pointer dereferencing.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1624752 13f79535-47bb-0310-9956-ffa450edef68
2014-09-13 15:36:43 +00:00
Gilles Sadowski 78432c9755 MATH-1150
Typo (reported by Sergio Santoro).


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1622206 13f79535-47bb-0310-9956-ffa450edef68
2014-09-03 10:09:22 +00:00
Gilles Sadowski 2f2a2ddaf6 MATH-1141
Allow same value for lower and upper bounds.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1615790 13f79535-47bb-0310-9956-ffa450edef68
2014-08-04 21:00:48 +00:00
Phil Steitz f25a61670e Modified KolmogorovSmirnovTest cdf computation to use the Pelz-Good
approximation (per Simard-L'Ecuyer) for n > 140.  Removed R reference tests, as
our implementation is now different (but should be more accurate)
for the n values covered by the tests.
Also added a PI_SQUARED constant to MathUtils.
JIRA: MATH-1131



git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1613723 13f79535-47bb-0310-9956-ffa450edef68
2014-07-26 20:51:41 +00:00
Luc Maisonobe 2af899b74b Refactored removeAndSlice, replaceAndSlice.
Thansk to Venkatesha Murthy TS for the patch.

JIRA: MATH-1120

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1612346 13f79535-47bb-0310-9956-ffa450edef68
2014-07-21 16:38:45 +00:00
Gary D. Gregory 8af568eabb Use the more modern, compact, and flexible Javadoc "{@code ...}" instead of the HTML "<tt>...</tt>".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1612042 13f79535-47bb-0310-9956-ffa450edef68
2014-07-20 06:57:53 +00:00
Luc Maisonobe 1744e2803f Factored Kth selector and pivoting strategy out from Percentile.
Thanks to Venkatesha Murthy for the patch.

JIRA: MATH-1120

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1610141 13f79535-47bb-0310-9956-ffa450edef68
2014-07-13 08:52:29 +00:00
Luc Maisonobe b6a5d26e74 whitespace.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1610140 13f79535-47bb-0310-9956-ffa450edef68
2014-07-13 08:51:55 +00:00
Luc Maisonobe 662b6cbe5a Unused import.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1610138 13f79535-47bb-0310-9956-ffa450edef68
2014-07-13 08:51:24 +00:00
Phil Steitz cc4ab51ee9 Fixed BinomialDistribution to deal with degenerate cases correctly.
JIRA: MATH-1136
Reported and patched by Aleksei Dievskii.



git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1609775 13f79535-47bb-0310-9956-ffa450edef68
2014-07-11 19:22:18 +00:00
Thomas Neidhart a7363a2ae6 [MATH-1135] Fix MonotoneChain algorithm in case of collinear hull points. Thanks to Guillaume Marceau.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1609577 13f79535-47bb-0310-9956-ffa450edef68
2014-07-10 21:39:53 +00:00
Thomas Neidhart ad882055ed [MATH-1131] Improve performance of KolmogorovSmirnovTest#kolmogorovSmirnovTest() for large samples. Thanks to Schalk W. Cronjé
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1607864 13f79535-47bb-0310-9956-ffa450edef68
2014-07-04 14:22:30 +00:00