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
Gilles Sadowski
053b8dda2d
MATH-1014
...
Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1516875 13f79535-47bb-0310-9956-ffa450edef68
2013-08-23 15:01:33 +00:00
Gilles Sadowski
39479c8a77
MATH-1014
...
Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1516865 13f79535-47bb-0310-9956-ffa450edef68
2013-08-23 14:37:41 +00:00
Gilles Sadowski
667feb7b73
MATH-1014
...
New class "AbstractCurveFitter" as replacement for "CurveFitter".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1516854 13f79535-47bb-0310-9956-ffa450edef68
2013-08-23 14:12:06 +00:00
Gilles Sadowski
0155238a3c
MATH-1014
...
Container for storing observations, to allow separating the curve fitting
algorithms from the data to be fitted.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1516059 13f79535-47bb-0310-9956-ffa450edef68
2013-08-21 02:03:30 +00:00
Sebastian Bazley
897f5e29b9
Suppress long tar file name warnings
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1515675 13f79535-47bb-0310-9956-ffa450edef68
2013-08-19 23:51:59 +00:00
Sebastian Bazley
80bcf448a2
Temp hack to fix CP32 jacoco bug
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1515654 13f79535-47bb-0310-9956-ffa450edef68
2013-08-19 22:57:26 +00:00
Sebastian Bazley
5fe98f86f4
Latest JUnit version
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1515651 13f79535-47bb-0310-9956-ffa450edef68
2013-08-19 22:49:37 +00:00
Gilles Sadowski
529415fffe
MATH-1008
...
Deprecated least-squares optimizers in package "o.a.c.m.optim.nonlinear.vector".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1515242 13f79535-47bb-0310-9956-ffa450edef68
2013-08-18 23:27:29 +00:00
Gilles Sadowski
4f124df979
MATH-1008
...
Added "shallowCopy" method.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1515238 13f79535-47bb-0310-9956-ffa450edef68
2013-08-18 22:55:31 +00:00
Gilles Sadowski
b0a0c5bd6d
Javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1513660 13f79535-47bb-0310-9956-ffa450edef68
2013-08-13 21:38:23 +00:00
Gilles Sadowski
0cc43e36b8
MATH-1019
...
Removed dead link in Javadoc; added entry to original reference
in "LICENCE" file.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1513501 13f79535-47bb-0310-9956-ffa450edef68
2013-08-13 14:20:26 +00:00
Gilles Sadowski
40bde15b03
MATH-1022
...
Fixed Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1513430 13f79535-47bb-0310-9956-ffa450edef68
2013-08-13 10:46:48 +00:00
Gilles Sadowski
4d5660ed47
MATH-991
...
Update "changes.xml".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1512825 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 21:47:57 +00:00