Commit Graph

4796 Commits

Author SHA1 Message Date
Sebastian Bazley 4cbb775abb Javadoc clarifications
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1503631 13f79535-47bb-0310-9956-ffa450edef68
2013-07-16 09:35:54 +00:00
Sebastian Bazley 43e4049d59 Test non-Comparable parameters for Pct and CumPct
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1503629 13f79535-47bb-0310-9956-ffa450edef68
2013-07-16 09:34:38 +00:00
Sebastian Bazley 91c5101c33 Add some tests of NaNs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1503623 13f79535-47bb-0310-9956-ffa450edef68
2013-07-16 09:15:32 +00:00
Sebastian Bazley 82a9e0d06f Drop the alternate commented approach
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1503308 13f79535-47bb-0310-9956-ffa450edef68
2013-07-15 15:47:21 +00:00
Sebastian Bazley 4f2f94cd04 Missing @Override
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1503290 13f79535-47bb-0310-9956-ffa450edef68
2013-07-15 15:16:29 +00:00
Sebastian Bazley 7bbb2559f5 Make boxing explicit
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1503287 13f79535-47bb-0310-9956-ffa450edef68
2013-07-15 15:07:43 +00:00
Sebastian Bazley e3bb2063e7 MATH-1000 Add mode function to Frequency class
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1503286 13f79535-47bb-0310-9956-ffa450edef68
2013-07-15 15:05:41 +00:00
Gilles Sadowski 91d280b730 MATH-1005
Array of length 1 must be handled as a special case.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1502516 13f79535-47bb-0310-9956-ffa450edef68
2013-07-12 11:29:12 +00:00
Luc Maisonobe 7cdc540aa6 Fixed moved URL of the reference paper about automatic differentiation.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1500685 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 12:14:37 +00:00
Luc Maisonobe b3d0fede49 Missing javadoc @param.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1500603 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 08:31:49 +00:00
Luc Maisonobe 04240b9a91 Unneeded imports.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1500601 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 08:20:26 +00:00
Sebastian Bazley 630a53d5e4 Turn fixed values into constants
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1500500 13f79535-47bb-0310-9956-ffa450edef68
2013-07-07 18:06:40 +00:00
Sebastian Bazley 2e56105867 Turn fixed values into constants
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1500489 13f79535-47bb-0310-9956-ffa450edef68
2013-07-07 17:20:08 +00:00
Sebastian Bazley 3e2570e117 Oops - accidentally committed test for new method that's not yet added
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1500487 13f79535-47bb-0310-9956-ffa450edef68
2013-07-07 17:14:46 +00:00
Gilles Sadowski c0c42c39fc Annotation "@Override" cannot be used here (Java 5).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1500402 13f79535-47bb-0310-9956-ffa450edef68
2013-07-07 10:30:15 +00:00
Gilles Sadowski 7fb87df294 MATH-997
Gauss-Hermite quadrature scheme.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1500018 13f79535-47bb-0310-9956-ffa450edef68
2013-07-05 14:20:19 +00:00
Thomas Neidhart 3739de305d Fix copy&paste error in release howto.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1499857 13f79535-47bb-0310-9956-ffa450edef68
2013-07-04 20:19:17 +00:00
Sebastian Bazley 16dbaf9707 Accidental over-eager commit, commented out in r1500487
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1499841 13f79535-47bb-0310-9956-ffa450edef68
2013-07-04 18:54:42 +00:00
Sebastian Bazley 237fe2a651 Avoid Findbugs dead store warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1499838 13f79535-47bb-0310-9956-ffa450edef68
2013-07-04 18:25:51 +00:00
Sebastian Bazley 28f6b3fc15 Spell it out - easier to read
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1499815 13f79535-47bb-0310-9956-ffa450edef68
2013-07-04 17:28:45 +00:00
Gilles Sadowski 8422b12f36 "final" keyword.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1499814 13f79535-47bb-0310-9956-ffa450edef68
2013-07-04 17:25:55 +00:00
Sebastian Bazley 99db22a8df Tab police
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1499813 13f79535-47bb-0310-9956-ffa450edef68
2013-07-04 17:24:47 +00:00
Sebastian Bazley a6dfb27d91 Missing @Override
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1499809 13f79535-47bb-0310-9956-ffa450edef68
2013-07-04 17:11:25 +00:00
Sebastian Bazley 07182b1c6f Missing @Deprecated tags
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1499808 13f79535-47bb-0310-9956-ffa450edef68
2013-07-04 17:00:42 +00:00
Gilles Sadowski cc15aa3895 MATH-995
Javadoc: added warning about wrong usage.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1499765 13f79535-47bb-0310-9956-ffa450edef68
2013-07-04 14:24:11 +00:00
Thomas Neidhart a0b4394bcc Add svn:keywords.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1499088 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 20:03:20 +00:00
Thomas Neidhart 232b96ceb1 Fix TODO after the referenced issue has been resolved.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1499085 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 20:00:47 +00:00
Thomas Neidhart e3c4637e19 Suppress unused warning in test code.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1499082 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 19:57:45 +00:00
Thomas Neidhart d0cce453d7 Fix some warnings in test code.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1499081 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 19:56:10 +00:00
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