Commit Graph

2588 Commits

Author SHA1 Message Date
Luc Maisonobe 1bc1ca5843 fixed an import generating a compilation error
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@979401 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 18:25:19 +00:00
Gilles Sadowski 58f407fc8a Fixed bugs in "BrentOptimizer".
Renamed "BrentMinimizerTest" to "BrentOptimizerTest".
Modified "MultiStartUnivariateRealOptimizerTest" because it uses
"BrentOptimizer" as the underlying optimizer, and so was affected
by the changes.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@979257 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 12:17:45 +00:00
Gilles Sadowski d4b02f6a3a MATH-393
Fixed inconsistent definition of "getResult". Modified associated test accordingly.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@979032 13f79535-47bb-0310-9956-ffa450edef68
2010-07-25 12:29:43 +00:00
Gilles Sadowski 1a637a4458 MATH-389
Duplicate code in "MultivariateRealOptimizer" and
"DifferentiableMultivariateRealOptimizer" moved to new interface
"BaseMultivariateRealOptimizer".
New "AbstractScalarOptimizer" superclass allow implementations that do not
use derivatives.
Deprecated "protected" fields.
"NonLinearConjugateGradientOptimizer" changed to make use of the newly
added accessors instead of the "protected" fields.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@967288 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 22:35:09 +00:00
Luc Maisonobe 92f005ad13 Added a feature allowing error estimation to be computed only on a subset of
Ordinary Differential Equations, considered as the main set, the remaining equations
being considered only as an extension set that should not influence the ODE integration
algorithm 
JIRA: MATH-388

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@967007 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 08:59:37 +00:00
Gilles Sadowski 730e17083e MATH-387: Allow "null" array arguments in "RealPointValuePair" and
"VectorialPointValuePair" constructors.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@965509 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19 14:51:24 +00:00
Gilles Sadowski 968c4a2cf4 MATH-361
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@962702 13f79535-47bb-0310-9956-ffa450edef68
2010-07-09 21:40:19 +00:00
Gilles Sadowski e038fdb1cc MATH-361
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@962515 13f79535-47bb-0310-9956-ffa450edef68
2010-07-09 13:15:28 +00:00
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