Commit Graph

4469 Commits

Author SHA1 Message Date
Gilles Sadowski f235e1c1d0 Replaced deprecated "RandomDataImpl" with "RandomDataGenerator".
Added private constructor.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1422123 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 22:12:34 +00:00
Gilles Sadowski 1f7c434521 Deprecation.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1422107 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 21:47:21 +00:00
Phil Steitz 2f33283981 Reverted incompatible changes made in r1420006.
Fixed javadoc error in EmpiricalDistribution class javadoc.
Deprecated constructors taking RandomDataImpl instances in EmpiricalDistribution, ValueServer.  These constructors predate RandomGenerator, which should be used directly as the source of random data for these classes.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1421968 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 16:28:23 +00:00
Luc Maisonobe 610b5d26c9 Fixed PMD warnings.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1421949 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 15:53:32 +00:00
Gilles Sadowski 2bdc9d4548 Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1421917 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 15:05:18 +00:00
Gilles Sadowski 6f806cfe41 MATH-916
Restore backwards-compatibility (for release 3.1).


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1421911 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 14:59:44 +00:00
Gilles Sadowski 29a297de44 MATH-915
Restore backwards-compatibility (for release 3.1).


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1421910 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 14:57:56 +00:00
Thomas Neidhart 7521e5af34 Fix PMD warnings by suppressing or removing unused imports.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1421448 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 19:45:57 +00:00
Thomas Neidhart 1db324482c Added findbugs exclude filter for class copied to the new optim package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1421434 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 19:18:55 +00:00
Gilles Sadowski 96f6fd10b6 Removed inconsistent null checks (reported by FindBugs).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1421290 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 13:39:04 +00:00
Gilles Sadowski 77910da210 MATH-914
Markers to indicate the bug location.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1421287 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 13:29:56 +00:00
Gilles Sadowski 3f7e2e38ce Unused argument (found by PMD).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1421280 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 13:07:57 +00:00
Gilles Sadowski 28c30e9190 Unused argument (found by PMD).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1421263 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 12:47:07 +00:00
Gilles Sadowski 931e594d11 Removed unneeded "import" statements.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1421260 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 12:41:54 +00:00
Gilles Sadowski f25ba664ed Fixed bug found by PMD.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1421249 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 12:32:03 +00:00
Gilles Sadowski 4a75bce80e MATH-874
Moved "GoalType" and "ObjectiveFunction" to package
"o.a.c.m.optim.nonlinear.scalar".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1421054 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 00:54:05 +00:00
Gilles Sadowski 889c2d9e19 MATH-874
Data files needed by some unit tests.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1420762 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 15:27:35 +00:00
Gilles Sadowski 4a007942c4 Fixed wrong position of package description.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1420705 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 14:35:37 +00:00
Gilles Sadowski 5968be0da0 MATH-874
Update "changes.xml".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1420693 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 14:18:22 +00:00
Gilles Sadowski 7ee7843ffe MATH-874
Refactored of the contents of package "o.a.c.m.optimization"
into the new "o.a.c.m.optim" and "o.a.c.m.fitting" packages.
* All deprecated classes/fields/methods have been removed in the
  replacement packages.
* Simplified API: a single "optimize(OptimizationData... data)"
  for all optimizer types.
* Simplified class hierarchy, merged interfaces and abstract
  classes, only base classes are generic.
* The new classes do not use the "DerivativeStructure" type.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1420684 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 14:10:38 +00:00
Gilles Sadowski 63623c9236 Fixed "Clirr" error.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1420669 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 13:40:35 +00:00
Gilles Sadowski c5bb8dcf03 Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1420666 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 13:33:20 +00:00
Phil Steitz 6c048df147 Fixed javadoc error, replaced depreacated class.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1420006 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 06:10:08 +00:00
Phil Steitz 905aaf4567 Added RealDistribution methods to EmpiricalDistribution. JIRA: MATH-672.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1420000 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 05:36:06 +00:00
Sebastien Brisard 95fc482c33 Javadoc: warning about private methods being accessed through reflection in
unit tests.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1416796 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 06:41:57 +00:00
Thomas Neidhart e1c509e156 Change svn:keywords to {Id Revision} only
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1416643 13f79535-47bb-0310-9956-ffa450edef68
2012-12-03 19:37:14 +00:00
Luc Maisonobe 8f98daf191 Added lower and upper boundaries to finite differences.
When a function is defined only on an interval, finite differences
should not attempt to compute sample points outside this interval. This
case is now detected properly and the sample is shifted if needed. This
may result in some loss of accuracy as the formula is not centered
anymore, but at least we should not get catastrophic errors or
exceptions.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1416249 13f79535-47bb-0310-9956-ffa450edef68
2012-12-02 20:23:49 +00:00
Thomas Neidhart 77da5588a6 Added missing keywords.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1416241 13f79535-47bb-0310-9956-ffa450edef68
2012-12-02 19:34:05 +00:00
Thomas Neidhart d1e76b176a Added missing keywords.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1416240 13f79535-47bb-0310-9956-ffa450edef68
2012-12-02 19:33:06 +00:00
Thomas Neidhart e3d419b8ec Add exclusion filter for new EuclideanDoublePoint.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1416233 13f79535-47bb-0310-9956-ffa450edef68
2012-12-02 18:55:25 +00:00
Thomas Neidhart 0fde6532f1 Removed unused variables.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1416204 13f79535-47bb-0310-9956-ffa450edef68
2012-12-02 17:43:39 +00:00
Sebastien Brisard e10e0441a0 Reverted changes accidentally committed.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1416019 13f79535-47bb-0310-9956-ffa450edef68
2012-12-01 16:27:57 +00:00
Sebastien Brisard ce2502a522 Replaced calls to deprecated Beta.logBeta(double, double, double, int) with
calls to Beta.logBeta(double, double).


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1416017 13f79535-47bb-0310-9956-ffa450edef68
2012-12-01 16:24:33 +00:00
Sebastien Brisard 141f4b8163 Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1416010 13f79535-47bb-0310-9956-ffa450edef68
2012-12-01 16:08:12 +00:00
Sebastien Brisard 492f3de982 Description of upcoming version 3.1 now reports that the accuracy of Beta has
been improved.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1415973 13f79535-47bb-0310-9956-ffa450edef68
2012-12-01 10:36:26 +00:00
Sebastien Brisard efe3c99df1 In the users guide, updated the accuracy of logBeta.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1415971 13f79535-47bb-0310-9956-ffa450edef68
2012-12-01 10:32:30 +00:00
Gilles Sadowski de04366617 MATH-874
Deprecation.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1415872 13f79535-47bb-0310-9956-ffa450edef68
2012-11-30 22:17:07 +00:00
Sebastien Brisard f64b6a906b MATH-738: New implementation of Beta.logBeta(double, double), based on the NSWC
library of mathematical functions.
  - increased accuracy
  - deprecation of Beta.logBeta(double, double, double, int) as the new
    implementation is no longer iterative.
  - some private methods are tested through reflection.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1415853 13f79535-47bb-0310-9956-ffa450edef68
2012-11-30 21:02:23 +00:00
Gilles Sadowski 949ba2c539 MATH-874
Deprecation.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1415454 13f79535-47bb-0310-9956-ffa450edef68
2012-11-29 23:26:00 +00:00
Gilles Sadowski ebae96965e Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1415158 13f79535-47bb-0310-9956-ffa450edef68
2012-11-29 13:27:10 +00:00
Gilles Sadowski 2855cc309e Annotation.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1415149 13f79535-47bb-0310-9956-ffa450edef68
2012-11-29 13:12:55 +00:00
Gilles Sadowski 4333489f68 Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1415000 13f79535-47bb-0310-9956-ffa450edef68
2012-11-29 00:00:51 +00:00
Gilles Sadowski d7f652b816 MATH-897
Updated "changes.xml".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1414848 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 18:13:32 +00:00
Sebastien Brisard 647b3b4dde Checkstyle: removed exception from signature, as this exception will never be raised.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1414536 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 05:51:27 +00:00
Sebastien Brisard 6d9e72505e Checkstyle.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1414535 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 05:48:50 +00:00
Sebastien Brisard a869a06efa In GammaTest: restored method checkRelativeError which was inadvertently removed in r1414527.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1414531 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 05:39:39 +00:00
Sebastien Brisard 87d61c2a51 In changes.xml: Beta has not been changed yet.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1414529 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 05:33:36 +00:00
Sebastien Brisard c080fd3c18 Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1414528 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 05:30:38 +00:00
Sebastien Brisard c1a2c4081c In class Gamma, removed auxiliary functions logGammaSum and
logGammaMinusLogGammaSum, as they are not ready to be included in version 3.1
of Commons-Math.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1414527 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 05:27:27 +00:00
Sebastien Brisard 2fde62aff6 In class Beta, removed auxiliary function bcorr, as it is not ready to be
included in version 3.1 of Commons-Math.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1414525 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 05:24:12 +00:00