Sebastian Bazley
12983d5e04
MIssing @Override
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1370227 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 12:48:25 +00:00
Sebastian Bazley
404b6196a5
Javadoc fixes (not thrown)
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1370224 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 12:43:41 +00:00
Sebastian Bazley
8d97496f8d
Raw types
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1370220 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 12:42:33 +00:00
Sebastian Bazley
2e16492cbf
Missing @Deprecated
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1370219 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 12:40:56 +00:00
Sebastian Bazley
88c71ec9d7
Unused imports
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1370217 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 12:39:29 +00:00
Sebastian Bazley
8fd9c6eee0
Missing @Deprecated
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1370215 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 12:38:59 +00:00
Sebastian Bazley
e3ec8ebcf0
Javadoc syntax
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1370214 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 12:38:39 +00:00
Sebastian Bazley
aef4dd02f9
Javadoc syntax
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1370211 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 12:38:06 +00:00
Sebastian Bazley
1b434bcd8e
Add comment as to why equals() and hashCode() are not implemented
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1370149 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 08:58:37 +00:00
Gilles Sadowski
6c8f74edd8
Typo.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1369795 13f79535-47bb-0310-9956-ffa450edef68
2012-08-06 12:00:27 +00:00
Thomas Neidhart
68486630e0
Added MATH-777 to changes.xml, thanks to Reid Hochstedler.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1369663 13f79535-47bb-0310-9956-ffa450edef68
2012-08-05 20:20:43 +00:00
Thomas Neidhart
def7c9911a
[MATH-777] Added OrderedCrossover policy.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1369658 13f79535-47bb-0310-9956-ffa450edef68
2012-08-05 20:03:28 +00:00
Phil Steitz
1a44ba4b61
Fixed failing test.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1369654 13f79535-47bb-0310-9956-ffa450edef68
2012-08-05 19:48:31 +00:00
Thomas Neidhart
bd0008e809
[MATH-777] Added CycleCrossover policy.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1369637 13f79535-47bb-0310-9956-ffa450edef68
2012-08-05 18:46:54 +00:00
Thomas Neidhart
0b1a5c1415
Added MATH-828 to changes.xml.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1369616 13f79535-47bb-0310-9956-ffa450edef68
2012-08-05 16:32:52 +00:00
Thomas Neidhart
c2811e767d
Fix findbugs warning, use strict comparison for negative values.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1369597 13f79535-47bb-0310-9956-ffa450edef68
2012-08-05 14:11:27 +00:00
Thomas Neidhart
efb3e07afe
Fixed warnings spotted by checkgilles.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1369591 13f79535-47bb-0310-9956-ffa450edef68
2012-08-05 14:00:33 +00:00
Thomas Neidhart
d880dddc55
Fixed findbugs finding when comparing Integer references.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1369540 13f79535-47bb-0310-9956-ffa450edef68
2012-08-05 09:32:46 +00:00
Gilles Sadowski
4104b21368
MATH-840
...
Fixed invalid argument to "asin" and "acos".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1369514 13f79535-47bb-0310-9956-ffa450edef68
2012-08-05 02:37:15 +00:00
Gilles Sadowski
b6e62ab83a
MATH-740
...
Grabbing a few percents performance for "log".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1369506 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 23:11:45 +00:00
Gilles Sadowski
bfdf1c44af
MATH-839
...
Indicating changes that cannot be performed before 4.0 (new method
"probability(double,double)" can be only added to the interface in
a major release).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1369420 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 19:40:03 +00:00
Gilles Sadowski
ef205a5d1a
MATH-839
...
Created new method "probability(double,double)" in implementations were
it it overridden, and deprecated "cumulativeProbability(double,double)".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1369415 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 19:24:56 +00:00
Gilles Sadowski
5396f1e119
MATH-839
...
Added new method "probability(double, double)" to "AbstractRealDistribution".
Deprecated "cumulativeProbability(double, double)".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1369381 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 18:06:59 +00:00
Thomas Neidhart
b68fc58a61
Added MATH-836 to changes.xml.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1369359 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 16:22:52 +00:00
Gilles Sadowski
6ec0872f28
MATH-838
...
Moved the "probability(double)" method to the parent class.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1369202 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 20:50:33 +00:00
Gilles Sadowski
44b2830b88
Typo.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1369188 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 19:59:36 +00:00
Gilles Sadowski
db540a6b91
Javadoc, formatting.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1369101 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 17:15:38 +00:00
Gilles Sadowski
c25dbeec0f
MATH-834
...
Replaced calls to the various sampling methods in "RandomDataImpl" by their
equivalent "sample" method in the distribution classes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1368738 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 22:18:08 +00:00
Thomas Neidhart
d7c0f27e9f
[MATH-836] Improve overflow check for negative values in Fraction constructor.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1368253 13f79535-47bb-0310-9956-ffa450edef68
2012-08-01 21:24:27 +00:00
Gilles Sadowski
63a48705a4
MATH-835
...
Avoid overflow.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1367593 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 14:58:01 +00:00
Thomas Neidhart
a49e443c44
[MATH-828] Add additional heuristic for rare cases in pivotRow selection.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1367242 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 19:37:48 +00:00
Thomas Neidhart
107d7f3ea8
Use a TreeSet instead of an ArrayList when dropping columns after phase 1 of the simplex solver to improve performance.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1367227 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 19:07:05 +00:00
Gilles Sadowski
ebc0d3d309
Reverting changes inadvertently committed in revision 1366821.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1366826 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 12:12:11 +00:00
Gilles Sadowski
72779b2300
MATH-622
...
Default is now to print 10 fractional digits.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1366821 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 12:05:48 +00:00
Thomas Neidhart
0ed64edde5
Fixed wrong import for FastMath.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1366717 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 17:44:32 +00:00
Thomas Neidhart
574c9abbf2
[MATH-828] Fixed numerical instabilities in SimplexSolver leading to unbounded solutions.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1366707 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 16:37:40 +00:00
Gilles Sadowski
6b537b20f9
Update "changes" file.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1366401 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 14:59:43 +00:00
Gilles Sadowski
e64d8653d1
MATH-762
...
Created an inner class to collect statements that were duplicated.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1366400 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 14:56:10 +00:00
Gilles Sadowski
b451fdc8e4
MATH-832
...
Unit test showing that the issue is invalid: For the function referred to in
the JIRA ticket, "BrentSolver" and "BrentOptimizer" agree: the same value is
found to be the minimum of the function and the root of the function's
derivative.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1365984 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 13:29:56 +00:00
Gilles Sadowski
0062503cf9
MATH-832
...
Unit test (showing that the report is invalid).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1365963 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 12:25:06 +00:00
Gilles Sadowski
31c3a82d4c
Added "final" keyword.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1365559 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 12:40:14 +00:00
Thomas Neidhart
7d077b1431
[MATH-831] Use String.length check instead of isEmpty due to jdk1.5 compatibility.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1364793 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 20:46:28 +00:00
Thomas Neidhart
2166fdac3d
Use non-deprecated ctor.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1364784 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 20:20:07 +00:00
Thomas Neidhart
f20ae062d3
[MATH-235] Added a hasComplexEigenvalues method.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1364783 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 20:19:52 +00:00
Thomas Neidhart
01e1e93d6a
Added MATH-831 to changes.xml.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1364779 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 20:07:29 +00:00
Thomas Neidhart
5553c97842
[MATH-831] Change default format, add static fields in MatrixUtils, replace toString() implementation in AbstractRealMatrix with the default RealMatrixFormat.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1364775 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 19:56:59 +00:00
Gilles Sadowski
303993e923
Fixed typo (svn tag).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1364668 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 15:07:39 +00:00
Gilles Sadowski
f51a7ca5fe
Fixed CheckStyle warnings.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1364453 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 22:45:15 +00:00
Gilles Sadowski
159ca6ebb9
MATH-827
...
Deprecated "LegendreGaussIntegrator" (superseded by
"IterativeLegendreGaussIntegrator").
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1364452 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 22:30:01 +00:00
Gilles Sadowski
28a66efb76
MATH-827
...
New "IterativeLegendreGaussIntegrator" class that performs the same algorithm
as the current "LegendreGaussIntegrator" but uses the recently added Gauss
integration framework (in package "o.a.c.m.analysis.integration.gauss") for
the underlying integration computations.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1364444 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 21:56:20 +00:00