Commit Graph

4781 Commits

Author SHA1 Message Date
Luc Maisonobe 5ae01f1f99 Added a getEnclosingCap method for spherical polygons.
In simple cases (small polygon, one piece only, no holes), the enclosing
cap will be the smallest one, but this is not guaranteed in the general
case.

The enclosing cap can be used to speed up inside/outside points when the
region is small with respect to the sphere as with only one check of an
angular separation, most points of the sphere can be safely identified
as outside. The more time-consuming checks involving the full boundary
are therefore done only for a small portion of the sphere.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1566358 13f79535-47bb-0310-9956-ffa450edef68
2014-02-09 19:17:55 +00:00
Thomas Neidhart 2535320878 [MATH-749] Add changelog entry.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1566342 13f79535-47bb-0310-9956-ffa450edef68
2014-02-09 18:24:27 +00:00
Thomas Neidhart 996c0c164a [MATH-1065] Fix EnumeratedRealDistribution.inverseCumulativeProbability. Thanks to matteodg and Phil.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1566274 13f79535-47bb-0310-9956-ffa450edef68
2014-02-09 11:21:28 +00:00
Thomas Neidhart 3f59a81a15 Add missing since tags.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1566092 13f79535-47bb-0310-9956-ffa450edef68
2014-02-08 18:48:29 +00:00
Thomas Neidhart b957ee1646 Add missing serialVersionUIDs.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1566088 13f79535-47bb-0310-9956-ffa450edef68
2014-02-08 18:36:30 +00:00
Thomas Neidhart 42dffede43 [MATH-1050] Added changelog entry.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1566074 13f79535-47bb-0310-9956-ffa450edef68
2014-02-08 18:14:37 +00:00
Thomas Neidhart 3c644cf87e [MATH-749] Change the way the line segments are computed as they can not be serialized. Use the array only as cache and create them as needed.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1566064 13f79535-47bb-0310-9956-ffa450edef68
2014-02-08 17:44:37 +00:00
Thomas Neidhart c92f7d0c8f [MATH-976] Add changelog entry.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1566047 13f79535-47bb-0310-9956-ffa450edef68
2014-02-08 16:54:45 +00:00
Thomas Neidhart 8dae299004 [MATH-990] Added changelog entry.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1566021 13f79535-47bb-0310-9956-ffa450edef68
2014-02-08 14:33:03 +00:00
Thomas Neidhart 51a7ec0633 Fix typo.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1566020 13f79535-47bb-0310-9956-ffa450edef68
2014-02-08 14:28:20 +00:00
Thomas Neidhart d434c5d0cc [MATH-1044] Clarify javadoc of DecompositionSolver#getInverse and corresponding implementations. Thanks to Sean Owen.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1566017 13f79535-47bb-0310-9956-ffa450edef68
2014-02-08 14:13:34 +00:00
Thomas Neidhart b268dfbb82 Add missing AL header.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1565447 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 21:31:52 +00:00
Thomas Neidhart de21905859 [MATH-749] Rename method, add/improve javadoc, better handle degenerate cases, improve unit tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1565444 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 21:27:20 +00:00
Thomas Neidhart 6b43922648 [MATH-749] Handle case that all points are identical.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1564954 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 22:10:22 +00:00
Thomas Neidhart b353d07bcc [MATH-749] Add GiftWrap algorithm as precursor for Chan's algorithm.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1564951 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 21:54:10 +00:00
Thomas Neidhart e5dc3ad337 [MATH-749] Improve robustness for convex hull algorithms in case of identical / collinear points, added flag whether to include only extreme points or all points on the hull, improve unit tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1564934 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 21:21:31 +00:00
Luc Maisonobe e5002ce3f6 Removed unfinished method.
The method was added by error.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1564922 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 20:46:43 +00:00
Luc Maisonobe 739708f1af Added enclosing ball generator for 2-sphere.
On the 2-sphere, enclosing balls are sphericals caps.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1564921 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 20:42:58 +00:00
Luc Maisonobe 3d0e61ebe5 Fixed comments.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1564255 13f79535-47bb-0310-9956-ffa450edef68
2014-02-04 11:19:41 +00:00
Thomas Neidhart 3b50199358 Add missing Override tags.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1563714 13f79535-47bb-0310-9956-ffa450edef68
2014-02-02 20:55:14 +00:00
Luc Maisonobe 19c1c3bb9b Fixed sphere generation in degenerated cases.
In almost coplanar / almost colinear cases, sphere generation could
diverge in such a way the support points did not belong to the sphere
anymore! This new implementation uses exact arithmetic for the
computation. It is much slower, but since very few balls should be
generated during the Welzl algorithm execution, this is probably
acceptable.

JIRA: MATH-1096

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1563712 13f79535-47bb-0310-9956-ffa450edef68
2014-02-02 20:52:49 +00:00
Thomas Neidhart 7897aa6a83 [MATH-749] Use new method Vector2D.crossProduct, fix typos, return Segment instead of Line in ConvexHull2D.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1563687 13f79535-47bb-0310-9956-ffa450edef68
2014-02-02 17:56:13 +00:00
Thomas Neidhart 0fa8bcc008 [MATH-749] Added crossProduct method to Vector2D as a replacement for getLocation, using MathArrays.linearCombination to improve accuracy.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1563684 13f79535-47bb-0310-9956-ffa450edef68
2014-02-02 17:51:06 +00:00
Thomas Neidhart 2933e5773b Add EnclosingBall example, update convex hull.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1563409 13f79535-47bb-0310-9956-ffa450edef68
2014-02-01 12:50:41 +00:00
Thomas Neidhart 764f56955d Apply @Override rules for java 1.5
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1563402 13f79535-47bb-0310-9956-ffa450edef68
2014-02-01 12:00:21 +00:00
Thomas Neidhart 9dc30fddc1 Make constructor package private for now to simplify potential future changes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1563288 13f79535-47bb-0310-9956-ffa450edef68
2014-01-31 22:07:35 +00:00
Thomas Neidhart bcba29320f Improve tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1563285 13f79535-47bb-0310-9956-ffa450edef68
2014-01-31 22:06:49 +00:00
Thomas Neidhart 8f7c59ce88 [MATH-749] Add MonotoneChain implementation.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1563284 13f79535-47bb-0310-9956-ffa450edef68
2014-01-31 22:06:31 +00:00
Thomas Neidhart ca22dac3f8 Rename to GrahamScan as the algorithm anyway is only defined for the 2D case.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1563246 13f79535-47bb-0310-9956-ffa450edef68
2014-01-31 20:24:02 +00:00
Luc Maisonobe 423371e790 USer should not provide space dimension, it should be automatic.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1563204 13f79535-47bb-0310-9956-ffa450edef68
2014-01-31 18:33:22 +00:00
Thomas Neidhart 310008f48c Convex hull example for user guide.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1563008 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 22:48:22 +00:00
Thomas Neidhart ea030e732e [MATH-749] Add AklToussaintHeuristic as pre-processing step for convex hull generation.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1562999 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 22:16:59 +00:00
Thomas Neidhart 7bbba6995a [MATH-749] Fix GrahamScan2D for colinear points, improve tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1562975 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 21:28:05 +00:00
Luc Maisonobe 796c8329d6 Most of the 3D errors were due to ... wrong tests.
The dimension was set to 2 instead of 3.

There is still one problem, so investigation continues.

JIRA: MATH-1096

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1562959 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 21:04:58 +00:00
Luc Maisonobe faf997271b Partly fixed MATH-1096.
The 2D cases seem to work now, but there are still problems with the 3D
cases.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1562882 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 16:31:08 +00:00
Luc Maisonobe 8025900b3a Removed redundant throws
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1562755 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 09:37:08 +00:00
Thomas Neidhart 1e6915db87 [MATH-749] Convex hull support for two-dimensional space: GrahamScan2D.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1562624 13f79535-47bb-0310-9956-ffa450edef68
2014-01-29 22:57:04 +00:00
Thomas Neidhart 49642956cd Fix typo.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1562610 13f79535-47bb-0310-9956-ffa450edef68
2014-01-29 22:17:16 +00:00
Luc Maisonobe 2a3b56daa0 Added tests for 3D smallest ball enclosing.
WARNING! These tests have revealed a bug in our implementation of the
smallest enclosing ball algorithm. So some tests are currently ignored
in order to avoid having lots of messages, but I am already working on
them. The problems should be fixed (and the tests activated) before 3.3
release.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1562573 13f79535-47bb-0310-9956-ffa450edef68
2014-01-29 20:19:20 +00:00
Luc Maisonobe 7ce5950963 Added ball generation from support points in 3D.
This can be used for applying Emo Welzl smallest enclosing ball
algorithm in the Euclidean 3D case.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1562571 13f79535-47bb-0310-9956-ffa450edef68
2014-01-29 20:18:32 +00:00
Luc Maisonobe 8dd48742c3 Fixed wrong javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1562384 13f79535-47bb-0310-9956-ffa450edef68
2014-01-29 09:36:27 +00:00
Thomas Neidhart 7a2a276d76 Fix typo.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1562232 13f79535-47bb-0310-9956-ffa450edef68
2014-01-28 21:14:05 +00:00
Luc Maisonobe 672b58548c Added Emo Welzl algorithm finding points smallest enclosing ball.
JIRA: MATH-1095

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1562220 13f79535-47bb-0310-9956-ffa450edef68
2014-01-28 20:29:27 +00:00
Thomas Neidhart 7029443e49 [MATH-985] Added changelog entry.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1561510 13f79535-47bb-0310-9956-ffa450edef68
2014-01-26 15:58:04 +00:00
Thomas Neidhart 38df46f944 Add missing since tag.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1561509 13f79535-47bb-0310-9956-ffa450edef68
2014-01-26 15:47:40 +00:00
Thomas Neidhart 91291520cf [MATH-1072] Added constructor for AbstractListChromosome that does not copy the input argument.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1561508 13f79535-47bb-0310-9956-ffa450edef68
2014-01-26 15:46:49 +00:00
Luc Maisonobe 6a6c06acdf Extract classes out of SphericalPolygonsSet source file.
None of these classes required private access to the
SphericalPolygonsSet class, so they can be outside, simplifying the
source.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1561506 13f79535-47bb-0310-9956-ffa450edef68
2014-01-26 15:31:18 +00:00
Luc Maisonobe 7cfbc0da48 Fixed error when splitting an arc close to its end.
fixes: MATH-1093

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1561047 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 16:03:44 +00:00
Gilles Sadowski fbd429f2d7 Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1560956 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 11:58:00 +00:00
Gilles Sadowski d42fcbdb2f Enable choice of RNG, so that the unit test can be run with a
seed that makes it always succeed.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1560953 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 11:55:25 +00:00
Luc Maisonobe fde06bb6b6 Removed spurious @Override.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1560928 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 09:58:43 +00:00
Thomas Neidhart c9b7b57d3c Add missing AL header.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1560551 13f79535-47bb-0310-9956-ffa450edef68
2014-01-22 22:35:21 +00:00
Thomas Neidhart 58693fbcb3 [MATH-970] Add a method isSolutionOptimal to SolutionCallback.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1560541 13f79535-47bb-0310-9956-ffa450edef68
2014-01-22 22:12:42 +00:00
Thomas Neidhart c58e2abfe5 Fix typo.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1560532 13f79535-47bb-0310-9956-ffa450edef68
2014-01-22 22:05:37 +00:00
Thomas Neidhart 842351710e [MATH-1038] Refactor code as agreed on the mailinglist.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1560531 13f79535-47bb-0310-9956-ffa450edef68
2014-01-22 22:00:37 +00:00
Luc Maisonobe 1f8d874895 Updated user guide for geometry.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1560390 13f79535-47bb-0310-9956-ffa450edef68
2014-01-22 15:55:03 +00:00
Luc Maisonobe 1fc112d053 improved javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1560336 13f79535-47bb-0310-9956-ffa450edef68
2014-01-22 12:39:14 +00:00
Luc Maisonobe e02b8f8a5a typo in a function name ...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1560335 13f79535-47bb-0310-9956-ffa450edef68
2014-01-22 12:39:06 +00:00
Luc Maisonobe 43ef84b729 BSP tree now provide an API to compute a global signed distance.
The distance is defined from a test point to the region. It is positive
if the point is outside of the region, negative if the point is inside,
and zero when the point is at the boundary. The distance is continuous
everywhere, so it can be used with a root solver to identify accurately
boundary crossings. This API is available for all BSP trees, in
Euclidean and spherical geometries, and in all dimensions.

Fixes MATH-1091

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1560115 13f79535-47bb-0310-9956-ffa450edef68
2014-01-21 17:49:13 +00:00
Luc Maisonobe 5b71c17c81 Javadoc fix.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1560114 13f79535-47bb-0310-9956-ffa450edef68
2014-01-21 17:48:16 +00:00
Luc Maisonobe 01e1ca4bfd IntervalsSet now implements Iterable<double[]>.
Fixes MATH-1090

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1559746 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 15:34:41 +00:00
Luc Maisonobe b1e3f391b5 Javadoc fix.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1559745 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 15:34:02 +00:00
Gilles Sadowski 145cc675d3 MATH-1089
Slightly simpler implementation.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1559067 13f79535-47bb-0310-9956-ffa450edef68
2014-01-17 10:53:00 +00:00
Thomas Neidhart e91d0f0510 [MATH-1089] Precision.round(double, ...) will return negative zero for negative values rounded to zero.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1558933 13f79535-47bb-0310-9956-ffa450edef68
2014-01-16 22:11:00 +00:00
Thomas Neidhart c9181d3b05 [MATH-1088] Add missing changelog entry.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1558922 13f79535-47bb-0310-9956-ffa450edef68
2014-01-16 21:39:03 +00:00
Gilles Sadowski 63d88c74b7 MATH-1088
Ensure that bad usage will raise an exception.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1558833 13f79535-47bb-0310-9956-ffa450edef68
2014-01-16 15:26:29 +00:00
Luc Maisonobe 2c9438da23 Fixed an issue with noisy functions for ODE events detection.
The issue was not detected in Apache Commons Math but in similar code in
Orekit (see https://www.orekit.org/forge/projects/orekit/issues/160).

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1558462 13f79535-47bb-0310-9956-ffa450edef68
2014-01-15 16:48:25 +00:00
Luc Maisonobe 4fc2d43205 Removed development bits.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1558150 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 18:27:02 +00:00
Luc Maisonobe 9b3a46e205 Fixed problem for spherical polygons with holes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1558149 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 18:26:32 +00:00
Luc Maisonobe 692142457a Don't advertise an assumption we may remove soon.
We will probably extend the circle class to also represent small circles
on the 2-sphere, not only great circles. This would introduce an
aperture angle that could be different from \pi/2. In this case, the
part of a circle inside another circle may exist or not (small circles
can be disjoint), and may have a length either shorter or longer than
\pi.

This change is not done yet, but could happen any time soon, even before
3.3 is out.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1557981 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 08:55:40 +00:00
Luc Maisonobe ac7733fd69 Improved tests coverage.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1557716 13f79535-47bb-0310-9956-ffa450edef68
2014-01-13 13:55:53 +00:00
Luc Maisonobe cfee716182 Removed too tight link between edges and BSP tree.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1557693 13f79535-47bb-0310-9956-ffa450edef68
2014-01-13 12:42:40 +00:00
Luc Maisonobe 0f13370f35 Fixed an error introduced by a wrong fix...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1557609 13f79535-47bb-0310-9956-ffa450edef68
2014-01-12 20:41:34 +00:00
Luc Maisonobe bb2dc86de1 Fixed area computation on non-convex spherical polygons.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1557543 13f79535-47bb-0310-9956-ffa450edef68
2014-01-12 14:56:04 +00:00
Luc Maisonobe 638def643f Fixed missing last iteration in a loop.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1557514 13f79535-47bb-0310-9956-ffa450edef68
2014-01-12 11:13:05 +00:00
Luc Maisonobe 5f0fcfce89 Removed spurious @Override.
As we are still targeting Java 5, @Override should not be used for mere
interface implementation.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1557424 13f79535-47bb-0310-9956-ffa450edef68
2014-01-11 17:18:21 +00:00
Gilles Sadowski aad194a346 MATH-923
Implementation of Kohonen's Self-Organizing Feature Map (SOFM).
New package "o.a.c.m.ml.neuralnet" contains base functionality for implementing
different map types, i.e. methods that project a high-dimensional space onto one
with a low dimension (typically 1D or 2D).
The SOFM-specific code is in "o.a.c.m.ml.neuralnet.sofm".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1557267 13f79535-47bb-0310-9956-ffa450edef68
2014-01-10 22:01:27 +00:00
Luc Maisonobe 0a75cbc380 Improved robustness of 1-sphere regions (ArcsSet) at 0/2\pi crossing.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1556880 13f79535-47bb-0310-9956-ffa450edef68
2014-01-09 17:08:00 +00:00
Luc Maisonobe f2db15c31f Fixed errors in spherical polygons build from vertices.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1555871 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 15:45:43 +00:00
Luc Maisonobe dfc232415a Deprecating geometry constructors without tolerance setting.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1555176 13f79535-47bb-0310-9956-ffa450edef68
2014-01-03 18:07:59 +00:00
Luc Maisonobe aaa0eafa09 Undeprecated methods.
Deprecating methods that are overridden with different signature was not
really a good idea. We can keep both methods in parallel without
problems.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1555175 13f79535-47bb-0310-9956-ffa450edef68
2014-01-03 18:07:22 +00:00
Luc Maisonobe 2a67133805 Generalized use of customizable tolerance in BSP trees.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1555174 13f79535-47bb-0310-9956-ffa450edef68
2014-01-03 18:06:20 +00:00
Luc Maisonobe 3839da6580 Fixed javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1555173 13f79535-47bb-0310-9956-ffa450edef68
2014-01-03 18:05:04 +00:00
Luc Maisonobe bb014c3ebf Fixed SubCircle behaviour in parallel circles case.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1555088 13f79535-47bb-0310-9956-ffa450edef68
2014-01-03 13:47:35 +00:00
Luc Maisonobe 3491906594 Fixed missing deep copy.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1555050 13f79535-47bb-0310-9956-ffa450edef68
2014-01-03 11:22:04 +00:00
Luc Maisonobe 4345758ddc Test for 2-sphere hyperplane, i.e. Circle.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1554907 13f79535-47bb-0310-9956-ffa450edef68
2014-01-02 20:40:42 +00:00
Luc Maisonobe c8c94b8a1f Removed unneeded method.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1554906 13f79535-47bb-0310-9956-ffa450edef68
2014-01-02 20:40:09 +00:00
Luc Maisonobe 18a6d9c773 Un-deprecated a widely used method.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1554905 13f79535-47bb-0310-9956-ffa450edef68
2014-01-02 20:39:38 +00:00
Luc Maisonobe 2b24ae34b7 Improved 1-sphere to provide methods useful for the 2-sphere.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1554658 13f79535-47bb-0310-9956-ffa450edef68
2014-01-01 17:33:39 +00:00
Luc Maisonobe 292eefa57c Fixed javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1554657 13f79535-47bb-0310-9956-ffa450edef68
2014-01-01 17:31:21 +00:00
Luc Maisonobe 0faf0131f6 Finalized 1-sphere.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1554656 13f79535-47bb-0310-9956-ffa450edef68
2014-01-01 17:30:58 +00:00
Luc Maisonobe 169a316003 Improved navigation within sub-arcs.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1554655 13f79535-47bb-0310-9956-ffa450edef68
2014-01-01 17:30:34 +00:00
Luc Maisonobe d83cdb9133 Simplified 1-sphere case.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1554654 13f79535-47bb-0310-9956-ffa450edef68
2014-01-01 17:30:06 +00:00
Luc Maisonobe 57eff0d0c3 Avoid NullPointerException in some corner cases.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1554653 13f79535-47bb-0310-9956-ffa450edef68
2014-01-01 17:29:18 +00:00
Luc Maisonobe 83444ebe71 Intermediate, partially working stuff on the 1-sphere.
Chord/SubChord are most probably not the appropriate classes. They are
too complex and should be replaced by something simpler and more
0-dimension, like OrientedPoint in Euclidean 1-D.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1554652 13f79535-47bb-0310-9956-ffa450edef68
2014-01-01 17:28:51 +00:00
Luc Maisonobe ed73c356c7 Fixed some Clirr errors.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1554651 13f79535-47bb-0310-9956-ffa450edef68
2014-01-01 17:27:48 +00:00
Luc Maisonobe a3e4cbe0bb Added BSP for spherical geometry.
This is work in progress! It is not tested yet.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1554650 13f79535-47bb-0310-9956-ffa450edef68
2014-01-01 17:26:54 +00:00
Luc Maisonobe 37115c5788 Javadoc typos.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1554649 13f79535-47bb-0310-9956-ffa450edef68
2014-01-01 17:26:10 +00:00
Luc Maisonobe 13188390f3 Starting work on BSP trees for spheres.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1554648 13f79535-47bb-0310-9956-ffa450edef68
2014-01-01 17:24:37 +00:00
Luc Maisonobe 65ada834ee Typo.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1554647 13f79535-47bb-0310-9956-ffa450edef68
2014-01-01 17:23:28 +00:00
Luc Maisonobe 6c4f513542 We don't need the full Vector API for BSP trees.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1554646 13f79535-47bb-0310-9956-ffa450edef68
2014-01-01 17:22:53 +00:00
Thomas Neidhart 8fac2db60a [MATH-1082] Add missing change entry.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1554545 13f79535-47bb-0310-9956-ffa450edef68
2013-12-31 15:41:30 +00:00
Thomas Neidhart edf56632b8 Rename local variable to avoid masking a member variable.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1554544 13f79535-47bb-0310-9956-ffa450edef68
2013-12-31 15:40:35 +00:00
Luc Maisonobe 9d4d7150eb Fixed missing licenses.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1554036 13f79535-47bb-0310-9956-ffa450edef68
2013-12-29 15:18:59 +00:00
Luc Maisonobe 76a5cd998b Checkstyle warnings.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1554035 13f79535-47bb-0310-9956-ffa450edef68
2013-12-29 15:17:45 +00:00
Gilles Sadowski 8e23b250a4 Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1553855 13f79535-47bb-0310-9956-ffa450edef68
2013-12-28 15:55:24 +00:00
Phil Steitz 1220f2f7ba Javadoc fix.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1553598 13f79535-47bb-0310-9956-ffa450edef68
2013-12-26 22:18:02 +00:00
Thomas Neidhart fa027a4685 [MATH-1082] Improve cutOff mechanism in SimplexSolver, adapt unit tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1552792 13f79535-47bb-0310-9956-ffa450edef68
2013-12-20 19:33:03 +00:00
Thomas Neidhart 881a4ee8db [MATH-1079] Further improvements to SimplexSolver.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1552046 13f79535-47bb-0310-9956-ffa450edef68
2013-12-18 17:41:26 +00:00
Thomas Neidhart af858a6ca2 [MATH-1079] Improve performance of SimplexSolver.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1551735 13f79535-47bb-0310-9956-ffa450edef68
2013-12-17 22:11:45 +00:00
Thomas Neidhart 68fa81123a Fix javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1551360 13f79535-47bb-0310-9956-ffa450edef68
2013-12-16 21:13:59 +00:00
Thomas Neidhart b285f17023 [MATH-1080] LinearConstraintSet returns now the LinearConstraints in the same order as they have been added.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1551355 13f79535-47bb-0310-9956-ffa450edef68
2013-12-16 21:05:01 +00:00
Thomas Neidhart f7222ca6c3 Rename enum to uppercase, make test deterministic.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1551058 13f79535-47bb-0310-9956-ffa450edef68
2013-12-15 21:15:21 +00:00
Thomas Neidhart 05aae985d9 Small improvement.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1551014 13f79535-47bb-0310-9956-ffa450edef68
2013-12-15 10:56:49 +00:00
Thomas Neidhart 721730b00b Formatting, use List instead of ArrayList.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1550977 13f79535-47bb-0310-9956-ffa450edef68
2013-12-14 22:07:02 +00:00
Thomas Neidhart f3a785108f [MATH-842] Added support for different pivot selection rules to SimplexSolver.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1550975 13f79535-47bb-0310-9956-ffa450edef68
2013-12-14 21:50:33 +00:00
Thomas Neidhart 7ebbaea90e Remove some debug code.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1549985 13f79535-47bb-0310-9956-ffa450edef68
2013-12-10 22:13:14 +00:00
Thomas Neidhart ab0a2f761f Add some documentation.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1549984 13f79535-47bb-0310-9956-ffa450edef68
2013-12-10 22:10:43 +00:00
Thomas Neidhart e9ea52189a Improve ImageEvolutionExample, add test images.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1549977 13f79535-47bb-0310-9956-ffa450edef68
2013-12-10 21:40:32 +00:00
Thomas Neidhart 1cdc902f3d Add ImageEvolution example for genetics package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1549696 13f79535-47bb-0310-9956-ffa450edef68
2013-12-09 22:34:28 +00:00
Thomas Neidhart 7573e9eec0 Small performance improvement.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1549094 13f79535-47bb-0310-9956-ffa450edef68
2013-12-08 18:23:44 +00:00
Thomas Neidhart d944333d01 Fix typo.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1549093 13f79535-47bb-0310-9956-ffa450edef68
2013-12-08 18:23:09 +00:00
Thomas Neidhart a34be55b9b Add dependency to commons-lang3 for userguide examples.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1549092 13f79535-47bb-0310-9956-ffa450edef68
2013-12-08 18:20:58 +00:00
Thomas Neidhart c823ac5673 Add HelloWorld example for genetics package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1549090 13f79535-47bb-0310-9956-ffa450edef68
2013-12-08 18:18:13 +00:00
Thomas Neidhart e42da5d9d2 [MATH-1068] Changed integer calculations with potential overflows to long.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1548907 13f79535-47bb-0310-9956-ffa450edef68
2013-12-07 13:08:06 +00:00
Thomas Neidhart 8e5867eda8 [MATH-1070] Fix Precision.round(float, int, int) for RoundingMode ROUND_UP. Thanks to Oleksandr Muliarevych.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1547649 13f79535-47bb-0310-9956-ffa450edef68
2013-12-03 23:50:14 +00:00
Thomas Neidhart ba3c2201c6 [MATH-1059] Use FastMath instead of Math.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1547633 13f79535-47bb-0310-9956-ffa450edef68
2013-12-03 23:03:06 +00:00
Thomas Neidhart b12610d35e [MATH-1068] Avoid overflow in Kendalls correlation for large input arrays.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1546840 13f79535-47bb-0310-9956-ffa450edef68
2013-12-01 19:17:22 +00:00
Gilles Sadowski aff82362cf MATH-1067
Avoid infinite recursion. Thanks to Florian Erhard.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1546350 13f79535-47bb-0310-9956-ffa450edef68
2013-11-28 11:41:12 +00:00
Gilles Sadowski c1ba07bb65 MATH-1014
"PolynomialCurveFitter" as replacement of "PolynomialFitter". Some tests have
been obsoleted by the refactoring (which hides the optimizer and thus avoids
some potential misuses).


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1543906 13f79535-47bb-0310-9956-ffa450edef68
2013-11-20 18:57:53 +00:00
Thomas Neidhart 54a7796ff2 [MATH-970] Added SolutionCallback to SimplexSolver to retrieve the best solution found.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1543169 13f79535-47bb-0310-9956-ffa450edef68
2013-11-18 21:24:32 +00:00
Thomas Neidhart 3a45bc5b6d [MATH-1031] Added new ClusterEvaluation base class and refactored code in MultiKMeansPlusPlusClusterer.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1542545 13f79535-47bb-0310-9956-ffa450edef68
2013-11-16 18:48:48 +00:00
Thomas Neidhart 65646ba8bd Fix typos.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1542541 13f79535-47bb-0310-9956-ffa450edef68
2013-11-16 17:48:36 +00:00
Phil Steitz 1e1365c7b4 Replaced deprecated method.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1541354 13f79535-47bb-0310-9956-ffa450edef68
2013-11-13 02:04:32 +00:00
Phil Steitz 763b37de5d Dropped some ancient history.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1541350 13f79535-47bb-0310-9956-ffa450edef68
2013-11-13 01:34:10 +00:00
Phil Steitz 04078798c0 Miscellaneous updates / fixes
* Drop mention of Maven 2 (was distinguishing from Maven 1, which no longer really exists)
* Remind people to make diffs from top level project directory
* Don't tell people to make Wiki pages (not open access any more)
* Drop (now false) statement that all exceptions inherit from MRE



git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1541347 13f79535-47bb-0310-9956-ffa450edef68
2013-11-13 01:24:17 +00:00
Phil Steitz 5df86e5cb2 Removed reference to deprecated class.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1540802 13f79535-47bb-0310-9956-ffa450edef68
2013-11-11 18:51:38 +00:00
Phil Steitz 7cff45f1d7 Refer to MathIllegalArgumentException; formatting; remove false commitment.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1540751 13f79535-47bb-0310-9956-ffa450edef68
2013-11-11 15:20:28 +00:00
Phil Steitz b3b5e6c869 Fixed some errors; changed to use standard terminology.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1540566 13f79535-47bb-0310-9956-ffa450edef68
2013-11-10 22:19:10 +00:00
Phil Steitz 1b4f1ef040 Fixed typo.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1540561 13f79535-47bb-0310-9956-ffa450edef68
2013-11-10 22:04:58 +00:00
Phil Steitz 909105bf55 Fixed spelling errors.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1540531 13f79535-47bb-0310-9956-ffa450edef68
2013-11-10 19:59:15 +00:00
Phil Steitz 064634efda Removed unused import.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1540514 13f79535-47bb-0310-9956-ffa450edef68
2013-11-10 18:55:52 +00:00
Phil Steitz 0801455213 Replaced deprecated method.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1540513 13f79535-47bb-0310-9956-ffa450edef68
2013-11-10 18:54:32 +00:00
Phil Steitz 78504bde01 Changed to use InsufficientDataException when the model does not contain sufficient data for the number of regerssors; fixed error in precondition statement.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1540502 13f79535-47bb-0310-9956-ffa450edef68
2013-11-10 18:03:41 +00:00
Phil Steitz fdd505d985 Added InsufficientDataException. JIRA: MATH-1061
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1540498 13f79535-47bb-0310-9956-ffa450edef68
2013-11-10 17:45:38 +00:00
Phil Steitz 5d61fcddd4 Replaced deprecated method.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1540418 13f79535-47bb-0310-9956-ffa450edef68
2013-11-09 22:34:10 +00:00
Phil Steitz b72f31c6bd Clarified contracts re NaNs, IAEs and when constructor arguments are necessary.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1540395 13f79535-47bb-0310-9956-ffa450edef68
2013-11-09 21:32:06 +00:00
Phil Steitz eca87abcee Added test to verify that zero variance in either array leads to NaN.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1540392 13f79535-47bb-0310-9956-ffa450edef68
2013-11-09 20:31:52 +00:00
Phil Steitz d252a811a2 Fixed unintended integer division error in PoissonDistribution sampling method.
JIRA: MATH-1056
Reported and patched by Sean Owen.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1540217 13f79535-47bb-0310-9956-ffa450edef68
2013-11-08 23:27:49 +00:00
Thomas Neidhart 5ee76f095e [MATH-1059] Replace Math with FastMath.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1540167 13f79535-47bb-0310-9956-ffa450edef68
2013-11-08 20:00:08 +00:00
Thomas Neidhart f2a833757b [MATH-1059] Replace Math with FastMath.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1540166 13f79535-47bb-0310-9956-ffa450edef68
2013-11-08 19:56:28 +00:00
Thomas Neidhart e4c6bb0b27 [MATH-1059] Replace Math with FastMath.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1540165 13f79535-47bb-0310-9956-ffa450edef68
2013-11-08 19:53:58 +00:00
Thomas Neidhart cf1a5c59dd [MATH-1059] Replace Math with FastMath.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1540155 13f79535-47bb-0310-9956-ffa450edef68
2013-11-08 19:08:22 +00:00
Thomas Neidhart c5b943fe26 Fix failing unit tests for BOBYQAOptimizer when executed with a 1.5 jvm due to slight differences in accuracy of the certain Math functions.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1540075 13f79535-47bb-0310-9956-ffa450edef68
2013-11-08 15:19:46 +00:00
Thomas Neidhart 8d78c7a598 Add figures for userguide.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1539780 13f79535-47bb-0310-9956-ffa450edef68
2013-11-07 19:42:02 +00:00
Thomas Neidhart f8ec5cbba9 Increate font size.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1539779 13f79535-47bb-0310-9956-ffa450edef68
2013-11-07 19:41:29 +00:00
Thomas Neidhart 6b18e3897a Further improvements.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1539775 13f79535-47bb-0310-9956-ffa450edef68
2013-11-07 19:36:38 +00:00
Thomas Neidhart 346a41fc6b Add cannonball kalman filter example for user guide
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1539723 13f79535-47bb-0310-9956-ffa450edef68
2013-11-07 17:16:04 +00:00
Thomas Neidhart 73558cace6 Fix checkstyle warning wrt unneeded parenthesis.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1539704 13f79535-47bb-0310-9956-ffa450edef68
2013-11-07 16:34:51 +00:00
Thomas Neidhart bbd922d727 Added constant voltage example for kalman filter.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1539703 13f79535-47bb-0310-9956-ffa450edef68
2013-11-07 16:34:17 +00:00
Thomas Neidhart 12afe72d20 Fix legend.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1539678 13f79535-47bb-0310-9956-ffa450edef68
2013-11-07 15:18:53 +00:00
Thomas Neidhart 0aa89cc22e [MATH-1062] Use MatrixUtils.inverse to invert a matrix in the KalmanFilter, added new unit test.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1539676 13f79535-47bb-0310-9956-ffa450edef68
2013-11-07 15:15:18 +00:00
Gilles Sadowski 4ebd967c96 MATH-1058
Precision improvements by using "expm1" and "log1p". Thanks to Sean Owen.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1538998 13f79535-47bb-0310-9956-ffa450edef68
2013-11-05 13:51:24 +00:00
Thomas Neidhart 67fc63b994 Add missing AL header.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1538968 13f79535-47bb-0310-9956-ffa450edef68
2013-11-05 12:30:32 +00:00
Gilles Sadowski 6527a801c1 MATH-1054
Standardize "x = x op y" to "x op= y". Thanks to Sean Owen.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1538368 13f79535-47bb-0310-9956-ffa450edef68
2013-11-03 13:57:37 +00:00
Thomas Neidhart 534dd69069 [MATH-1055] Fixed some invalid links inside javadoc and added missing deprecated annotations, thanks to Sean Owen.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1538354 13f79535-47bb-0310-9956-ffa450edef68
2013-11-03 12:48:40 +00:00
Thomas Neidhart ac8a587829 Remove override for interface.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1538348 13f79535-47bb-0310-9956-ffa450edef68
2013-11-03 12:27:12 +00:00
Thomas Neidhart d755a83c9c [MATH-982] Added an overview of available continuous distributions to the userguide.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1538294 13f79535-47bb-0310-9956-ffa450edef68
2013-11-02 22:05:18 +00:00
Thomas Neidhart 4d93242518 Update of distribution overview.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1538293 13f79535-47bb-0310-9956-ffa450edef68
2013-11-02 22:01:24 +00:00
Thomas Neidhart 652084aa55 Add overview of available continuous distributions to the userguide.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1538289 13f79535-47bb-0310-9956-ffa450edef68
2013-11-02 21:42:57 +00:00
Thomas Neidhart 8a073f12e5 Remove inaccessible link in userguide.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1538288 13f79535-47bb-0310-9956-ffa450edef68
2013-11-02 21:39:15 +00:00
Thomas Neidhart 5ecdf2312d Add separate example project for some code used to generate figures for the userguide.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1538287 13f79535-47bb-0310-9956-ffa450edef68
2013-11-02 21:36:55 +00:00
Thomas Neidhart 6191949f89 Fix font size.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1538283 13f79535-47bb-0310-9956-ffa450edef68
2013-11-02 21:03:57 +00:00
Thomas Neidhart 40a97ba13a Add recently added features to the userguide.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1538282 13f79535-47bb-0310-9956-ffa450edef68
2013-11-02 21:02:13 +00:00
Thomas Neidhart 280af43635 Reduce font-size as it looks odd when rendered.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1538268 13f79535-47bb-0310-9956-ffa450edef68
2013-11-02 20:46:04 +00:00
Thomas Neidhart f2e10b7e6f Fix font-size and width.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1538260 13f79535-47bb-0310-9956-ffa450edef68
2013-11-02 20:30:44 +00:00
Thomas Neidhart 97900db83f Update changelog text for some updates.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1537722 13f79535-47bb-0310-9956-ffa450edef68
2013-10-31 21:59:55 +00:00
Thomas Neidhart 2b45b294b5 [MATH-1002] Renamed methods to verifyValues, also copied unit tests to MathArraysTest.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1537714 13f79535-47bb-0310-9956-ffa450edef68
2013-10-31 21:54:21 +00:00
Thomas Neidhart c1f3a7bd3b Add missing svn:keywords.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1537688 13f79535-47bb-0310-9956-ffa450edef68
2013-10-31 21:36:03 +00:00
Thomas Neidhart 9c23ce3fd1 [MATH-814] Added Kendalls correlation to R testcases.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1537664 13f79535-47bb-0310-9956-ffa450edef68
2013-10-31 21:17:09 +00:00
Thomas Neidhart 3631295c43 [MATH-814] Added Kendalls tau correlation, Thanks to Matt Adereth.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1537660 13f79535-47bb-0310-9956-ffa450edef68
2013-10-31 21:16:08 +00:00
Thomas Neidhart fdbdb5eba8 [MATH-1045] Removed spurious code fragment with an impossible code path.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1537616 13f79535-47bb-0310-9956-ffa450edef68
2013-10-31 20:07:38 +00:00
Thomas Neidhart bda25b4029 [MATH-1051] Fix EigenDecomposition for certain non-symmetric matrices.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1537611 13f79535-47bb-0310-9956-ffa450edef68
2013-10-31 20:06:15 +00:00
Gilles Sadowski 5bbbe7709f Update "changes.xml".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1537473 13f79535-47bb-0310-9956-ffa450edef68
2013-10-31 12:56:51 +00:00
Gilles Sadowski 93b51cc6fd MATH-1047
Added overflow checking to "ArithmeticUtils.pow(long,int)".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1537324 13f79535-47bb-0310-9956-ffa450edef68
2013-10-30 21:59:57 +00:00
Gilles Sadowski 9be92c371c MATH-1050
Deprecating "pow(int,long)" and "pow(long,long)".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1537279 13f79535-47bb-0310-9956-ffa450edef68
2013-10-30 20:23:06 +00:00
Gilles Sadowski c979a6f0fe MATH-1045
Loop added to ensure that the largest norm is used in the singularity
check. Patch provided by Sean Owen.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1537099 13f79535-47bb-0310-9956-ffa450edef68
2013-10-30 14:16:11 +00:00
Gilles Sadowski 5526877f31 "Precision.compareTo" returns an "int".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1537053 13f79535-47bb-0310-9956-ffa450edef68
2013-10-30 11:46:00 +00:00
Gilles Sadowski a4ffd39333 MATH-1045
Singular matrices were considered non-singular due to strict comparison
with zero. Reported and fixed by Sean Owen.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1536766 13f79535-47bb-0310-9956-ffa450edef68
2013-10-29 15:43:04 +00:00
Gilles Sadowski 53f55d2ca0 MATH-1047
Overflow checking in "ArithmeticUtils.pow(int,int)".
Added "LocalizedFormats.BASE" error pattern.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1536683 13f79535-47bb-0310-9956-ffa450edef68
2013-10-29 12:01:12 +00:00
Luc Maisonobe 27bbf640fe Fixed userguide typos.
Thanks to Matt Adereth for the patch.

JIRA: MATH-1048

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1536265 13f79535-47bb-0310-9956-ffa450edef68
2013-10-28 07:10:12 +00:00
Luc Maisonobe a6be244e7f Fixed wrong naming and typo.
Thanks to Gilles for spotting this!

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1536147 13f79535-47bb-0310-9956-ffa450edef68
2013-10-27 14:39:16 +00:00
Luc Maisonobe 4b6b25d558 Removed Java6 @Override annotations.
@Override is needed in Java6 when implementing an interface, but is
allowed only when overriding a previous implementation in Java5. Apache
Commons Math currently targets Java5, so these annotations were
spurious.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1536082 13f79535-47bb-0310-9956-ffa450edef68
2013-10-27 10:10:16 +00:00
Luc Maisonobe c528afa780 Added SparseGradient to deal efficiently with numerous variables.
This new class is devoted to differentiation computation when the number
of variables is very large but most computations depend only on a few of
subset of the variables.

Thanks to Ajo Fod for the contribution.

JIRA: MATH-1036

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1536073 13f79535-47bb-0310-9956-ffa450edef68
2013-10-27 09:52:44 +00:00
Luc Maisonobe a0ef8539d3 Typos.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1536072 13f79535-47bb-0310-9956-ffa450edef68
2013-10-27 09:52:09 +00:00
Gilles Sadowski 18308998a0 MATH-1045
Added unit test (tiny eigenvalues).


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1535725 13f79535-47bb-0310-9956-ffa450edef68
2013-10-25 13:11:50 +00:00
Luc Maisonobe cffd29da6b Removed tab.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1535290 13f79535-47bb-0310-9956-ffa450edef68
2013-10-24 06:58:32 +00:00
Gilles Sadowski 721444f232 MATH-1045
Unit test with matrix containing only very small values.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1534709 13f79535-47bb-0310-9956-ffa450edef68
2013-10-22 17:49:51 +00:00
Sebastian Bazley e5f5a2dbaa Missing @Override
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1534463 13f79535-47bb-0310-9956-ffa450edef68
2013-10-22 01:53:43 +00:00
Thomas Neidhart 082baefb06 Add reference test values for ZipfDistribution.logProbability.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1534389 13f79535-47bb-0310-9956-ffa450edef68
2013-10-21 21:36:37 +00:00
Thomas Neidhart f90de3fe0b Add reference test values for GeometricDistribution.logProbability.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1534378 13f79535-47bb-0310-9956-ffa450edef68
2013-10-21 21:17:06 +00:00
Thomas Neidhart 7433bbfd76 Add R test script for geometric distribution
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1534375 13f79535-47bb-0310-9956-ffa450edef68
2013-10-21 21:12:46 +00:00
Thomas Neidhart 0d3f14e99f Update reference test values for HypergeometricDistribution#logDensity test.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1534369 13f79535-47bb-0310-9956-ffa450edef68
2013-10-21 21:00:03 +00:00
Thomas Neidhart 456723dd14 Replace impl of NormalDistribution.density by calling FastMath.exp(logDensity()) which should be faster.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1534363 13f79535-47bb-0310-9956-ffa450edef68
2013-10-21 20:28:05 +00:00
Thomas Neidhart 243e7260b9 Formatting.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1534362 13f79535-47bb-0310-9956-ffa450edef68
2013-10-21 20:23:54 +00:00
Thomas Neidhart 96d6a416d6 Avoid code duplication in Distribution density/probability methods by using the result of logDensity or logProbability respectively.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1534358 13f79535-47bb-0310-9956-ffa450edef68
2013-10-21 20:13:52 +00:00
Thomas Neidhart fb3a167582 [MATH-1039] Avoid code duplication by calling logDensity itself.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1533990 13f79535-47bb-0310-9956-ffa450edef68
2013-10-20 21:24:45 +00:00
Phil Steitz 422fc2a426 Added logDensity methods to AbstractReal/IntegerDistribution with naive default implementations and improved implementations for some current distributions.
JIRA: MATH-1039
Patch provided by Aleksei Dievskii

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1533974 13f79535-47bb-0310-9956-ffa450edef68
2013-10-20 20:42:41 +00:00
Phil Steitz 97bd8fe5de Fixed typo.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1533961 13f79535-47bb-0310-9956-ffa450edef68
2013-10-20 20:22:58 +00:00
Phil Steitz f63b7466e4 Removed file inadvertently committed in r1533853
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1533922 13f79535-47bb-0310-9956-ffa450edef68
2013-10-20 15:58:15 +00:00
Phil Steitz 81961ba841 Javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1533853 13f79535-47bb-0310-9956-ffa450edef68
2013-10-20 05:49:10 +00:00
Gilles Sadowski a8edec70d7 Using most specific exception types.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1533841 13f79535-47bb-0310-9956-ffa450edef68
2013-10-19 23:05:11 +00:00
Phil Steitz c4f77587f5 Update message count. Should have been in r1533824 commit.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1533826 13f79535-47bb-0310-9956-ffa450edef68
2013-10-19 20:38:42 +00:00
Phil Steitz 52e85a5f6f Added ConfidenceInterval class and BinomialConfidenceInterval providing implementations of several estimates of confidence intervals for binomial probabilities.
JIRA: MATH-1038
Patch provided by Thorsten Schaefer 


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1533824 13f79535-47bb-0310-9956-ffa450edef68
2013-10-19 20:37:13 +00:00
Phil Steitz 1b9489d057 Fixed javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1533795 13f79535-47bb-0310-9956-ffa450edef68
2013-10-19 17:27:34 +00:00
Thomas Neidhart 56763bf0cd Add javadoc for generic parameter types.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1533646 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 21:58:39 +00:00
Thomas Neidhart 93c587d5e4 [MATH-1035] Simplified and improved performance of ArithmeticUtils.addAndCheck(long, long), thanks to derphead
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1533643 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 21:40:42 +00:00
Thomas Neidhart 1f87cb4afb Remove unused import.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1533642 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 21:33:49 +00:00
Thomas Neidhart 3689e48ab8 [MATH-1004] Added new methods to compute the inverse of a matrix to DiagonalMatrix and MatrixUtils.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1533638 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 21:19:18 +00:00
Thomas Neidhart 6683216e61 [MATH-1029] Make overflow check symmetric for positive/negative values.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1533260 13f79535-47bb-0310-9956-ffa450edef68
2013-10-17 21:12:28 +00:00
Gilles Sadowski d1c7e82e93 MATH-1041
Update "changes.xml".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1533042 13f79535-47bb-0310-9956-ffa450edef68
2013-10-17 10:59:51 +00:00
Gilles Sadowski b1a198c84a MATH-1041
Factory method. Thanks to Sean Owen.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1532687 13f79535-47bb-0310-9956-ffa450edef68
2013-10-16 08:37:08 +00:00
Gilles Sadowski da0bbbb9a6 MATH-1041
Added "toString" method. Thanks to Sean Owen.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1532679 13f79535-47bb-0310-9956-ffa450edef68
2013-10-16 08:08:07 +00:00
Phil Steitz e65901dcb8 Improved javadoc; changed confidence level to significance level. JIRA: MATH-1034.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1532638 13f79535-47bb-0310-9956-ffa450edef68
2013-10-16 04:29:31 +00:00
Sebastian Bazley 9b1f983f71 MATH-1002 AbstractUnivariateStatistic.test(double[] values, int begin, int length, boolean allowEmpty) has uses outside subclasses
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1532459 13f79535-47bb-0310-9956-ffa450edef68
2013-10-15 17:57:08 +00:00
Phil Steitz ea5da00f1a Improved precision in reference data; decreased default tolerance in IntegerDistributionAbstract test. JIRA: MATH-1037.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1531756 13f79535-47bb-0310-9956-ffa450edef68
2013-10-13 21:33:13 +00:00
Thomas Neidhart c2801940ef [MATH-1033] Fix input parameter check in KalmanFilter. Thanks to Yuan Qu.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1531430 13f79535-47bb-0310-9956-ffa450edef68
2013-10-11 21:39:09 +00:00
Thomas Neidhart 1146cf6a60 Formatting.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1531415 13f79535-47bb-0310-9956-ffa450edef68
2013-10-11 20:53:36 +00:00
Thomas Neidhart dcaca39d00 [MATH-1037] Fix GeometricDistributionTest. Thanks to Aleksei Dievskii for the report.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1531413 13f79535-47bb-0310-9956-ffa450edef68
2013-10-11 20:47:20 +00:00
Phil Steitz 22cad3d1a9 Added exact binomial test implementation.
Contributed by Thorsten Schaefer
JIRA: MATH-1034


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1527777 13f79535-47bb-0310-9956-ffa450edef68
2013-09-30 20:54:28 +00:00
Thomas Neidhart 7cc91e9f22 [MATH-842] revert incomplete change and postpone.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1524213 13f79535-47bb-0310-9956-ffa450edef68
2013-09-17 20:32:50 +00:00
Thomas Neidhart a6925e3e8a [MATH-842] Fix Blands rule by applying it also to pivot column selection, add getter/setter for cycle prevention, reduce default cut-off threshold to 1e-10.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1523495 13f79535-47bb-0310-9956-ffa450edef68
2013-09-15 19:42:24 +00:00
Phil Steitz fb6f2aec92 Removed vestigal code.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1522637 13f79535-47bb-0310-9956-ffa450edef68
2013-09-12 15:56:02 +00:00
Thomas Neidhart a01407b7c1 Remove trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1522089 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 22:53:56 +00:00
Thomas Neidhart 0442cddf57 Use generic parameter.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1522088 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 22:53:22 +00:00
Thomas Neidhart a0636a7400 Improve changelog entry.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1522086 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 22:49:10 +00:00
Thomas Neidhart 4c7b801625 Formatting and javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1522083 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 22:42:15 +00:00
Gilles Sadowski 9a50472883 Javadoc: using MathJax.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1521951 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 17:50:28 +00:00
Luc Maisonobe ec4b45c342 Removed spurious @Override.
As the method simply implements an interface and as we are still
targeting Java 1.5, the @Override annotation should not be there.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1521774 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 09:57:29 +00:00
Gilles Sadowski f2b1cf5e5d MATH-1014
Created "HarmonicCurveFitter" as a replacement for "HarmonicFitter".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1520807 13f79535-47bb-0310-9956-ffa450edef68
2013-09-07 20:37:49 +00:00
Gilles Sadowski 6429fc8d89 Swapped arguments (expected vs tested).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1520623 13f79535-47bb-0310-9956-ffa450edef68
2013-09-06 16:16:43 +00:00
Gilles Sadowski 034ed33e47 Reuse method from "MathArrays".
Merged "if" cases.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1520622 13f79535-47bb-0310-9956-ffa450edef68
2013-09-06 16:15:34 +00:00
Gilles Sadowski 451e121231 Use method moved to "MathArrays".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1520620 13f79535-47bb-0310-9956-ffa450edef68
2013-09-06 16:07:03 +00:00
Gilles Sadowski db77aa6030 Created "natural" method in "MathArrays" from code previously in
class "RandomDataGenerator" (private method).


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1520619 13f79535-47bb-0310-9956-ffa450edef68
2013-09-06 16:05:51 +00:00
Gilles Sadowski 1f72a13a37 MATH-1027
Changed visibility of "IterationOrder" to "private".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1520611 13f79535-47bb-0310-9956-ffa450edef68
2013-09-06 15:46:19 +00:00
Gilles Sadowski d3b4651afb MATH-1027
Added accessors and (lexicographic) comparator.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1520605 13f79535-47bb-0310-9956-ffa450edef68
2013-09-06 15:32:37 +00:00
Phil Steitz 928a556123 Clarified javadoc for setXxxImpl methods. JIRA: MATH-1023.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1520076 13f79535-47bb-0310-9956-ffa450edef68
2013-09-04 17:24:02 +00:00
Gilles Sadowski 77ba0961e5 MATH-1027
Transferred code from "CombinatoricsUtils" to new class "Combinations".
Made "checkBinomial" public in "CombinatoricsUtils". 


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1519924 13f79535-47bb-0310-9956-ffa450edef68
2013-09-04 07:28:48 +00:00
Thomas Neidhart b3f4a55be9 Added missing since tags.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1519851 13f79535-47bb-0310-9956-ffa450edef68
2013-09-03 21:16:35 +00:00
Thomas Neidhart c4b4a75259 [MATH-1018] Added overloaded constructors which do not require an explicit inverseCumulativeAccuracy parameter, the default one will be used instead.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1519842 13f79535-47bb-0310-9956-ffa450edef68
2013-09-03 20:38:59 +00:00