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
28b39e33d8
typo
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1560332 13f79535-47bb-0310-9956-ffa450edef68
2014-01-22 12:28:04 +00:00
Luc Maisonobe
b0252439c3
updated RAT plugin exlusion, to ignore a file added by Eclipse
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1560330 13f79535-47bb-0310-9956-ffa450edef68
2014-01-22 12:21:01 +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
Thomas Neidhart
0d606bb16f
Update copyright.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1555725 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 12:11:24 +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