Thomas Neidhart
109e91c742
Fixed failing unit test after change to NumberFormat.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1240282 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 18:24:16 +00:00
Thomas Neidhart
1388bd7015
Replaced MathRuntimeException in util package.
...
JIRA: MATH-459
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1240280 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 18:19:21 +00:00
Thomas Neidhart
6aeda4dcf2
Removed usage of MathException in NumberTransformer and related classes.
...
JIRA: MATH-488
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1240279 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 18:17:21 +00:00
Thomas Neidhart
1914d8f1ed
Fixed javadoc in genetics package.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1240274 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 18:10:12 +00:00
Thomas Neidhart
6512d468ef
Fixed checkstyle and javadoc warnings in package ode
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1240253 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 17:38:02 +00:00
Sebastien Brisard
0280b53e2d
- deprecated o.a.c.m.transform.FastFourierTransformer.mdfft(Object, boolean)
...
- deprecated o.a.c.m.transform.FastFourierTransformer.MultiDimensionalComplexMatrix
see MATH-736
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1240012 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 07:01:03 +00:00
Thomas Neidhart
3109c12ec8
Changed deprecated MathRuntimeException in package stat.regression
...
JIRA: MATH-459
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1239842 13f79535-47bb-0310-9956-ffa450edef68
2012-02-02 21:02:54 +00:00
Thomas Neidhart
ab3935c4c9
Minor checkstyle fixes in optimization.[direct|linear].
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1239805 13f79535-47bb-0310-9956-ffa450edef68
2012-02-02 20:19:54 +00:00
Thomas Neidhart
c9369dc298
Changed deprecated MathRuntimeException in package stat.correlation
...
JIRA: MATH-459
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1239802 13f79535-47bb-0310-9956-ffa450edef68
2012-02-02 20:16:36 +00:00
Thomas Neidhart
11f91fd0eb
Changed deprecated MathRuntimeException to MathIllegalStateException
...
JIRA: MATH-459
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1239793 13f79535-47bb-0310-9956-ffa450edef68
2012-02-02 19:51:57 +00:00
Gilles Sadowski
75d7b31b6a
MATH-734
...
Initialize "final" fields at point of declaration.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1239694 13f79535-47bb-0310-9956-ffa450edef68
2012-02-02 16:11:15 +00:00
Gilles Sadowski
e40b641df3
Javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1239671 13f79535-47bb-0310-9956-ffa450edef68
2012-02-02 15:31:48 +00:00
Sebastien Brisard
eff078bf4f
Corrected wrong translation.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1239554 13f79535-47bb-0310-9956-ffa450edef68
2012-02-02 11:36:45 +00:00
Gilles Sadowski
cbb3c0d087
Javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1239404 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 23:35:46 +00:00
Gilles Sadowski
0576e96e73
MATH-707
...
Renamed "UnivariateRealIntegrator" to "UnivariateIntegrator" and
"UnivariateRealIntegratorImpl" to "BaseAbstractUnivariateIntegrator".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1239390 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 23:04:20 +00:00
Sebastien Brisard
0043cafb2e
Changed serial version UID following r1238898.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1238907 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 02:30:14 +00:00
Sebastien Brisard
53fd99ddf3
In o.a.c.m.linear
...
- Removed tagging interface ProvidesResidual
- added double IterativeLinearSolverEvent.getNormOfResidual()
- added RealVector IterativeLinearSolverEvent.getResidual() (optional operation)
- added boolean IterativeLinearSolverEvent.providesResidual()
- added default implementation DefaultIterativeLinearSolverEvent
see MATH-735.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1238905 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 02:22:00 +00:00
Sebastien Brisard
dbe2110276
In o.a.c.m.complex.RootsOfUnity
...
- renamed computeOmega(int) to computeRoots(int)
- renamed getOmegaReal(int) to getReal(int)
- renamed getOmegaImaginary(int) to getImaginary(int)
- added int getNumberOfRoots()
- added unit tests.
See MATH-677
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1238898 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 01:50:56 +00:00
Gilles Sadowski
352b49daea
MATH-707
...
Renamed classes in package "interpolation".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1238279 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 08:56:19 +00:00
Sebastien Brisard
c643b22bfc
Updates to FastFourierTransformer, following changes to RootsOfUnity in r1238179. See MATH-677.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1238180 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 07:02:58 +00:00
Sebastien Brisard
08ca1e7a0a
Refactoring following the promotion of embedded class o.a.c.m.transform.FastFourierTransformer.RootsOfUnity to standalone class o.a.c.m.complex.RootsOfUnity
...
- computeOmega(int n) now computes exp(2 * pi * i * k / n), k = 0, ..., n - 1, instead of exp(-2 * pi * i * k / n) (which was more natural for FFT).
- isForward() does not mean anything outside the FFT context. It has been renamed isCounterClockwise(), which refers to the way the roots of unity are ordered.
See MATH-677.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1238179 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 07:01:03 +00:00
Sebastien Brisard
74813500be
Moved private class o.a.c.m.transform.FastFourierTransformer.RootsOfUnity to o.a.c.m.complex.RootsOfUnity (MATH-677).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1237544 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 06:30:46 +00:00
Sebastien Brisard
271bbc9eb6
Changes to iterative linear solvers in package o.a.c.m.linear (MATH-735)
...
- PreconditionedIterativeLinearSolver is now provided with the *inverse* of the preconditioner as a RealLinearOperator, rather than the preconditioner as an InvertibleRealLinearOperator
- InvertibleRealLinearOperator has become superfluous and is removed
- various javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1237229 13f79535-47bb-0310-9956-ffa450edef68
2012-01-29 09:39:30 +00:00
Sebastien Brisard
7319e333d6
Added method o.a.c.m.linear.IterativeLinearSolverEvent.getNormOfResidual() (MATH-735).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1237069 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 15:10:42 +00:00
Sebastien Brisard
908d8adc98
Added method getIterations() in o.a.c.m.utils.IterationEvent (MATH-735).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1237056 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 13:19:14 +00:00
Sebastien Brisard
14f26e00eb
In TriangularDistribution, changed the value of the solver absolute accuracy, and updated Javadoc accordingly (MATH-731).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1237026 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 08:50:09 +00:00
Gilles Sadowski
4fdd797b3b
Math-707
...
Renamed "TrivariateRealFunction" to "TrivariateFunction".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1236932 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 00:06:21 +00:00
Gilles Sadowski
a7e7419446
MATH-707
...
Renamed "BivariateRealFunction" to "BivariateFunction".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1236676 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 13:23:12 +00:00
Sebastien Brisard
95d15eff45
Introduced tests to guard against overflow (MATH-722). Corrected Javadoc and updated unit tests accordingly.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1236548 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 07:00:19 +00:00
Sebastian Bazley
7dc0c33e7c
MATH-650 FastMath has static code which slows the first access to FastMath
...
Protect array entries against malicious or accidental corruption by returning a clone
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1235784 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 14:56:50 +00:00
Thomas Neidhart
58133c8612
Fixed localized exception messages according to review of Gilles
...
JIRA: MATH-575
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1235197 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 10:17:13 +00:00
Thomas Neidhart
6f0c74e62a
Added localized messages for exceptions thrown in the genetics package,
...
improved javadoc, added final for parameters.
JIRA: MATH-575
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1235038 13f79535-47bb-0310-9956-ffa450edef68
2012-01-23 22:26:37 +00:00
Gilles Sadowski
a04a6c16c6
MATH-707
...
Removed "Real" from class names in package "o.a.c.m.analysis.solvers".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1234784 13f79535-47bb-0310-9956-ffa450edef68
2012-01-23 13:33:30 +00:00
Sebastien Brisard
cd57ad4c3d
Widened the scope of tests for transform.FastSineTransformer (MATH-677).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1234685 13f79535-47bb-0310-9956-ffa450edef68
2012-01-23 06:47:28 +00:00
Thomas Neidhart
427ba1c6d3
Added entry in changes.xml for MATH-652.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1234499 13f79535-47bb-0310-9956-ffa450edef68
2012-01-22 12:19:21 +00:00
Thomas Neidhart
5191e1ddc8
Fixed faulty test for zero in TridiagonalTransformer
...
JIRA: MATH-652
Reported and patched by Greg Sterijevski
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1234486 13f79535-47bb-0310-9956-ffa450edef68
2012-01-22 11:19:26 +00:00
Sebastien Brisard
7ef57fba61
Widened the scope of tests for transform.FastCosineTransformer (MATH-677).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1234136 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 21:04:29 +00:00
Thomas Neidhart
1661e9dec5
Added myself to pom.xml as developer.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1233608 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 22:29:08 +00:00
Gilles Sadowski
10d1ba8b04
Code and Javadoc cleanup.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1232948 13f79535-47bb-0310-9956-ffa450edef68
2012-01-18 16:22:48 +00:00
Gilles Sadowski
9424a28a30
Code cleanup: One-letter instance variables should not be used.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1232899 13f79535-47bb-0310-9956-ffa450edef68
2012-01-18 14:23:26 +00:00
Gilles Sadowski
41737b05da
Javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1232848 13f79535-47bb-0310-9956-ffa450edef68
2012-01-18 12:00:03 +00:00
Gilles Sadowski
27dc50b397
MATH-664
...
Replaced "LUDecomposition" by "QRDecomposition" in the covariance matrix
computation.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1232846 13f79535-47bb-0310-9956-ffa450edef68
2012-01-18 11:56:48 +00:00
Sebastien Brisard
920798fb85
Test was no longer expecting the correct exception following r1232759.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1232773 13f79535-47bb-0310-9956-ffa450edef68
2012-01-18 07:50:21 +00:00
Sebastien Brisard
47bbab8814
Widened the scope of tests for transform.FastFourierTransformer (MATH-677).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1232767 13f79535-47bb-0310-9956-ffa450edef68
2012-01-18 07:17:48 +00:00
Sebastien Brisard
99c798e46f
In analysis.FunctionUtils.sample, changed the exception to be thrown when bounds are invalid.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1232759 13f79535-47bb-0310-9956-ffa450edef68
2012-01-18 06:38:04 +00:00
Sebastien Brisard
47a87ce229
In LogNormalDistribution and LogNormalDistributionTest
...
- "mean" (of the underlying normal distribution) is now called "scale"
- "standard deviation" (of the underlying normal distribution) is now called "shape"
- in the javadoc, removed html links that point to internal anchors.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1232755 13f79535-47bb-0310-9956-ffa450edef68
2012-01-18 06:17:05 +00:00
Sebastien Brisard
e2c0e16bff
Javadoc (MATH-733).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1232325 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 07:22:42 +00:00
Sebastien Brisard
64230d2b42
Implementation of log-normal distributions (MATH-733). Patch contributed by Dennis Hendriks.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1232324 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 07:12:02 +00:00
Sebastien Brisard
29cd56b6f4
Removed unchecked exceptions from method signatures. See
...
- Commons-Dev mailing list http://mail-archives.apache.org/mod_mbox/commons-dev/201201.mbox/%3C20120113105913.GM6537%40dusk.harfang.homelinux.org%3E
- "Effective Java, second edition", item 62.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1231847 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 06:38:27 +00:00
Gilles Sadowski
d96758d1c6
Added a test.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1231133 13f79535-47bb-0310-9956-ffa450edef68
2012-01-13 15:33:34 +00:00