5680 Commits

Author SHA1 Message Date
Gilles
fd7a4362ca MATH-1173: Tricubic interpolation
New class "TricubicInterpolatingFunction" to replace "TricubicSplineInterpolatingFunction".
2014-12-03 12:25:09 +01:00
Luc Maisonobe
10b1c517cd Filter out spurious vertices in polygons boundaries. 2014-12-03 12:20:18 +01:00
Gilles
17f52a2e55 MATH-1175
"LaplaceDistribution": Fixed special case of inverse cumulative distribution.
2014-12-03 12:06:03 +01:00
Luc Maisonobe
b4fb13bca9 Connect closest node instead of first node below threshold in polygons. 2014-12-03 10:25:44 +01:00
Luc Maisonobe
428a48533c Fixed comment, the test for MATH-1174 does not fail anymore. 2014-12-02 22:35:27 +01:00
Luc Maisonobe
3f13fbeff3 Typo. 2014-12-02 22:29:45 +01:00
Luc Maisonobe
d21d3a94ab Deprecated AVLTree and OrderedTuple.
These two classes were dirty hacks used only for the extraction of
boundary from 2D Euclidean BSP trees. They were not really efficient and
produces some problems as topology was not preserved.

A completely new implementation of boundary extraction has been set up
as of 3.4, that preserves more topological information and therefore
should be more robust. This new implementation does not use these
classes anymore.

As AVLTree is not really a math concept, this class is not considered to
belong to [math] scope. OrderedTuple is more a grey zone, but it is
really something inefficient and no need for it is foreseen.
2014-12-02 22:18:57 +01:00
Luc Maisonobe
e6aae3a8bf Fixed a problem with too thin polygons considered to have infinite size. 2014-12-02 22:09:06 +01:00
Luc Maisonobe
893ef53c6c Removed development traces. 2014-12-02 22:06:33 +01:00
Luc Maisonobe
84cf29ecf3 set up a weak link between a line and its reverse to avoid duplications. 2014-12-02 15:37:15 +01:00
Luc Maisonobe
6525cc4035 Added splitters in Boundary attributes. 2014-12-02 15:24:31 +01:00
Luc Maisonobe
26ee481939 Reorganized code, avoiding too many internal classes. 2014-12-02 15:24:31 +01:00
Luc Maisonobe
5f667c031c Improved accuracy of internal computation.
The improvement is obtained by using high accuracy linear combinations
and by preserving cos/sin as much as possible. This last part is
important in the frequent case of lines along y axis, i.e. when angle is
π/2. We want the cosine to remain 0 and not get about 10^-17.
2014-12-02 15:24:31 +01:00
Luc Maisonobe
c29e3d681f Identified a new failure mode for polygons. 2014-12-02 15:24:31 +01:00
Gilles
e11c00085c Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-math 2014-12-02 12:06:10 +01:00
Gilles
c53f210610 Deprecation
Deprecating classes whose functionality is based on buggy code in
"BicubicSplinInterpolatingFunction" (MATH-1166).
2014-12-01 14:51:34 +01:00
Gilles
34f3f41960 Clirr
Revert binary-incompatible change.
2014-12-01 14:48:48 +01:00
Gilles
136bf34297 MATH-1166: Bicubic interpolation
New classes to replace "BicubicSplineInterpolatingFunction" and
"BicubicSplineInterpolator".
2014-11-28 15:16:51 +01:00
Luc Maisonobe
0802df0f73 Reactivated method commented out during development.
The method has been deprecated and replaced by a new method. It is not
used at all in the library, but is public so should be preserved.
2014-11-23 21:51:10 +01:00
Luc Maisonobe
046e3a2f58 Fixed a problem with vanishing sub-hyperplanes during BSP tree merging. 2014-11-23 21:46:22 +01:00
Gilles
8aec465b44 Clirr error
Return type cannot be changed (binary compatibility between minor releases).
2014-11-20 12:56:22 +01:00
Gilles
f8a8ea748a Formatting. 2014-11-20 12:50:41 +01:00
Gilles
301ad59214 MATH-1167
Use user-specified threshold to allow detection of singular matrix.
[Reported, with fix, by Neil Ireson.]
2014-11-12 12:16:13 +01:00
Gilles
9786ad4de8 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-math 2014-11-11 23:04:21 +01:00
Gilles
e3700ef350 Cleanup.
* Formatting (braces, indent, conditionals, array declaration, ...).
 * Reduce variable's scope.
 * Temporary variable to avoid multiple accesses to the same array element.
 * Use "final" keyword.
2014-11-11 23:02:41 +01:00
Emmanuel Bourg
5584c30605 Ignore the IntelliJ project files 2014-11-07 13:46:26 +01:00
Thomas Neidhart
596ccd59a1 [MATH-1165] Fix FuzzyKMeansClusterer when data points equal a cluster center. Thanks to Pashutan Modaresi 2014-11-06 22:56:19 +01:00
Luc Maisonobe
cd28a018fb Fixed checkstyle warnings. 2014-11-03 21:16:08 +01:00
Gilles
ed565027c7 Update changes file for MATH-1144 (feature requested by Olexiy Movchan). 2014-11-03 11:54:11 +01:00
Gilles
7df65a5ddf Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-math 2014-11-02 23:22:11 +01:00
Luc Maisonobe
45ae5c7e42 Added getInterpolatedSecondaryDerivatives to ContinuousOutputModel.
This method is a close relative to getInterpolatedDerivatives, but is
associated with the secondary state.

JIRA: MATH-1160
2014-10-22 21:40:32 +02:00
Luc Maisonobe
f8e6bc8ec7 Improved javadoc for ContinuousOutputModel and StepInterpolator.
The fact the arrays are reused is stated more clearly, as weel as the
fact changing the time changes the array content.

Yes, it is a bad design, we should change it in the next major version
to allocate fresh new arrays :-(
2014-10-22 21:36:40 +02:00
Luc Maisonobe
25aa4bd366 Provide access to state derivatives in ContinuousOutputModel.
JIRA: MATH-1160
2014-10-22 17:34:29 +02:00
Gilles
4a6bf542e1 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-math 2014-10-21 10:32:41 +02:00
Hank Grabowski
79ae77fda8 MATH-1138 #comment added deprecation and accuracy warnings 2014-10-21 09:50:05 +02:00
Hank Grabowski
7200c43dea MATH-1138 #comment added deprecation and accuracy warnings 2014-10-21 09:49:59 +02:00
Hank Grabowski
31fae64314 MATH-1138 #comment BicubicSplineInterpolator Maintenance
Moved the new bi-cubic interpolator functions to new Piecewise* version
of the same files.  Restored the original bi-cubic functions and
restored the tricubic function to use the original functions as well
2014-10-21 09:49:21 +02:00
Gilles
29b1936291 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-math 2014-10-20 23:20:09 +02:00
Luc Maisonobe
e89a80dd53 There are no nightly builds anymore from subversion head. 2014-10-18 17:17:16 +02:00
Luc Maisonobe
54e179b82a Fixed a forgotten reference to subversion. 2014-10-18 17:14:35 +02:00
Luc Maisonobe
39387e75ff Fixed link to source repository. 2014-10-18 17:09:06 +02:00
Luc Maisonobe
b5e155e7d0 Merge branch 'master' of https://luc@git-wip-us.apache.org/repos/asf/commons-math.git 2014-10-17 10:40:35 +02:00
Luc Maisonobe
4a339cda2c Notified fix for bicubic splines.
Thanks to Hank Grabowski for the patch.

JIRA: MATH-1138
2014-10-17 10:29:20 +02:00
Luc Maisonobe
7df36c32a5 Added Hank Grabowski as contributor. 2014-10-17 10:25:46 +02:00
Luc Maisonobe
f44d4852ab Fixed end of line encoding problems. 2014-10-17 10:23:23 +02:00
Luc Maisonobe
bf88cac1ac Removed unused import. 2014-10-17 10:22:52 +02:00
Phil Steitz
a51908af1d Fixed javadoc typo. 2014-10-15 15:54:27 -07:00
Gilles
a516976947 Debug output commented out. 2014-10-15 22:22:43 +02:00
Gilles
566c4d59a1 MATH-1144
Point must be retrieved after the call to "evaluate" (to ensure that
the validated parameters are actually used by the optimizer).
2014-10-15 22:14:46 +02:00
Hank Grabowski
bd3a6ecaa7 Merge remote-tracking branch 'upstream/master' 2014-10-15 10:20:34 -04:00