Commit Graph

3621 Commits

Author SHA1 Message Date
Thomas Neidhart a436c93ce3 Merged TTest implementation and interface, removed use of MathException.
JIRA: MATH-488, MATH-739

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243304 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 19:44:21 +00:00
Thomas Neidhart 36a3920924 Merged ChiSquareTest implementation and interface, removed use of MathException.
JIRA: MATH-488, MATH-739

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243286 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 18:07:53 +00:00
Sebastien Brisard f994f9d4a9 As discussed on the mailing-list, Author and Date should not be used as svn:keywords.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243264 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 15:28:58 +00:00
Sebastien Brisard eac9648b4f In package o.a.c.m.transform, created enum DctNormalization to be passed to the constructor of FastCosineTransformer (instead of boolean parameter).
Made constructor public, and removed factory methods.
See MATH-743

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243263 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 15:18:15 +00:00
Gilles Sadowski dca41739a7 MATH-707
Renamed "RealPointValuePair" to "PointValuePair" and made it a subclass
of "Pair<double[], Double>".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243186 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 00:37:23 +00:00
Sebastien Brisard fb761ffb51 In package o.a.c.m.transform
- replaced RealTransformer.transform(double[]) and RealTransformer.inverseTransform(double[]) with RealTransformer.transform(double[], TransformType)
  - replaced RealTransformer.transform(UnivariateFunction, double, double, int) and RealTransformer.inverseTransform(UnivariateFunction, double, double, int) with RealTransformer.transform(UnivariateFunction, double, double, int, TransformType).

See MATH-743

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243110 13f79535-47bb-0310-9956-ffa450edef68
2012-02-11 17:38:30 +00:00
Sebastien Brisard 29e6359399 - Changed enum FastFourierTransformer.DftNormalization to top-level enumeration (MATH-743).
- Moved part of the Javadoc of FastFourierTransformer to this new enum.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243009 13f79535-47bb-0310-9956-ffa450edef68
2012-02-11 06:24:15 +00:00
Sebastien Brisard dee1c0d70b In o.a.c.m.transform, introduced an enumeration for the type (forward, inverse) of transform asked by the user (MATH-743).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1242703 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 08:46:40 +00:00
Luc Maisonobe 49c39e7d1c Adding missing id.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1242367 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 15:46:25 +00:00
Gilles Sadowski 1513e3db5f Function "atan": Cosmetic changes + "final" keyword.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1242346 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 14:54:00 +00:00
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