Commit Graph

5331 Commits

Author SHA1 Message Date
Gilles Sadowski 792839b464 MATH-1134
Flag to request initialization of the internal data needed to call the partial
derivatives methods.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1607434 13f79535-47bb-0310-9956-ffa450edef68
2014-07-02 18:09:36 +00:00
Gilles Sadowski d385c90c2e MATH-1134
Instance fields made "final".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1606940 13f79535-47bb-0310-9956-ffa450edef68
2014-06-30 22:23:16 +00:00
Gilles Sadowski 41b4ca622c Userguide update.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1606503 13f79535-47bb-0310-9956-ffa450edef68
2014-06-29 13:48:19 +00:00
Phil Steitz 25e774c315 Fixed javadoc typo.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1606389 13f79535-47bb-0310-9956-ffa450edef68
2014-06-28 20:12:58 +00:00
Phil Steitz fca88f8e3d Changed distribution tests to use fixed seed. JIRA: MATH-418. Thanks to Venkat Murthy.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1606387 13f79535-47bb-0310-9956-ffa450edef68
2014-06-28 20:08:16 +00:00
Gilles Sadowski 08e918330e MATH-1130
Shortcut (in case one of the arguments is NaN). Thanks to Venkatesha Murthy.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1605777 13f79535-47bb-0310-9956-ffa450edef68
2014-06-26 13:08:55 +00:00
Gilles Sadowski 75d4db00e1 Typo.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1605776 13f79535-47bb-0310-9956-ffa450edef68
2014-06-26 13:05:24 +00:00
Gilles Sadowski 61b2d1f34c Advertize correct exception.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1605775 13f79535-47bb-0310-9956-ffa450edef68
2014-06-26 13:03:57 +00:00
Gilles Sadowski a4118e288f Using method from "MathArrays".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1604651 13f79535-47bb-0310-9956-ffa450edef68
2014-06-22 20:12:41 +00:00
Gilles Sadowski b69e6ca5c1 Method for checking that no array entry is NaN.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1604648 13f79535-47bb-0310-9956-ffa450edef68
2014-06-22 20:06:14 +00:00
Gilles Sadowski 02cf7cbffa Unnecessary brackets.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1604642 13f79535-47bb-0310-9956-ffa450edef68
2014-06-22 19:09:21 +00:00
Gilles Sadowski f08b05b15a Reuse method from "MathArrays".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1604641 13f79535-47bb-0310-9956-ffa450edef68
2014-06-22 19:07:55 +00:00
Phil Steitz 71fd124ddb Constrained EmpiricalDistribution sample/getNextValue methods to return
values within the range of the data; correctly linked RandomGenerator to
superclass so that RealDistribution reseedRandomGenerator method works.

JIRA: MATH-984



git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1604639 13f79535-47bb-0310-9956-ffa450edef68
2014-06-22 18:53:27 +00:00
Luc Maisonobe e31a222cef Fixed forgotten test update.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1604626 13f79535-47bb-0310-9956-ffa450edef68
2014-06-22 18:03:57 +00:00
Luc Maisonobe afff37e03b Added estimation types and NaN handling strategies for Percentile.
Thanks to Venkatesha Murthy for the patch.

JIRA: MATH-1120

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1604614 13f79535-47bb-0310-9956-ffa450edef68
2014-06-22 17:02:33 +00:00
Phil Steitz 7b3e0d4297 Added implementation of PSquare algorithm to estimate percentiles without
storing data in memory (i.e. as StorelessUnivariateStatistic).

JIRA: MATH-418
Contributed by: Venkatesha Murthy



git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1604443 13f79535-47bb-0310-9956-ffa450edef68
2014-06-21 18:14:14 +00:00
Gilles Sadowski 44b5c55e07 MATH-1130
Method "copyOfRange" (available as of Java 6 in "java.util.Arrays").


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1604172 13f79535-47bb-0310-9956-ffa450edef68
2014-06-20 13:37:42 +00:00
Gilles Sadowski 0714c7cbe6 MATH-1128
Introducing a "LazyUnweightedEvaluation": the computation of the model
and Jacobian are deferred until one or the other is actually accessed.
Class "LocalMultivariateJacobianFunction" replaces the anonymous class
that was created when calling the "model" method.
The "evaluate" method of "LocalLeastSquaresProblem" instantiates either
"UnweightedEvaluation" or "LazyUnweightedEvaluation", as requested by
the user of the "create" factory method.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1603219 13f79535-47bb-0310-9956-ffa450edef68
2014-06-17 16:48:12 +00:00
Gilles Sadowski d4f978ddd5 MATH-1129
Fix wrong sorting in the presence of NaN.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1603217 13f79535-47bb-0310-9956-ffa450edef68
2014-06-17 16:30:35 +00:00
Luc Maisonobe ba62c59dae Fixed overflow in Precision.equals with ulps.
Both double and float versions were affected.

JIRA: MATH-1127

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1602438 13f79535-47bb-0310-9956-ffa450edef68
2014-06-13 14:20:05 +00:00
Evan Ward 326beb22c6 Add EvaluationRmsChecker
Convergence checker for Evaluations that decides based on change in RMS.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1599359 13f79535-47bb-0310-9956-ffa450edef68
2014-06-02 21:19:09 +00:00
Evan Ward 0473d5ff10 Move Evan from Contributor to Member on the site
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1598662 13f79535-47bb-0310-9956-ffa450edef68
2014-05-30 16:33:16 +00:00
Thomas Neidhart 8d3d915dbd [MATH-1125] Performance improvements for students t-distribution. Thanks to Ajo Fod.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1598342 13f79535-47bb-0310-9956-ffa450edef68
2014-05-29 17:47:12 +00:00
Phil Steitz 3e0f532e18 Added some info on sampling.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1597357 13f79535-47bb-0310-9956-ffa450edef68
2014-05-24 21:21:59 +00:00
Phil Steitz 17bac30082 Fixed javadoc link.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1597356 13f79535-47bb-0310-9956-ffa450edef68
2014-05-24 21:20:42 +00:00
Thomas Neidhart f4e96cb7fe Use the test-specific hull generator instead of a fixed one.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1596040 13f79535-47bb-0310-9956-ffa450edef68
2014-05-19 20:11:32 +00:00
Thomas Neidhart 4b99061353 Reflect pom updates from the latest release.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1596034 13f79535-47bb-0310-9956-ffa450edef68
2014-05-19 20:08:14 +00:00
Thomas Neidhart 04e6c6f4cb Post-release updates to release notes and download page.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1596032 13f79535-47bb-0310-9956-ffa450edef68
2014-05-19 20:05:27 +00:00
Thomas Neidhart 2d2570442a Update dependencies to parent.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1595934 13f79535-47bb-0310-9956-ffa450edef68
2014-05-19 15:44:02 +00:00
Luc Maisonobe a197ba858e Fixed NullPointerException in BSPTree.
The error occurred when chopping-off a sub-hyperplane
that was exactly at a region boundary.

Thanks to Aurélien Labrosse for the fix.

JIRA: MATH-1123

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1595924 13f79535-47bb-0310-9956-ffa450edef68
2014-05-19 15:00:03 +00:00
Luc Maisonobe e1db2379ff Updated doap with latest relase.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1595922 13f79535-47bb-0310-9956-ffa450edef68
2014-05-19 14:59:27 +00:00
Luc Maisonobe 4f498e6850 next version will be 3.4
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1594669 13f79535-47bb-0310-9956-ffa450edef68
2014-05-14 18:52:23 +00:00
Gilles Sadowski 5a6ccd5872 MATH-1121
Use base class iteration counter. Reported by Ajo Fod.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1594174 13f79535-47bb-0310-9956-ffa450edef68
2014-05-13 09:39:22 +00:00
Gilles Sadowski 013f368747 Prepare for next round.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1594171 13f79535-47bb-0310-9956-ffa450edef68
2014-05-13 09:33:42 +00:00
Gilles Sadowski 241b42482c Typo.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1593867 13f79535-47bb-0310-9956-ffa450edef68
2014-05-11 22:53:54 +00:00
Phil Steitz 950f90879c Added StatUtils convenience methods and updated user guide for Kolmogorov-Smirnov tests. JIRA: MATH-437.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1592430 13f79535-47bb-0310-9956-ffa450edef68
2014-05-04 23:19:43 +00:00
Thomas Neidhart 8f9bb4b451 Revert javadoc changes after discussion on the mailinglist.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1591835 13f79535-47bb-0310-9956-ffa450edef68
2014-05-02 09:04:01 +00:00
Luc Maisonobe 99abe75d48 Fixed checkstyle error.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1591822 13f79535-47bb-0310-9956-ffa450edef68
2014-05-02 08:03:03 +00:00
Gilles Sadowski 26581ccd66 Removed test based on the assumption that iterating over a
"ConcurrentHashMap" would always provide its elements in a
random order. This seemed to be the case up to Java 7 but
not always in Java 8.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1591770 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 20:43:46 +00:00
Thomas Neidhart 81182700e8 Re-enabled test, build is anyway not ready for Java 8.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1591760 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 20:05:31 +00:00
Thomas Neidhart 6abd9f7508 Javadoc fixes with Java 8.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1591664 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 13:48:02 +00:00
Thomas Neidhart 9bab875f03 Disable randomly failing unit test.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1591631 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 12:14:14 +00:00
Thomas Neidhart 5c16d545c5 Add missing due-to.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1591626 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 11:57:55 +00:00
Thomas Neidhart dc666f419e [MATH-1110] Added constructor to OLSMultipleLinearRegression to be able to specify a custom singularity threshold for QR decomposition. Thanks to Edward Segall.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1591624 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 11:54:06 +00:00
Thomas Neidhart 784d6b391f Fix typo.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1591603 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 11:12:12 +00:00
Gilles Sadowski f5f960d1fe MATH-1092
Added changelog entry.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1591497 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 22:18:03 +00:00
Luc Maisonobe 537eb4c22c Added missing change entry for 3.3.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1591448 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 19:06:20 +00:00
Luc Maisonobe 49b2b9898e Added findbugs exception for CMAES.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1591212 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 08:21:15 +00:00
Luc Maisonobe 3cfd84f86a Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1591211 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 08:20:51 +00:00
Thomas Neidhart ec9fc51d58 Apache is now part of the project name.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1590879 13f79535-47bb-0310-9956-ffa450edef68
2014-04-29 06:29:53 +00:00