Gilles Sadowski
5c72fa771e
Cosmetic changes + "final" keyword.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1242317 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 13:18:06 +00:00
Thomas Neidhart
6c750f8580
Updated svn:keywords to include all required properties.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1242244 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 08:59:47 +00:00
Thomas Neidhart
54f777dbf1
Added missing svn:keywords prop for filter package.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1242237 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 08:42:54 +00:00
Sebastien Brisard
2f1fd757fc
In o.a.c.m.transform.FastFourierTransformer
...
- created enum Normalization{STANDARD, UNITARY}
- removed factory methods create() and createUnitary(), and made constructor public
- added parameter type to static method transformInPlace(double[][], Normalization, boolean)
See MATH-732
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1242230 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 07:37:23 +00:00
Thomas Neidhart
6a63df5151
Added since tag for filter package, minor javadoc fixes.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1242174 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 23:31:10 +00:00
Thomas Neidhart
ddc27b4a15
Merged interface and implementation of OneWayAnova, MannWhitneyUTest and WilcoxonSignedRankTest.
...
JIRA: MATH-739
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1242164 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 22:58:51 +00:00
Thomas Neidhart
bf9278893c
Updated changes.xml with last fixes.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1241838 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 09:50:33 +00:00
Thomas Neidhart
a2d9268a1d
Updated changes.xml with last fixes.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1241837 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 09:45:16 +00:00
Thomas Neidhart
f2a5e4f51e
Added final modifier for parameters, minor formatting changes for stat.inference package
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1241836 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 09:40:40 +00:00
Thomas Neidhart
eec73bbca2
Removed MathException from MannWhitneyUTest, improved javadoc, exceptions.
...
JIRA: MATH-488
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1241831 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 09:27:07 +00:00
Sebastien Brisard
4a8f04b498
Removed invocation of Java 6 Arrays methods (MATH-732).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1241824 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 09:07:20 +00:00
Sebastien Brisard
375dde97a4
Speed improvements to o.a.c.m.transform.FastFourierTransformer. Patch contributed by Kurt Ostfeld (MATH-732).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1241807 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 08:10:56 +00:00
Thomas Neidhart
4ea3c7ede6
Exception handling in WilcoxonSignedRankTest made consistent with CM.
...
JIRA: MATH-488
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1241657 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 22:03:51 +00:00
Thomas Neidhart
7905624f81
Added algorithm convergence throws clauses to OneWayAnova classes as replacement of the generic MathException.
...
JIRA: MATH-488
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1241632 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 21:22:33 +00:00
Thomas Neidhart
2ebf67ac0e
Merged EmpiricalDistributionImpl into EmpiricalDistribution, updated javadoc.
...
JIRA: MATH-670
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1241567 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 19:29:32 +00:00
Thomas Neidhart
7282739422
Changed equality test for failing test. The previous change was simply wrong.
...
JIRA: MATH-588
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1240822 13f79535-47bb-0310-9956-ffa450edef68
2012-02-05 21:13:24 +00:00
Thomas Neidhart
c0aa57b1be
Relaxed too strict equality test.
...
JIRA: MATH-588
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1240790 13f79535-47bb-0310-9956-ffa450edef68
2012-02-05 19:52:49 +00:00
Thomas Neidhart
e300c944ed
Removed last use of MathRuntimeException from test classes.
...
JIRA: MATH-459
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1240340 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 21:08:58 +00:00
Thomas Neidhart
bd92c73009
Fixed exceptions for OneWayAnova interface and impl, removed never thrown MathException.
...
JIRA: MATH-488 MATH-459
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1240310 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 19:28:49 +00:00
Thomas Neidhart
ffc89e5baf
Removed usage of MathRuntimeException in MultivariateSummaryStatistics.
...
JIRA: MATH-459
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1240291 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 18:57:35 +00:00
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