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
Thomas Neidhart
463896f1cc
Fix generics warnings in GaussIntegratorFactory.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1364420 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 20:01:12 +00:00
Thomas Neidhart
4bef936067
Bit of code cleanup in MullerUpdatingRegression.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1364417 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 19:53:53 +00:00
Thomas Neidhart
b19f70ba00
[MATH-831] Add a RealMatrixFormat class to (de-)serialize a RealMatrix from its string representation.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1364405 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 19:38:36 +00:00
Thomas Neidhart
438938e558
Fix id tags and svn:keywords for optimization package.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1364392 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 18:27:12 +00:00
Thomas Neidhart
0d7c65f4bd
Fix id tags for TransformType.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1364391 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 18:21:57 +00:00
Thomas Neidhart
758d1329be
Fix id tags and svn:keywords for stat package.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1364390 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 18:21:02 +00:00
Thomas Neidhart
c03c4a399e
Fix id tags and svn:keywords for util package.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1364389 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 18:19:26 +00:00
Thomas Neidhart
a25aa0bbef
Fixed id tags and svn:keywords for exception.util package.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1364388 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 18:16:43 +00:00
Thomas Neidhart
30a037d240
Fix id tags and svn:keywords in analysis package.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1364387 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 18:14:11 +00:00
Thomas Neidhart
63bf6a5dcf
Fixed id tag, added svn:keywords for exception package.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1364378 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 17:42:38 +00:00
Thomas Neidhart
063515d0aa
Fixed id tag, added svn:keywords for analysis.function package.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1364377 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 17:39:16 +00:00
Thomas Neidhart
85ea9b32bd
Added missing keywords setting.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1364376 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 17:29:45 +00:00
Thomas Neidhart
5e76de1cc9
Removed unneeded import, fix id tag in header.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1364374 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 17:27:02 +00:00
Thomas Neidhart
bcd6ebb554
Removed unnecessary return statements, reported by pmd.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1364372 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 17:24:20 +00:00
Thomas Neidhart
2f013e3746
Combined two subsequent if statements, reported by pmd.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1364371 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 17:23:12 +00:00
Thomas Neidhart
8b7f2a69cf
Removed unnecessary return statements, reported by pmd.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1364369 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 17:22:05 +00:00
Thomas Neidhart
d66e446778
Removed unnecessary return statements, reported by pmd.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1364366 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 17:19:22 +00:00
Thomas Neidhart
e42f60b937
Checkstyle fix wrt unused imports.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1364329 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 15:30:45 +00:00
Thomas Neidhart
9e9d237ad3
Use non-deprecated ctor.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1364328 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 15:29:11 +00:00
Thomas Neidhart
072851608e
[MATH-578] Improve performance of quantile evaluation in Percentile for special cases.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1364318 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 15:00:52 +00:00
Gilles Sadowski
6953c29492
MATH-797
...
Attribution.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1364200 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 00:57:41 +00:00
Gilles Sadowski
d8f4cbb539
MATH-797
...
Modified test to be Java5 compatible.
Corrected a bug in the (dummy) rule computation.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1364137 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 18:14:26 +00:00
Gilles Sadowski
8287659b3d
MATH-797
...
Added unit test.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1364075 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 12:47:04 +00:00
Gilles Sadowski
3a87c22aee
MATH-829
...
Removed unnecessary "throws Exception" clause from method signature.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1364030 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 01:10:04 +00:00
Gilles Sadowski
aa5e60b456
MATH-829
...
Removed unnecessary (and uninformative) "throws Exception" clauses in
method signature.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1364028 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 00:42:49 +00:00
Gilles Sadowski
1fb8df0850
MATH-797
...
Performance: synchronization should ensure that the computation of each
rule will be performed once, even if the factory is accessed from multiple
threads.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1364024 13f79535-47bb-0310-9956-ffa450edef68
2012-07-21 00:08:18 +00:00
Gilles Sadowski
6f92d77bb1
Added license header.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1363955 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 21:27:21 +00:00
Gilles Sadowski
6aab535162
MATH-797
...
Performance improvement: Caching the converted rules that were already
retrieved, so that the conversion from "Number" occurs only once per rule.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1363875 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 17:12:30 +00:00
Gilles Sadowski
d6f70780c9
MATH-764
...
MATH-823
Recovered backward-compatible functionality (removed in r1363604) for
deprecated field.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1363612 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 01:12:08 +00:00
Gilles Sadowski
9a0794de0f
MATH-764
...
MATH-823
Allow explicit setting of RNG (parameter of the constructor).
Removed dependency on "RandomDataImpl" for the "sample" method.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1363604 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 00:43:45 +00:00
Gilles Sadowski
7771f5aabe
Typo in svn tag.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1363588 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 23:49:15 +00:00
Gilles Sadowski
178ab444fe
MATH-829
...
Removed "throws" clause from method signature.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1363575 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 23:02:47 +00:00
Thomas Neidhart
c56b813444
Fixed checkstyle warning.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1363565 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 22:02:16 +00:00
Gilles Sadowski
4ca1aec24c
Fixed typo in class name.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1363309 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 12:01:05 +00:00
Thomas Neidhart
cb719d1fa8
Add math-235 to changes.xml.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1363118 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 21:08:51 +00:00
Thomas Neidhart
1213c8a2dd
[MATH-235] Added random data test for eigen decomposition, improved error handling.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1363105 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 20:49:43 +00:00
Thomas Neidhart
7dd77c4bdf
Relax epsilon criteria for eigen decomposition.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1362665 13f79535-47bb-0310-9956-ffa450edef68
2012-07-17 21:30:23 +00:00