Commit Graph

4767 Commits

Author SHA1 Message Date
Thomas Neidhart 7772d89846 Add a formatting break.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1499079 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 19:55:13 +00:00
Thomas Neidhart 9fb08c2f9e Do sanity checks first to prevent NullPointerException.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1499076 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 19:49:48 +00:00
Gilles Sadowski 9d5ce00453 "final" keyword.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1497952 13f79535-47bb-0310-9956-ffa450edef68
2013-06-28 22:41:00 +00:00
Gilles Sadowski 6fb504f327 MATH-995
Unit test.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1497904 13f79535-47bb-0310-9956-ffa450edef68
2013-06-28 20:06:05 +00:00
Gilles Sadowski 74e699d076 MATH-993
Moved convergence check block to allow returning before an exception
would be raised.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1497713 13f79535-47bb-0310-9956-ffa450edef68
2013-06-28 10:20:21 +00:00
Gilles Sadowski 1e6e14cb5f MATH-991
Method to check whether a point is within the interpolation range.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1491625 13f79535-47bb-0310-9956-ffa450edef68
2013-06-10 22:22:31 +00:00
Gilles Sadowski 25ad33cb9e MATH-989
Added method to check whether a point is within the interpolation range.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1491606 13f79535-47bb-0310-9956-ffa450edef68
2013-06-10 21:24:07 +00:00
Gilles Sadowski b23c8567c3 MATH-990
Reduced amount of copying.
Moved consistency checks out of the double loop.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1489871 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 13:48:26 +00:00
Gilles Sadowski d8aca35b7a Unit test.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1489860 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 13:32:02 +00:00
Gilles Sadowski 4b42ccd141 Javadoc. Variable names.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1489821 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 11:42:36 +00:00
Thomas Neidhart 006f9b7b44 Small improvements to the examples.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1489144 13f79535-47bb-0310-9956-ffa450edef68
2013-06-03 20:12:20 +00:00
Thomas Neidhart d302ce0a95 [MATH-851] Fix formatting, code style, improve loops.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1489104 13f79535-47bb-0310-9956-ffa450edef68
2013-06-03 19:00:31 +00:00
Gilles Sadowski bd445c9b14 Removed branching.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1488992 13f79535-47bb-0310-9956-ffa450edef68
2013-06-03 13:48:23 +00:00
Luc Maisonobe e68422227f Fixed wrong first iteration for midpoint integrator.
Thanks to Gilles for spotting the issue.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1488969 13f79535-47bb-0310-9956-ffa450edef68
2013-06-03 12:10:36 +00:00
Gilles Sadowski 0b2d417d52 Multiple computations of the same value.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1488942 13f79535-47bb-0310-9956-ffa450edef68
2013-06-03 09:47:40 +00:00
Gilles Sadowski e0e56f8055 Base class is not immutable.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1488941 13f79535-47bb-0310-9956-ffa450edef68
2013-06-03 09:43:44 +00:00
Gilles Sadowski f4bc191c4d Avoid unnecessary instance variable.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1488937 13f79535-47bb-0310-9956-ffa450edef68
2013-06-03 09:33:39 +00:00
Luc Maisonobe 9e62190606 Added midpoint integration method.
Patch contributed by Oleksandr Kornieiev.

JIRA: MATH-967

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1488914 13f79535-47bb-0310-9956-ffa450edef68
2013-06-03 09:04:40 +00:00
Luc Maisonobe d270055e87 Fixed NullPointerException in 2D and 3D sub-line intersections.
Patch contributed by Andeas Huber.

JIRA: MATH-988

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1488866 13f79535-47bb-0310-9956-ffa450edef68
2013-06-03 07:15:00 +00:00
Phil Steitz 0ee817712b Added append method to SimpleRegression, making this class map/reducible.
JIRA: MATH-987
Contributed by Ajo Fod

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1488849 13f79535-47bb-0310-9956-ffa450edef68
2013-06-03 05:37:13 +00:00
Luc Maisonobe 2a96c0d647 updated to commons-parent 30 (with JaCoCo support)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1488779 13f79535-47bb-0310-9956-ffa450edef68
2013-06-02 20:07:33 +00:00
Luc Maisonobe ec55222a5b Removed import static.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1488743 13f79535-47bb-0310-9956-ffa450edef68
2013-06-02 17:02:34 +00:00
Phil Steitz ba683c2bd5 Replace wildcard imports, add final declarations.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1488545 13f79535-47bb-0310-9956-ffa450edef68
2013-06-01 17:09:30 +00:00
Gilles Sadowski f0cbf23ebf Make test reproducible.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1488421 13f79535-47bb-0310-9956-ffa450edef68
2013-05-31 22:22:08 +00:00
Gilles Sadowski 731ff8099f Replaced unit tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1488417 13f79535-47bb-0310-9956-ffa450edef68
2013-05-31 22:16:44 +00:00
Phil Steitz 33809e031d Added append method to StorelessCovariance, making this class map/reducible.
JIRA: MATH-978
Contributed by Ajo Fod

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1488337 13f79535-47bb-0310-9956-ffa450edef68
2013-05-31 17:47:53 +00:00
Gilles Sadowski 94c9d2e023 Unit tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1488256 13f79535-47bb-0310-9956-ffa450edef68
2013-05-31 14:41:52 +00:00
Gilles Sadowski 1fc99654bd Fix mistake in code introduced in r1488025.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1488255 13f79535-47bb-0310-9956-ffa450edef68
2013-05-31 14:40:46 +00:00
Gilles Sadowski 92846a6791 MATH-985
Failing unit tests that must be replaced.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1488174 13f79535-47bb-0310-9956-ffa450edef68
2013-05-31 11:36:15 +00:00
Gilles Sadowski 47949e9b95 MATH-985
Fixed wrong indexing.
Unit tests that now fail set to "@Ignore".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1488145 13f79535-47bb-0310-9956-ffa450edef68
2013-05-31 10:42:48 +00:00
Gilles Sadowski 76ace5792c Use binary search for scanning the table of interpolation intervals.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1488025 13f79535-47bb-0310-9956-ffa450edef68
2013-05-30 21:44:32 +00:00
Gilles Sadowski 8543a0056a Hard-coded number.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1488015 13f79535-47bb-0310-9956-ffa450edef68
2013-05-30 21:22:45 +00:00
Thomas Neidhart 4fd920c291 [MATH-851] Added method MathArrays.convolve, thanks to Clemens Novak for the patch.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1486982 13f79535-47bb-0310-9956-ffa450edef68
2013-05-28 16:04:32 +00:00
Thomas Neidhart 07f6ec88e9 Fix some findbugs warnings wrt input streams.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1486967 13f79535-47bb-0310-9956-ffa450edef68
2013-05-28 15:23:05 +00:00
Thomas Neidhart 5c9cbff50c Add reference to the java code used to generate the figure.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1486708 13f79535-47bb-0310-9956-ffa450edef68
2013-05-27 20:22:48 +00:00
Thomas Neidhart 798c27f900 Updated user guide page for distributions with updated classnames.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1486701 13f79535-47bb-0310-9956-ffa450edef68
2013-05-27 20:01:37 +00:00
Thomas Neidhart 9e56afb7c4 [MATH-977] Completed HaltonSequence generator, adding test.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1486422 13f79535-47bb-0310-9956-ffa450edef68
2013-05-26 15:59:03 +00:00
Thomas Neidhart ba68b44abf Added section about low-discrepancy sequences to user-guide.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1486420 13f79535-47bb-0310-9956-ffa450edef68
2013-05-26 15:43:33 +00:00
Thomas Neidhart 5121bcfcb3 Rename userguide examples.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1486415 13f79535-47bb-0310-9956-ffa450edef68
2013-05-26 14:51:38 +00:00
Luc Maisonobe 47c3ecedbd Fixed javadoc error.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1486352 13f79535-47bb-0310-9956-ffa450edef68
2013-05-25 19:58:32 +00:00
Thomas Neidhart 37376db2eb Add support for creating screenshots.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1485435 13f79535-47bb-0310-9956-ffa450edef68
2013-05-22 21:32:02 +00:00
Thomas Neidhart ab6b3c02c3 userguide: add samples for various RandomVectorGenerator implementations (e.g. low discrepancy vs. uniform).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1485347 13f79535-47bb-0310-9956-ffa450edef68
2013-05-22 19:14:47 +00:00
Thomas Neidhart f4b634bff3 [MATH-977] Added implementation of a HaltonSequence.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1485346 13f79535-47bb-0310-9956-ffa450edef68
2013-05-22 19:12:21 +00:00
Thomas Neidhart 03df648a2d small fixes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1484954 13f79535-47bb-0310-9956-ffa450edef68
2013-05-21 20:55:58 +00:00
Thomas Neidhart 4be687e19d Added first sample code to be included in the userguide.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1484885 13f79535-47bb-0310-9956-ffa450edef68
2013-05-21 17:34:50 +00:00
Sebastian Bazley def689482a LANG-894 some doap files have incorrect download page
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1484266 13f79535-47bb-0310-9956-ffa450edef68
2013-05-19 10:53:43 +00:00
Gilles Sadowski c2207ac136 MATH-976
Create a new release artefact.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1483336 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 13:06:18 +00:00
Gilles Sadowski d62f6d9a56 MATH-975
Throw "SingularMatrixException" instead of computing a meaningless value.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1483319 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 12:29:37 +00:00
Thomas Neidhart 51fe6ff3e4 Improve gray code calculation.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1481590 13f79535-47bb-0310-9956-ffa450edef68
2013-05-12 15:57:50 +00:00
Thomas Neidhart 766f13f9de Remove unused import.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1481565 13f79535-47bb-0310-9956-ffa450edef68
2013-05-12 14:12:26 +00:00