Commit Graph

2430 Commits

Author SHA1 Message Date
Gilles Sadowski b5a23d01b6 MATH-361
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@962306 13f79535-47bb-0310-9956-ffa450edef68
2010-07-08 23:45:06 +00:00
Gilles Sadowski 45f683a436 MATH-361
MATH-382


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@960602 13f79535-47bb-0310-9956-ffa450edef68
2010-07-05 14:10:10 +00:00
Gilles Sadowski cab4f49339 MATH-361
Added new exceptions. Replaced several instances of "IllegalArgumentException"
with a more specific exception.
For not yet released code, removed the checked "DimensionMismatchException"
from the method signature and replaced its instances with the new (unchecked)
version of the exception.
Corrected typos in Javadoc comments.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@959634 13f79535-47bb-0310-9956-ffa450edef68
2010-07-01 12:30:43 +00:00
Gilles Sadowski 10299cdde5 MATH-379
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@958552 13f79535-47bb-0310-9956-ffa450edef68
2010-06-28 12:09:02 +00:00
Gilles Sadowski f6fd043072 MATH-361.
Added a check to avoid triggering a "NullPointerException" if the argument
list is "null".
Added unit tests.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@958551 13f79535-47bb-0310-9956-ffa450edef68
2010-06-28 12:01:35 +00:00
Gilles Sadowski 4102ba5dfb MATH-361
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@957930 13f79535-47bb-0310-9956-ffa450edef68
2010-06-25 13:00:41 +00:00
Gilles Sadowski 66df76d89a MATH-361
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@957518 13f79535-47bb-0310-9956-ffa450edef68
2010-06-24 12:09:14 +00:00
Luc Maisonobe e2d957da2f override resources configuration from parent-pom, as they prevented the default copying of src/main/resources to occur
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@957071 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 23:02:46 +00:00
Gilles Sadowski 434de1dd39 MATH-378
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@956914 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 15:05:51 +00:00
Luc Maisonobe 3f15fc7c1a added missing translations
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@955713 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17 19:32:13 +00:00
Luc Maisonobe f73730ec17 replaced forgotten calls to deprecated exception constructors
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@955710 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17 19:07:55 +00:00
Luc Maisonobe ed1647b61a added missing @since and @deprecated
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@955693 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17 18:15:27 +00:00
William Barker 1ede487865 fix the ant build for the new localization
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@955459 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17 02:11:21 +00:00
Luc Maisonobe 92a9c20dc5 changed the localization mechanism for error messages. The new system is based on an enum rather than on duplicated string literals.
JIRA: MATH-361

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@955423 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 23:03:38 +00:00
Gilles Sadowski abfacd6d14 MATH-376
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@955230 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 13:53:18 +00:00
Phil Steitz e3f28223ad Really make poissonConsistencyTest use a fixed seed. Complete intent of r949613.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@955100 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 00:46:05 +00:00
Gilles Sadowski 4039a14460 Partially fixing MATH-370 (full resolution is delayed to a major release).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@952949 13f79535-47bb-0310-9956-ffa450edef68
2010-06-09 10:41:26 +00:00
Luc Maisonobe 6f54422e96 Added a setQRRankingThreshold method to Levenberg-Marquardt optimizer to improve robustness of rank determination.
JIRA: MATH-352

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@951864 13f79535-47bb-0310-9956-ffa450edef68
2010-06-06 14:01:51 +00:00
Luc Maisonobe 9fdb084383 added a test derived from an invalid issue
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@951863 13f79535-47bb-0310-9956-ffa450edef68
2010-06-06 13:59:06 +00:00
Phil Steitz 49d757a9cb Added @since tags.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@950326 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 01:18:50 +00:00
Luc Maisonobe 110f03f594 reverting a change introduced by error in r949935
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@949936 13f79535-47bb-0310-9956-ffa450edef68
2010-06-01 06:35:23 +00:00
Luc Maisonobe eb452bcb1d fixed an error message
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@949935 13f79535-47bb-0310-9956-ffa450edef68
2010-06-01 06:25:36 +00:00
Phil Steitz 4fdbd67677 Added sampling methods to the distribution classes, based on the random
data generation methods in the random package.
JIRA: MATH-310

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@949895 13f79535-47bb-0310-9956-ffa450edef68
2010-05-31 23:39:25 +00:00
Phil Steitz fb7bf199ff Moved 2.2 changes to correct location.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@949892 13f79535-47bb-0310-9956-ffa450edef68
2010-05-31 23:33:13 +00:00
Phil Steitz e5b07cf0ef Fixed javadoc typos.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@949750 13f79535-47bb-0310-9956-ffa450edef68
2010-05-31 14:06:04 +00:00
Phil Steitz c98ff85082 Changed Poisson consistency test to use a fixed seed.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@949613 13f79535-47bb-0310-9956-ffa450edef68
2010-05-30 22:07:31 +00:00
Phil Steitz aa0d77a177 Fixed javadoc typo.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@949557 13f79535-47bb-0310-9956-ffa450edef68
2010-05-30 19:03:25 +00:00
Phil Steitz 2e75b28336 Eliminated trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@949555 13f79535-47bb-0310-9956-ffa450edef68
2010-05-30 18:34:34 +00:00
Phil Steitz b8de0c4db9 Added random data generation methods to RandomDataImpl for the remaining
distributions in the distributions package.  Added a generic nextInversionDeviate method that takes a discrete or continuous distribution as argument and generates
a random deviate from the distribution.
JIRA: MATH-310

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@949553 13f79535-47bb-0310-9956-ffa450edef68
2010-05-30 18:30:50 +00:00
Phil Steitz 392b44b0a8 Added chisquare test assertion.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@949536 13f79535-47bb-0310-9956-ffa450edef68
2010-05-30 17:03:27 +00:00
Phil Steitz edd22d7ad5 Fixed javadoc typo.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@949535 13f79535-47bb-0310-9956-ffa450edef68
2010-05-30 17:00:15 +00:00
Luc Maisonobe 24218a5278 Fixed Levenberg-Marquardt optimizer that did not use the vectorial convergence checker.
Now this optimizer can use either the general vectorial convergence checker or its own specialized convergence settings.
Minor changes had to be introduced in the test data, they have been validated
JIRA: MATH-362


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@949433 13f79535-47bb-0310-9956-ffa450edef68
2010-05-29 18:15:50 +00:00
Luc Maisonobe 24e05bf7e9 removed unnecessary imports
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@949410 13f79535-47bb-0310-9956-ffa450edef68
2010-05-29 16:11:06 +00:00
Phil Steitz 055114a796 Fixed javadoc typo.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@947418 13f79535-47bb-0310-9956-ffa450edef68
2010-05-23 14:21:44 +00:00
Phil Steitz bb005b56ca Fixed loss of significance error in PersonsCorrelation p-value computation
causing p-values smaller than the machine epsilon (~1E-16) to be reported as 0.
JIRA: MATH-371
Reported and patched by Kevin Childs

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@944939 13f79535-47bb-0310-9956-ffa450edef68
2010-05-16 23:48:07 +00:00
Phil Steitz eb74f8f418 Fixed javadoc spelling error.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@944938 13f79535-47bb-0310-9956-ffa450edef68
2010-05-16 23:44:51 +00:00
Phil Steitz 18f77c11d2 Formatting only.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@944842 13f79535-47bb-0310-9956-ffa450edef68
2010-05-16 14:57:50 +00:00
Phil Steitz 8df36de74b Fixed javadoc error.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@942642 13f79535-47bb-0310-9956-ffa450edef68
2010-05-10 01:58:27 +00:00
William Barker 3a15d8cef2 Fix a problem with the default sparseIterator when an array has exactly one non-zero element
Submitted by: Albert Huang (with some style tweeks)
Issue: MATH-367


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@942638 13f79535-47bb-0310-9956-ffa450edef68
2010-05-10 01:11:35 +00:00
William Barker 252aab4b18 document fix for MATH-368
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@942629 13f79535-47bb-0310-9956-ffa450edef68
2010-05-09 23:22:05 +00:00
William Barker 2c83cdc537 Correct the spelling of the getSparcity [sic] method.
Issue: MATH-368



git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@942488 13f79535-47bb-0310-9956-ffa450edef68
2010-05-09 02:06:48 +00:00
Phil Steitz 8f3849b986 Formatting, wording fixes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@942459 13f79535-47bb-0310-9956-ffa450edef68
2010-05-08 20:11:57 +00:00
Phil Steitz c2d6a1c1c9 Fixed error in javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@942425 13f79535-47bb-0310-9956-ffa450edef68
2010-05-08 17:56:55 +00:00
Sebastian Bazley 967e71f250 Eol-style fix
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@941291 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05 13:54:19 +00:00
Luc Maisonobe f4a4464bee Fix NullPointerException in BisectionSolver.solve(f, min, max, initial)
JIRA: MATH-369

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@940565 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 18:42:27 +00:00
Gilles Sadowski 58f8b21d35 Removed package part in class name links.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@937893 13f79535-47bb-0310-9956-ffa450edef68
2010-04-25 21:42:47 +00:00
Gilles Sadowski 9620e5bfe3 Removed package names in links.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@937545 13f79535-47bb-0310-9956-ffa450edef68
2010-04-23 22:33:37 +00:00
Gilles Sadowski dafd0976ad MATH-366
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@937080 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 22:09:21 +00:00
Gilles Sadowski d9f545ea68 Had forgotten to set svn:eol-style.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@936471 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 20:02:43 +00:00
Gilles Sadowski 7e8035a968 Had forgotten to set the svn:keywords property.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@936391 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 17:00:56 +00:00