Commit Graph

3790 Commits

Author SHA1 Message Date
Sebastien Brisard c0e8de1ff0 Fixed Javadoc warnings.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1244375 13f79535-47bb-0310-9956-ffa450edef68
2012-02-15 06:30:05 +00:00
Thomas Neidhart 3dbfbeb0a8 Fixed wrong javadoc reference.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1244130 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 17:10:25 +00:00
Sebastien Brisard 20af7650fc Simplified unit tests following changes proposed in MATH-743 (should have been committed with r1243595).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1244127 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 17:05:54 +00:00
Gilles Sadowski 696be68b5d MATH-444
Base package name change: "o.a.c.math" -> "o.a.c.math3"


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1244107 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 16:17:55 +00:00
Gilles Sadowski 98bfd27d63 MATH-744
"Double.MAX_EXPONENT" and "Float.MAX_EXPONENT" are not available in Java 5.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243944 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 14:34:11 +00:00
Gilles Sadowski 8a83581eaf MATH-744
Fixed "doubleValue()" and "floatValue()" when numerator and denominator are
larger than the range of the corresponding primitive type.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243912 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 13:16:57 +00:00
Gilles Sadowski 57a0248da2 Fixed non-compilable tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243876 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 11:06:24 +00:00
Sebastien Brisard 274e2aa33f In package o.a.c.m.transform, created enum DstNormalization to be passed to the constructor of FastSineTransformer (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@1243595 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 16:35:46 +00:00
Gilles Sadowski 1d67ef4bed Made code comply with Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243529 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 14:22:21 +00:00
Gilles Sadowski 29896d32df MATH-707
Deleted unused and redundant "VectorialConvergenceChecker".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243521 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 14:09:17 +00:00
Gilles Sadowski c045b189f3 Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243517 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 14:00:31 +00:00
Gilles Sadowski 98c3f3b4cf MATH-488
Removed deprecated "MathException".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243473 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 10:35:53 +00:00
Gilles Sadowski d429505103 MATH-488
Removed last occurrences of "MathException" (appearing as a string and in
a commented-out unit test.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243466 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 10:25:09 +00:00
Gilles Sadowski d2734aae66 MATH-459
Removed deprecated "MathRuntimeException".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243460 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 10:10:24 +00:00
Gilles Sadowski 0f2ef2d954 MATH-707
Renamed "SimpleVectorialValueChecker" to "SimpleVectorValueChecker".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243370 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 23:43:48 +00:00
Gilles Sadowski 1b8959c711 MATH-707
"SimpleScalarValueChecker" renamed to "SimpleValueChecker".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243366 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 23:38:24 +00:00
Gilles Sadowski 0bee543107 MATH-707
"SimpleRealPointChecker" and "SimpleVectorialPointChecker" are replaced by
the generic "SimplePointChecker" (instantiated using "PointValuePair" and
"PointVectorValuePair", respectively).


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243365 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 23:29:51 +00:00
Gilles Sadowski 7921608dec MATH-707
Renamed "VectorialPointValuePair" to "PointVectorValuePair" and made it a
subclass of "Pair<double[], double[]>".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243310 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 20:00:31 +00:00
Thomas Neidhart 3390941cd1 Updated changes.xml with fix for MATH-739
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243306 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 19:50:40 +00:00
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