Commit Graph

5157 Commits

Author SHA1 Message Date
Thomas Neidhart c2801940ef [MATH-1033] Fix input parameter check in KalmanFilter. Thanks to Yuan Qu.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1531430 13f79535-47bb-0310-9956-ffa450edef68
2013-10-11 21:39:09 +00:00
Thomas Neidhart 1146cf6a60 Formatting.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1531415 13f79535-47bb-0310-9956-ffa450edef68
2013-10-11 20:53:36 +00:00
Thomas Neidhart dcaca39d00 [MATH-1037] Fix GeometricDistributionTest. Thanks to Aleksei Dievskii for the report.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1531413 13f79535-47bb-0310-9956-ffa450edef68
2013-10-11 20:47:20 +00:00
Thomas Neidhart df5fcca949 Added svn:keywords
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1531128 13f79535-47bb-0310-9956-ffa450edef68
2013-10-10 22:09:25 +00:00
Phil Steitz 22cad3d1a9 Added exact binomial test implementation.
Contributed by Thorsten Schaefer
JIRA: MATH-1034


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1527777 13f79535-47bb-0310-9956-ffa450edef68
2013-09-30 20:54:28 +00:00
Thomas Neidhart 7cc91e9f22 [MATH-842] revert incomplete change and postpone.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1524213 13f79535-47bb-0310-9956-ffa450edef68
2013-09-17 20:32:50 +00:00
Thomas Neidhart a6925e3e8a [MATH-842] Fix Blands rule by applying it also to pivot column selection, add getter/setter for cycle prevention, reduce default cut-off threshold to 1e-10.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1523495 13f79535-47bb-0310-9956-ffa450edef68
2013-09-15 19:42:24 +00:00
Phil Steitz fb6f2aec92 Removed vestigal code.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1522637 13f79535-47bb-0310-9956-ffa450edef68
2013-09-12 15:56:02 +00:00
Thomas Neidhart a01407b7c1 Remove trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1522089 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 22:53:56 +00:00
Thomas Neidhart 0442cddf57 Use generic parameter.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1522088 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 22:53:22 +00:00
Thomas Neidhart a0636a7400 Improve changelog entry.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1522086 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 22:49:10 +00:00
Thomas Neidhart 4c7b801625 Formatting and javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1522083 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 22:42:15 +00:00
Gilles Sadowski 9a50472883 Javadoc: using MathJax.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1521951 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 17:50:28 +00:00
Luc Maisonobe ec4b45c342 Removed spurious @Override.
As the method simply implements an interface and as we are still
targeting Java 1.5, the @Override annotation should not be there.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1521774 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 09:57:29 +00:00
Gilles Sadowski f2b1cf5e5d MATH-1014
Created "HarmonicCurveFitter" as a replacement for "HarmonicFitter".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1520807 13f79535-47bb-0310-9956-ffa450edef68
2013-09-07 20:37:49 +00:00
Gilles Sadowski 6429fc8d89 Swapped arguments (expected vs tested).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1520623 13f79535-47bb-0310-9956-ffa450edef68
2013-09-06 16:16:43 +00:00
Gilles Sadowski 034ed33e47 Reuse method from "MathArrays".
Merged "if" cases.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1520622 13f79535-47bb-0310-9956-ffa450edef68
2013-09-06 16:15:34 +00:00
Gilles Sadowski 451e121231 Use method moved to "MathArrays".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1520620 13f79535-47bb-0310-9956-ffa450edef68
2013-09-06 16:07:03 +00:00
Gilles Sadowski db77aa6030 Created "natural" method in "MathArrays" from code previously in
class "RandomDataGenerator" (private method).


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1520619 13f79535-47bb-0310-9956-ffa450edef68
2013-09-06 16:05:51 +00:00
Gilles Sadowski 1f72a13a37 MATH-1027
Changed visibility of "IterationOrder" to "private".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1520611 13f79535-47bb-0310-9956-ffa450edef68
2013-09-06 15:46:19 +00:00
Gilles Sadowski d3b4651afb MATH-1027
Added accessors and (lexicographic) comparator.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1520605 13f79535-47bb-0310-9956-ffa450edef68
2013-09-06 15:32:37 +00:00
Phil Steitz 928a556123 Clarified javadoc for setXxxImpl methods. JIRA: MATH-1023.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1520076 13f79535-47bb-0310-9956-ffa450edef68
2013-09-04 17:24:02 +00:00
Gilles Sadowski 77ba0961e5 MATH-1027
Transferred code from "CombinatoricsUtils" to new class "Combinations".
Made "checkBinomial" public in "CombinatoricsUtils". 


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1519924 13f79535-47bb-0310-9956-ffa450edef68
2013-09-04 07:28:48 +00:00
Thomas Neidhart b3f4a55be9 Added missing since tags.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1519851 13f79535-47bb-0310-9956-ffa450edef68
2013-09-03 21:16:35 +00:00
Thomas Neidhart c4b4a75259 [MATH-1018] Added overloaded constructors which do not require an explicit inverseCumulativeAccuracy parameter, the default one will be used instead.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1519842 13f79535-47bb-0310-9956-ffa450edef68
2013-09-03 20:38:59 +00:00
Thomas Neidhart 83b5df5178 [MATH-1001] Added additional clarification to javadoc wrt byte and short parameters.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1519820 13f79535-47bb-0310-9956-ffa450edef68
2013-09-03 19:58:03 +00:00
Thomas Neidhart 217cabc0d1 [MATH-1001] Added overloaded methods for Frequency#incrementValue, thanks to sebb.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1519813 13f79535-47bb-0310-9956-ffa450edef68
2013-09-03 19:51:26 +00:00
Thomas Neidhart c12b7e04bc [MATH-1030] Added a section to the userguide for the ml/clustering package, thanks to Thorsten Schaefer.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1519307 13f79535-47bb-0310-9956-ffa450edef68
2013-09-01 19:42:05 +00:00
Thomas Neidhart 9027cff326 Fix typo.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1519209 13f79535-47bb-0310-9956-ffa450edef68
2013-08-31 20:00:54 +00:00
Thomas Neidhart 86545dab3e [MATH-996] Fix creation of Fraction/BigFraction objects in maxDenominator mode when the value is close to an actual fraction.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1519204 13f79535-47bb-0310-9956-ffa450edef68
2013-08-31 19:43:02 +00:00
Phil Steitz d7fd760eb8 Added Thorsten Schaefer to contributors.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1519187 13f79535-47bb-0310-9956-ffa450edef68
2013-08-31 15:58:36 +00:00
Thomas Neidhart 8ffd2e9e46 Fix change message.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1519186 13f79535-47bb-0310-9956-ffa450edef68
2013-08-31 15:41:43 +00:00
Thomas Neidhart 46c14e7411 [MATH-1028] Added new distance metric EarthMoversDistance, thanks to Thorsten Schaefer.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1519185 13f79535-47bb-0310-9956-ffa450edef68
2013-08-31 15:32:49 +00:00
Thomas Neidhart e7211873ee Fix Id tags.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1519184 13f79535-47bb-0310-9956-ffa450edef68
2013-08-31 15:22:59 +00:00
Gilles Sadowski 8d57e61426 "final" keyword.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1518829 13f79535-47bb-0310-9956-ffa450edef68
2013-08-29 21:22:59 +00:00
Thomas Neidhart 629663a08f [MATH-999] Improve performance of DiagonalMatrix.preMultiple(RealVector), thanks to Ajo Fod.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1518820 13f79535-47bb-0310-9956-ffa450edef68
2013-08-29 20:57:09 +00:00
Luc Maisonobe db0ad53076 Added a convenience createConstant method for DerivativeStructure.
Thanks to Ajo Fod.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1517789 13f79535-47bb-0310-9956-ffa450edef68
2013-08-27 11:15:50 +00:00
Luc Maisonobe ee9383b770 Improved handling of negative arguments for power function.
Thanks to Ajo Fod.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1517788 13f79535-47bb-0310-9956-ffa450edef68
2013-08-27 11:15:18 +00:00
Gilles Sadowski 5b60da6526 Increase code locality.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1517542 13f79535-47bb-0310-9956-ffa450edef68
2013-08-26 14:24:18 +00:00
David Brosius 9c82c679f8 presize collections
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1517418 13f79535-47bb-0310-9956-ffa450edef68
2013-08-26 03:18:55 +00:00
David Brosius 40ef9f876c simplify string to primitive conversion
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1517416 13f79535-47bb-0310-9956-ffa450edef68
2013-08-26 03:04:38 +00:00
David Brosius 15d9a40e8e remove dead store to 'resultb'
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1517404 13f79535-47bb-0310-9956-ffa450edef68
2013-08-26 01:05:11 +00:00
Luc Maisonobe 8d609db47f Added method to compute a^x for double a and DerivativeStructure x.
This takes care of special cases like a=0, but encounters the same
limitation as rootN near the singularity 0^0. Combined derivatives like
order 2 or higher with respect to canonical variables give NaN and not
+/-infinity. First derivative with respect to a single variable works
well and provided the correct infinity.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1517379 13f79535-47bb-0310-9956-ffa450edef68
2013-08-25 20:15:29 +00:00
Luc Maisonobe cf4805081b Fixed checkstyle warnings.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1517359 13f79535-47bb-0310-9956-ffa450edef68
2013-08-25 18:19:06 +00:00
Gilles Sadowski 5151780b34 Extending the validity range of the check.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1517338 13f79535-47bb-0310-9956-ffa450edef68
2013-08-25 17:06:55 +00:00
Phil Steitz ad35857d0f Added CombinatoricsUtils to the util package, moving binomial
coefficients, factorials and Stirling numbers there and adding
a combinations iterator.
JIRA: MATH-1025

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1517203 13f79535-47bb-0310-9956-ffa450edef68
2013-08-24 21:55:35 +00:00
Gilles Sadowski b06d9bcfa1 MATH-1014
Deprecation markers.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1516923 13f79535-47bb-0310-9956-ffa450edef68
2013-08-23 16:16:00 +00:00
Gilles Sadowski 354d5520c9 MATH-1014
Javadoc.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1516902 13f79535-47bb-0310-9956-ffa450edef68
2013-08-23 15:45:49 +00:00
Gilles Sadowski eb1a3f00a2 MATH-1014
"GaussianCurveFitter" as replacement of "GaussianCurveFitter".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1516896 13f79535-47bb-0310-9956-ffa450edef68
2013-08-23 15:39:55 +00:00
Gilles Sadowski 95ce549b40 MATH-1014
Deprecation markers.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1516895 13f79535-47bb-0310-9956-ffa450edef68
2013-08-23 15:37:29 +00:00