Commit Graph

4413 Commits

Author SHA1 Message Date
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
Thomas Neidhart 71e11fc375 Simplify hashCode/equals/toString methods by using appropriate methods from java.util.Arrays, similar to EuclideanDoublePoint.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413424 13f79535-47bb-0310-9956-ffa450edef68
2012-11-25 21:23:31 +00:00
Sebastien Brisard 17c50866e0 MATH-738: implementation of Beta.bcorr(double, double), an auxiliary function
for the computation of Beta.beta(double, double).


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413369 13f79535-47bb-0310-9956-ffa450edef68
2012-11-25 16:44:39 +00:00
Sebastien Brisard e6dc431a6a Javadoc typo.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413368 13f79535-47bb-0310-9956-ffa450edef68
2012-11-25 16:25:29 +00:00
Sebastien Brisard 7cf359aab1 Further unit tests of Gamma.logGammaSum(double, double): preconditions.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413367 13f79535-47bb-0310-9956-ffa450edef68
2012-11-25 16:05:57 +00:00
Sebastien Brisard 27178b80c4 MATH-738: in class o.a.c.m3.special.Gamma, implemented function
logGammaMinusLogGammaSum(double, double),
which computes accurately log(Gamma(b)) - log(Gamma(a + b))
for a >= 0 and b >= 8. Based on the NSWC library.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413366 13f79535-47bb-0310-9956-ffa450edef68
2012-11-25 16:00:43 +00:00
Sebastien Brisard 1d25ac89e3 Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413361 13f79535-47bb-0310-9956-ffa450edef68
2012-11-25 15:20:22 +00:00
Sebastien Brisard 87a2928ff5 MATH-849: updated changes.xml
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413245 13f79535-47bb-0310-9956-ffa450edef68
2012-11-24 19:12:14 +00:00
Gilles Sadowski eb889c8f9f Formatting.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413186 13f79535-47bb-0310-9956-ffa450edef68
2012-11-24 13:47:59 +00:00
Gilles Sadowski 9a9b2d3153 Formatting.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413172 13f79535-47bb-0310-9956-ffa450edef68
2012-11-24 11:15:12 +00:00
Gilles Sadowski ec46f40b0b MATH-902
Allow stopping condition based on the number of iterations (for "univariate"
optimizers).


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413171 13f79535-47bb-0310-9956-ffa450edef68
2012-11-24 11:11:10 +00:00
Phil Steitz 53f44454dc Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413131 13f79535-47bb-0310-9956-ffa450edef68
2012-11-24 04:44:02 +00:00
Phil Steitz 9bcd29de47 Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413127 13f79535-47bb-0310-9956-ffa450edef68
2012-11-24 04:37:30 +00:00
Phil Steitz a30bef00fb Fixed javadoc link.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413126 13f79535-47bb-0310-9956-ffa450edef68
2012-11-24 04:24:26 +00:00
Phil Steitz a42825bef5 Fixed javadoc tag.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413125 13f79535-47bb-0310-9956-ffa450edef68
2012-11-24 04:18:00 +00:00
Phil Steitz af675d0f8a Formatting; drop superfluous javadoc link.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413124 13f79535-47bb-0310-9956-ffa450edef68
2012-11-24 04:01:50 +00:00
Phil Steitz 15560aaba5 Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413122 13f79535-47bb-0310-9956-ffa450edef68
2012-11-24 03:51:40 +00:00
Gilles Sadowski 3467a4bcd3 Using methods from JDK.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413096 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 22:34:05 +00:00
Gilles Sadowski 1f51afc5a5 MATH-908
Added constructor to enable independent settings of the line search
tolerances. Updated unit tests.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413088 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 22:10:55 +00:00
Phil Steitz 52ca025608 Updated version.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413066 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 21:04:03 +00:00
Phil Steitz 5e0c6f420b Made source file encoding explicit.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1413060 13f79535-47bb-0310-9956-ffa450edef68
2012-11-23 20:58:28 +00:00
Gilles Sadowski 04c63b1630 MATH-902
Fixed Javadoc. Added unit tests.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1412713 13f79535-47bb-0310-9956-ffa450edef68
2012-11-22 23:17:49 +00:00
Gilles Sadowski ccf9403db5 MATH-902
"changes.xml" updated.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1412586 13f79535-47bb-0310-9956-ffa450edef68
2012-11-22 15:25:56 +00:00
Thomas Neidhart 0f6f0d8526 Remove unused import.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1412245 13f79535-47bb-0310-9956-ffa450edef68
2012-11-21 19:38:02 +00:00
Gilles Sadowski 0f8b842020 Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1412070 13f79535-47bb-0310-9956-ffa450edef68
2012-11-21 11:49:00 +00:00
Thomas Neidhart 7cd13e4935 Added missing keywords.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1411885 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 21:23:44 +00:00
Thomas Neidhart 0073facaf9 [MATH-906] Use NaNStrategy.FAILED as default in NaturalRanking.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1411880 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 21:13:54 +00:00
Gilles Sadowski 4577812519 Unnecessary code removed.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1411809 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 19:33:17 +00:00
Gilles Sadowski 8da1dede24 MATH-902
Added a constructor in the custom checkers that enables normal termination
of an optimization algorithm (i.e. returning the curent best point after a
selected number of iterations have been performed).


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1411807 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 19:29:16 +00:00
Gilles Sadowski a20e951321 License text.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1411806 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 19:23:02 +00:00
Sebastien Brisard cea5afed35 Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1411388 13f79535-47bb-0310-9956-ffa450edef68
2012-11-19 20:12:57 +00:00
Sebastien Brisard ad7ba6374d In class Gamma, implementation of (a, b) -> log(Gamma(a + b)). See MATH-738.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1411387 13f79535-47bb-0310-9956-ffa450edef68
2012-11-19 20:07:25 +00:00
Sebastien Brisard 120f6f490e MATH-903: allow the use of UTF-8 characters in Javadoc comments.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1411084 13f79535-47bb-0310-9956-ffa450edef68
2012-11-19 06:59:35 +00:00
Gilles Sadowski ce126bdbc6 MATH-899
Fixed copy/paste bug.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1411009 13f79535-47bb-0310-9956-ffa450edef68
2012-11-18 22:48:05 +00:00
Gilles Sadowski 514492efd4 MATH-894
Deprecation.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1410997 13f79535-47bb-0310-9956-ffa450edef68
2012-11-18 22:04:54 +00:00
Gilles Sadowski cca05f0c71 MATH-899
Added wrapper class that allows thread-safe usage of any "RandomGenerator".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1410990 13f79535-47bb-0310-9956-ffa450edef68
2012-11-18 21:00:34 +00:00
Thomas Neidhart 2a75c2afdc [MATH-897] Add DBSCAN clustering algorithm, thanks to Reid Hochstedler.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1410882 13f79535-47bb-0310-9956-ffa450edef68
2012-11-18 12:49:49 +00:00
Gilles Sadowski f14e5102f2 MATH-894
Reflect type change in "hashCode".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1410660 13f79535-47bb-0310-9956-ffa450edef68
2012-11-17 01:20:08 +00:00
Gilles Sadowski 76ca9329ca MATH-894
Deprecated setter for fields that should be declared as "final".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1410658 13f79535-47bb-0310-9956-ffa450edef68
2012-11-17 01:13:37 +00:00
Gilles Sadowski 2536920734 MATH-894
Name change ("contractionCriteria" -> "contractionCriterion").


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1410657 13f79535-47bb-0310-9956-ffa450edef68
2012-11-17 01:08:49 +00:00
Gilles Sadowski 4cd203f41e MATH-894
Changed type of "expansionFactor" and "contractionCriteria" from
"float" to "double" and deprecated methods and constructors that
use "float".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1410469 13f79535-47bb-0310-9956-ffa450edef68
2012-11-16 16:59:16 +00:00
Gilles Sadowski 5118f5376d MATH-900
License text moved to "LICENSE.txt".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1410460 13f79535-47bb-0310-9956-ffa450edef68
2012-11-16 16:49:38 +00:00
Gilles Sadowski 23166ac9c1 MATH-900
License information moved to "LICENSE.txt".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1410433 13f79535-47bb-0310-9956-ffa450edef68
2012-11-16 16:23:39 +00:00
Luc Maisonobe d3811b134b Replaced a character encoded in isolatin-1 in Javadoc.
As per current discussions on the dev list, we should go to UTF-8
entirely. For now, I have just used plain old html entities until we
make sure everything can be generated properly from UTF-8.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1410238 13f79535-47bb-0310-9956-ffa450edef68
2012-11-16 07:58:49 +00:00
Gilles Sadowski 166cfce47f By having "UnivariateStatistic" extend the new "MathArrays.Function"
interface, subclassing "ResizableDoubleArray" is not necessary to achieve
the required functionality (see MATH-894).


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1410126 13f79535-47bb-0310-9956-ffa450edef68
2012-11-16 00:32:18 +00:00
Gilles Sadowski b7555df622 MATH-894
Introducing new interface for operating on a "double[]" (added in
the "MathArrays" class). Using this interface, operations can be
performed on the internal array of a "ResizeableDoubleArray" through
a new "compute" method. Thanks to Phil Steitz.



git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1410121 13f79535-47bb-0310-9956-ffa450edef68
2012-11-16 00:18:30 +00:00