Commit Graph

4493 Commits

Author SHA1 Message Date
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
Gilles Sadowski 4870a5d99d MATH-894
Removed "initialCapacity" field.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1410109 13f79535-47bb-0310-9956-ffa450edef68
2012-11-15 23:35:56 +00:00
Gilles Sadowski f2235a59a3 Javadoc typo.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1409545 13f79535-47bb-0310-9956-ffa450edef68
2012-11-14 23:25:05 +00:00
Gilles Sadowski b06f4a4ac6 Replaced calls to deprecated methods in "ResizeableDoubleArray" (see
MATH-894). Created subclass of "ResizeableDoubleArray" in order to
access to the object's internal array.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1409509 13f79535-47bb-0310-9956-ffa450edef68
2012-11-14 22:55:07 +00:00
Gilles Sadowski 615661c90f MATH-894
Added new "protected" (and not "synchronized") methods to allow access to
the internal array for subclasses only.
Javadoc formatting.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1409475 13f79535-47bb-0310-9956-ffa450edef68
2012-11-14 22:13:54 +00:00
Thomas Neidhart 586a9603ef Reduce sleep time in unit test to prevent possible race condition.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1409352 13f79535-47bb-0310-9956-ffa450edef68
2012-11-14 20:09:51 +00:00
Sebastien Brisard 245fbc7d13 New values of the accuracy of Beta.logBeta(double, double).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1409108 13f79535-47bb-0310-9956-ffa450edef68
2012-11-14 07:42:39 +00:00
Sebastien Brisard 3c8ba5e630 Further accuracy assessments of Beta.logBeta(double, double)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1409107 13f79535-47bb-0310-9956-ffa450edef68
2012-11-14 07:41:29 +00:00
Sebastien Brisard 4cb2a39629 Typo.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1409091 13f79535-47bb-0310-9956-ffa450edef68
2012-11-14 06:18:40 +00:00
Gilles Sadowski a7660837c3 MATH-894
Made the doc reflect the new behaviour of "clear()".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1408833 13f79535-47bb-0310-9956-ffa450edef68
2012-11-13 17:03:47 +00:00
Gilles Sadowski 32d47dd087 Use constructor chaining (in place of duplicate code).
Fixed Javadoc typos (expansion factor and contraction criterion default
values).
Javadoc formatting.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1408830 13f79535-47bb-0310-9956-ffa450edef68
2012-11-13 16:53:13 +00:00
Gilles Sadowski ac5efee04b Avoid duplicate computation.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1408805 13f79535-47bb-0310-9956-ffa450edef68
2012-11-13 15:55:26 +00:00
Gilles Sadowski 4b60e4262d MATH-894
Added new enum type to replace the integers used to represent the
expansion mode. Deprecated methods and contructor that use the old
representation.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1408797 13f79535-47bb-0310-9956-ffa450edef68
2012-11-13 15:50:24 +00:00
Gilles Sadowski 674f552985 MATH-894
Removed the reallocation in method "clear()".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1408735 13f79535-47bb-0310-9956-ffa450edef68
2012-11-13 14:13:46 +00:00
Gilles Sadowski 593be67923 MATH-894
Deprecated methods that exposed internal state.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1408723 13f79535-47bb-0310-9956-ffa450edef68
2012-11-13 13:55:45 +00:00
Gilles Sadowski b324690406 Formatting, Javadoc, "final" keyword.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1408340 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 16:03:36 +00:00
Phil Steitz 16926f74f1 Consistently use G for G Test.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1408281 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 13:37:20 +00:00
Gilles Sadowski de9e8b8c78 MATH-894
New method "getCapacity". Deprecated "getInternalLength".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1408280 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 13:33:26 +00:00
Gilles Sadowski 6080bc88a8 MATH-887
Changed "computeWeightedJacobian" to return exactly that, instead of the
weighted Jacobian matrix multiplied by -1. Changed subclasses accordingly.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1408250 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 11:36:40 +00:00
Gilles Sadowski 00d309c45d Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1408246 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 11:27:31 +00:00
Phil Steitz 368050bbe6 Added G-test. JIRA: MATH-878.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1408174 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 04:33:11 +00:00