Commit Graph

3661 Commits

Author SHA1 Message Date
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
Sebastien Brisard d6be0f5005 Removed unnecessary import (MATH-731).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1230953 13f79535-47bb-0310-9956-ffa450edef68
2012-01-13 09:23:35 +00:00
Sebastien Brisard 946b37c737 Javadoc
Added optional support for transposition of linear operators.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1230907 13f79535-47bb-0310-9956-ffa450edef68
2012-01-13 07:11:19 +00:00
Sebastien Brisard ffbb85d329 Javadoc
Made sure that exceptions are documented in both javadoc and method signatures.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1230906 13f79535-47bb-0310-9956-ffa450edef68
2012-01-13 07:04:10 +00:00
Gilles Sadowski d61dba0cf6 MATH-664
Added a user-defined singularity threshold (with 0 as default to retain
previous behaviour).


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1230509 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 13:05:46 +00:00
Sebastien Brisard 905a32a8f4 Removed invocations of some Java 1.6 methods (MATH-731).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1230435 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 08:08:29 +00:00
Sebastien Brisard 54755f169e Implementation of continuous triangular distributions (MATH-731). Patch contributed by Dennis Hendriks.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1230419 13f79535-47bb-0310-9956-ffa450edef68
2012-01-12 07:01:43 +00:00
Sebastien Brisard e9a4161615 More thorough testing of FastFourierTransformer (MATH-677).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1229905 13f79535-47bb-0310-9956-ffa450edef68
2012-01-11 06:49:33 +00:00
Sebastien Brisard 744998a737 Javadoc (MATH-730).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1229050 13f79535-47bb-0310-9956-ffa450edef68
2012-01-09 07:59:06 +00:00
Sebastien Brisard d5c397414b Javadoc (MATH-730).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1229048 13f79535-47bb-0310-9956-ffa450edef68
2012-01-09 07:48:27 +00:00
Sebastien Brisard 11d47fb1e5 Javadoc (MATH-730).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1229046 13f79535-47bb-0310-9956-ffa450edef68
2012-01-09 07:38:19 +00:00
Sebastien Brisard 9971405cdf Implementation of uniform distributions (real + integer). See MATH-730. Patch contributed by Dennis Hendriks.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1229042 13f79535-47bb-0310-9956-ffa450edef68
2012-01-09 07:02:08 +00:00
Sebastien Brisard a244c199d4 Updated serialVersionUID. Related to MATH-677.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1227477 13f79535-47bb-0310-9956-ffa450edef68
2012-01-05 04:15:09 +00:00
Sebastien Brisard 74412ef81d Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1227476 13f79535-47bb-0310-9956-ffa450edef68
2012-01-05 04:09:55 +00:00
Sebastien Brisard 31bbb41c5e Moved
- transform.FastFourierTransformer.scaleArray(Complex[], double)
  - transform.FastFourierTransformer.scaleArray(double[], double)
to newly created class transform.TransformUtils.

Related to MATH-677.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1227475 13f79535-47bb-0310-9956-ffa450edef68
2012-01-05 04:08:18 +00:00
Sebastien Brisard cfe3c4c814 Inlined
- transform.FastFourierTransformer.verifyDataSet(double[])
  - transform.FastFourierTransformer.verifyDataSet(Object[])
to improve readability.

Related to MATH-677.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1227470 13f79535-47bb-0310-9956-ffa450edef68
2012-01-05 03:51:56 +00:00
Sebastien Brisard 0373853862 Moved
transform.FastFourierTransformer.sample(UnivariateFunction, double, double, int)
to
analysis.FunctionUtils.sample(UnivariateFunction, double, double, int)
and created simple unit tests.

Related to MATH-677.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1227468 13f79535-47bb-0310-9956-ffa450edef68
2012-01-05 03:46:47 +00:00
Sebastien Brisard a4d7e7c86d Moved o.a.c.m.transform.FastFourierTransformer.isPowerOf2 to o.a.c.m.util.ArithmeticUtils.isPowerOfTwo (MATH-677).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1227042 13f79535-47bb-0310-9956-ffa450edef68
2012-01-04 03:47:46 +00:00
Sebastien Brisard 7f6912730e Javadoc (MATH-677).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1227015 13f79535-47bb-0310-9956-ffa450edef68
2012-01-04 01:31:23 +00:00
Sebastien Brisard 2689ee367b Removed references to deprecated MathRuntimeException (MATH-677).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1227008 13f79535-47bb-0310-9956-ffa450edef68
2012-01-04 00:57:19 +00:00
Sebastien Brisard 2d16e3fe0a Removed references to deprecated MathRuntimeException (MATH-677).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1226669 13f79535-47bb-0310-9956-ffa450edef68
2012-01-03 06:29:17 +00:00
Sebastien Brisard 4cce3340e8 Removed references to deprecated MathRuntimeException (MATH-677).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1226359 13f79535-47bb-0310-9956-ffa450edef68
2012-01-02 07:19:58 +00:00
Sebastien Brisard a02edcfa96 Reseeded Well1024aTest.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1226096 13f79535-47bb-0310-9956-ffa450edef68
2011-12-31 14:50:14 +00:00
Sebastien Brisard 37d642ec30 Removed references to MathRuntimeException (MATH-677).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1226053 13f79535-47bb-0310-9956-ffa450edef68
2011-12-31 09:38:11 +00:00
Sebastien Brisard a21d5ae301 Modifications to the hierarchy of distributions, according to MATH-692. Patch contributed by Christian Winter.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1226041 13f79535-47bb-0310-9956-ffa450edef68
2011-12-31 05:18:48 +00:00
Sebastien Brisard 1f9d49ec71 Dummy commit (take 2, back to normal) to try and understand the problems discussed on the mailing list (see http://mail-archives.apache.org/mod_mbox/commons-dev/201112.mbox/%3CCAGRH7Hp6%3D8htP%2BDArQ_zZOYLUOCzASX%3Dq6%3DkYm%2BVQ_X%2BH8Ew4w%40mail.gmail.com%3E).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1225844 13f79535-47bb-0310-9956-ffa450edef68
2011-12-30 15:21:37 +00:00
Sebastien Brisard 8c895fc74f Dummy commit (take 2) to try and understand the problems discussed on the mailing list (see http://mail-archives.apache.org/mod_mbox/commons-dev/201112.mbox/%3CCAGRH7Hp6%3D8htP%2BDArQ_zZOYLUOCzASX%3Dq6%3DkYm%2BVQ_X%2BH8Ew4w%40mail.gmail.com%3E).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1225843 13f79535-47bb-0310-9956-ffa450edef68
2011-12-30 15:19:44 +00:00
Sebastien Brisard ba117812a2 Dummy commit to try and understand the problems discussed on the mailing list (see http://mail-archives.apache.org/mod_mbox/commons-dev/201112.mbox/%3CCAGRH7Hp6%3D8htP%2BDArQ_zZOYLUOCzASX%3Dq6%3DkYm%2BVQ_X%2BH8Ew4w%40mail.gmail.com%3E).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1225841 13f79535-47bb-0310-9956-ffa450edef68
2011-12-30 15:14:18 +00:00
Sebastien Brisard 99071a0140 Dummy commit to try and understand the problems discussed on the mailing list (see http://mail-archives.apache.org/mod_mbox/commons-dev/201112.mbox/%3CCAGRH7Hp6%3D8htP%2BDArQ_zZOYLUOCzASX%3Dq6%3DkYm%2BVQ_X%2BH8Ew4w%40mail.gmail.com%3E).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1225839 13f79535-47bb-0310-9956-ffa450edef68
2011-12-30 15:11:31 +00:00
Daniel Shahaf 6402f73b91 dummy commit
Trying to commit WeibullDistribution.java using 1.7.0 to harmonia


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1223005 13f79535-47bb-0310-9956-ffa450edef68
2011-12-24 19:30:06 +00:00
Daniel Shahaf 8baf6595b8 dummy commit
Trying to reproduce the error reported on infra@,
using 1.7.0, committing to harmonia

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1223004 13f79535-47bb-0310-9956-ffa450edef68
2011-12-24 19:28:32 +00:00