Phil Steitz
3728db280a
Fixed checkstyle errors: hidden fields, missing javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1054280 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 20:15:27 +00:00
Phil Steitz
a86b4b6182
Javadoc only. Added missing @throws tag.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1054275 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 19:36:43 +00:00
Phil Steitz
7ab5efee5d
Added missing javadoc comments.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1054187 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 02:41:35 +00:00
Phil Steitz
c96c12f797
* Added erfc
...
* Top-coded both erf and erfc to return extreme values when true values
are indistinguishable from extrema
* Added tests against reference data
JIRA: MATH-465, MATH-364
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1054184 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 01:23:02 +00:00
Mikkel Meyer Andersen
75bf8e330e
Removed myself from the contributors-section in pom.xml (previously added myself to the developers-section)
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1053923 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 16:06:19 +00:00
Mikkel Meyer Andersen
a4ac4aad19
Added myself in the developers-section in pom.xml
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1053920 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 15:49:17 +00:00
Mikkel Meyer Andersen
01acf585de
svn properties set for files created in connection with MATH-431
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1053918 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 15:38:18 +00:00
Mikkel Meyer Andersen
794f28c200
Starting point for fixing MATH-431. Still some validation tests and documentation are missing.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1053836 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 09:52:00 +00:00
Mikkel Meyer Andersen
392f47dfed
Purified tests introduced in MATH-385 such that NaNs and infinites are handled properly
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1053472 13f79535-47bb-0310-9956-ffa450edef68
2010-12-28 22:19:34 +00:00
Mikkel Meyer Andersen
38155d7ef3
Fixes MATH-384
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1053283 13f79535-47bb-0310-9956-ffa450edef68
2010-12-28 09:03:53 +00:00
Mikkel Meyer Andersen
0f004b25f7
Fixes MATH-385
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1053032 13f79535-47bb-0310-9956-ffa450edef68
2010-12-27 09:51:56 +00:00
Gilles Sadowski
c78bc17c2d
MATH-461
...
Created unchecked exception "MathParseException".
Removed occurrence of old "MathRuntimeException".
Modified unit tests to not use the base class "parseObject" method because its
signature contains a checked exception).
Upgraded tests to Junit4 (MATH-423).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1052341 13f79535-47bb-0310-9956-ffa450edef68
2010-12-23 17:58:11 +00:00
Sebastian Bazley
57a03e8674
MATH-455 Allow Clirr minSeverity to be overridden on the command-line
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1051259 13f79535-47bb-0310-9956-ffa450edef68
2010-12-20 19:41:40 +00:00
Phil Steitz
f85dc5760b
Added a getUniqueCount() method to Frequency to return the number of unique
...
values included in the frequency table.
Reported and patched by Patrick Meyer
JIRA: MATH-414
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1044981 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 00:43:57 +00:00
Phil Steitz
49792e27a5
Added nontrivial GLS regression test. JIRA: MATH-408.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1044935 13f79535-47bb-0310-9956-ffa450edef68
2010-12-12 21:46:42 +00:00
Gilles Sadowski
b6f9254645
MATH-447
...
Made all new exception classes inherit from "MathRuntimeException".
Changed accordingly all tests that relied on catching the standard
Java exception (e.g. "MathIllegalArgumentEception" is not a subclass
of "IllegalArgumentEception" anymore).
Replaced occurrences of the old "MathRuntimeException" by the
appropriate exception from the "exception" package (MATH-459).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1044186 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 00:50:50 +00:00
Phil Steitz
d393072e58
Fixed javadoc typos.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1043908 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 11:53:14 +00:00
Sebastian Bazley
5d2b33bd45
Update Clirr to 2.2.3
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1043411 13f79535-47bb-0310-9956-ffa450edef68
2010-12-08 13:37:46 +00:00
Gilles Sadowski
5a9079f2ec
MATH-454
...
Pass the number of allowed function evaluations as a parameter to the
"optimize" methods.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1043078 13f79535-47bb-0310-9956-ffa450edef68
2010-12-07 15:01:37 +00:00
Gilles Sadowski
142d2c918a
MATH-438
...
Removed deprecated methods.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1043075 13f79535-47bb-0310-9956-ffa450edef68
2010-12-07 14:58:08 +00:00
Gilles Sadowski
34c5d96df7
MATH-425
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1043066 13f79535-47bb-0310-9956-ffa450edef68
2010-12-07 14:40:16 +00:00
Gilles Sadowski
d54330b9bc
MATH-452
...
Made all static variables (accuracies) "private".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1042596 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 11:56:26 +00:00
Sebastian Bazley
71d916f096
Javadoc typos
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1042513 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 02:10:44 +00:00
Sebastian Bazley
47de37f805
Add missing @Deprecated annotation
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1042512 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 02:08:01 +00:00
Sebastian Bazley
bef875a3ba
Unused
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1042511 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 02:07:10 +00:00
Gilles Sadowski
92938b610a
MATH-451
...
Removed the "solve" methods lacking the "maxEval" parameter.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1042502 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 00:53:59 +00:00
Sebastian Bazley
e58d65df4e
Remove unnecessary throws clauses from testxxx methods
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1042428 13f79535-47bb-0310-9956-ffa450edef68
2010-12-05 19:37:55 +00:00
Sebastian Bazley
c3ba9b395e
Unnecessary casts
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1042425 13f79535-47bb-0310-9956-ffa450edef68
2010-12-05 19:28:17 +00:00
Sebastian Bazley
7360926beb
Unused imports
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1042424 13f79535-47bb-0310-9956-ffa450edef68
2010-12-05 19:27:21 +00:00
Sebastian Bazley
fa4b8869dc
Add missing @Deprecated annotation
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1042423 13f79535-47bb-0310-9956-ffa450edef68
2010-12-05 19:27:02 +00:00
Sebastian Bazley
52e8a34e72
StringBuffer => StringBuilder for local variables
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1042422 13f79535-47bb-0310-9956-ffa450edef68
2010-12-05 19:25:21 +00:00
Gilles Sadowski
4d4aa195fe
MATH-451
...
In solvers, the maximum number of evaluations is passed as a parameter to the
method "solve". The "setMaxEvaluations" accessor is removed.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1042151 13f79535-47bb-0310-9956-ffa450edef68
2010-12-04 11:31:12 +00:00
Gilles Sadowski
848c37ee8b
MATH-439
...
Removed deprecated class (superseded by "AbstractUnivariateRealSolver")..
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1041225 13f79535-47bb-0310-9956-ffa450edef68
2010-12-02 00:15:18 +00:00
Gilles Sadowski
25ac524b79
MATH-425
...
Remplaced deprecated code.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1041216 13f79535-47bb-0310-9956-ffa450edef68
2010-12-01 23:58:43 +00:00
Gilles Sadowski
030fff9a45
Test added.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1041214 13f79535-47bb-0310-9956-ffa450edef68
2010-12-01 23:56:07 +00:00
Phil Steitz
3d3af2cfde
Replaced deprecated MaximumIterationsExceededException by MaxCountExceededException. JIRA: MATH-438.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1040868 13f79535-47bb-0310-9956-ffa450edef68
2010-12-01 03:43:20 +00:00
Gilles Sadowski
d951c7028d
MATH-447
...
New "MathRuntimeException" base class.
"MathUserException" shares the same functionality (and thus is made a subclass
of the former).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1040818 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 22:57:14 +00:00
Phil Steitz
5fe9b36c45
Modified NormalDistributionImpl.cumulativeProbability to return 0 or 1,
...
respectively for values more than 40 standard deviations from the mean.
For these values, the actual probability is indistinguishable from 0 or 1
as a double. Top coding improves performance for extreme values and prevents
convergence exceptions.
JIRA: MATH-414
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1040471 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 11:55:22 +00:00
Gilles Sadowski
0615bf8dc0
Added "vararg" parameter to allow "specific" meessage patterns to make use
...
of additional information.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1040003 13f79535-47bb-0310-9956-ffa450edef68
2010-11-29 01:43:12 +00:00
Phil Steitz
c49cd8fa29
Fixed javadoc typo.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1039982 13f79535-47bb-0310-9956-ffa450edef68
2010-11-28 23:52:45 +00:00
Phil Steitz
da07b0aed6
Removed JDK 1.5-incompatible annotations.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1039507 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 18:48:44 +00:00
Gilles Sadowski
f101eb4c2a
MATH-430
...
Removed deprecated classes "ComposableFunction" and "BinaryFunction".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1039465 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 17:02:26 +00:00
Gilles Sadowski
30fd555f27
MATH-430
...
Removed uses of deprecated "BinaryFunction" class.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1039459 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 16:50:31 +00:00
Gilles Sadowski
215cebe8df
MATH-430
...
Removed uses of deprecated "BinaryFunction" class.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1039450 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 16:35:12 +00:00
Gilles Sadowski
ae78e16c8b
MATH-430
...
Removed redundant "mapXxx" methods.
Upgraded tests to Junit4 (MATH-423).
Some test used "assertEquals" without a tolerance (strict equality between
floating point numbers); this failed with Junit4.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1039411 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 15:24:28 +00:00
Gilles Sadowski
44eff7b3e8
MATH-430
...
Deprecated redundant methods in "RealVector" and "AbstractRealVector" (in
package "linear").
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1039315 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 11:27:49 +00:00
Phil Steitz
60f2c6d5f4
Updated changelog for JIRA: MATH-420 (should have been included in r1038873).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1039139 13f79535-47bb-0310-9956-ffa450edef68
2010-11-25 18:49:47 +00:00
Gilles Sadowski
b6e6100a5c
Added reference to issue MATH-439.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1039087 13f79535-47bb-0310-9956-ffa450edef68
2010-11-25 16:30:07 +00:00
Gilles Sadowski
b9559bfce9
MATH-439
...
Refactored the "solvers" package. Implementations refer to number of
evaluation of the objective function (instead of the number of iterations).
New interfaces and base classes.
"NewtonSolver" fits in the design without resorting to a cast.
Created class "MullerSolver2" to contain the code of the method named "solve2"
in class "MullerSolver".
Removed "UnivariateRealSolverFactory" and "UnivariateRealSolverFactoryImpl".
Default solver in "UnivariateRealSolverUtils" is explicitely instantiated.
"AbstractContinuousDistribution": Type of exception thrown changed in
"UnivariateRealSolverUtils".
Factored out duplicate code (in "GaussNewtonOptimizerTest" and
"LevenbergMarquardtOptimizerTest"): class "Circle" is now called
"CircleVectorial". Also factored out the "Circle" class from
"NonLinearConjugateGradientOptimizerTest": class is named "CircleScalar".
Created "SecantSolverTest", moving there all the tests for the class
"SecantSolver" that were located in class "BrentSolverTest".
Created new interface and base class for polynomial functions solvers
("LaguerreSolver") so that the function type is now checked at compile time.
Removed deprecated exceptions (MATH-441).
Javadoc clean-up.
Lowered tolerance values in some unit tests.
Tests upgraded to Junit 4 (MATH-423).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1039083 13f79535-47bb-0310-9956-ffa450edef68
2010-11-25 16:22:00 +00:00
Phil Steitz
c32b8042d8
Added toString() override to StatistictalSummaryValues. JIRA: MATH-420.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1038873 13f79535-47bb-0310-9956-ffa450edef68
2010-11-24 23:35:13 +00:00