Commit Graph

4508 Commits

Author SHA1 Message Date
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
Gilles Sadowski 2786244d09 Contents for the release notes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1414470 13f79535-47bb-0310-9956-ffa450edef68
2012-11-27 23:43:06 +00:00
Gilles Sadowski d580fb2ca8 MATH-895
Replaced deprecated method with alternative from "MathArrays".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1414441 13f79535-47bb-0310-9956-ffa450edef68
2012-11-27 22:27:17 +00:00
Gilles Sadowski bc69c0088d MATH-910
Element-by-element basic operations on arrays.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1414435 13f79535-47bb-0310-9956-ffa450edef68
2012-11-27 22:19:36 +00:00
Gilles Sadowski 6844aba987 MATH-904.
Fixed wrong assumption in "pow" method.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413916 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 23:02:29 +00:00
Sebastien Brisard 4673043763 In classes o.a.c.m3.special.Gamma and o.a.c.m3.special.Beta, made some
auxiliary functions package private. It is very unlikely that these functions
should be used outside this package, and if necessary, it will always be
possible to increase their visibility (while the reverse would break
compatibility).


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413807 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 19:55:07 +00:00
Sebastien Brisard fec7740958 MATH-849: Gamma.gamma(double) returns NaN if called on negative integer.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413802 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 19:45:52 +00:00
Gilles Sadowski f348a29e5f MATH-902
Update "changes.xml".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413695 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 16:01:55 +00:00
Gilles Sadowski dfc6a5c215 MATH-905
Update "changes.xml".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413604 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 13:29:18 +00:00
Gilles Sadowski 46ed0af1c2 MATH-905
Avoid overflow on the whole range covered by the equivalent functions in
the standard "Math" class.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413600 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 13:25:27 +00:00
Gilles Sadowski 9e75d6faa9 MATH-908
Added constructor.
Javadoc.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413594 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 13:16:39 +00:00
Sebastien Brisard 4d035b59a1 In class Beta, wrote DEFAULT_EPSILON in a less error-prone way (1E-14 instead
of 10e-15).


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413555 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 11:22:02 +00:00