Commit Graph

5060 Commits

Author SHA1 Message Date
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
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