4921 Commits

Author SHA1 Message Date
Gilles
59fe593a42 Javadoc 2014-12-15 17:06:20 +01:00
Gilles
92a027bc73 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-math 2014-12-15 16:57:10 +01:00
Gilles
ed6109d0a2 Javadoc 2014-12-15 16:56:42 +01:00
Thomas Neidhart
d5f586bd4e [MATH-1142] Improve performance of kalman gain calculation of KalmanFilter. Thanks to Arne Schwarz. 2014-12-15 16:50:50 +01:00
Phil Steitz
2fb2221d48 Fixed integer overflow in KolmogorovSmirnovTest causing 2-sample test
to use exact method when the product of the sample sizes exceeds
Integer.MAX_VALUE, resulting in effectively hung execution.

JIRA: MATH-1181
Reported by Gilad
2014-12-15 06:44:53 -07:00
Gilles
7fb571b16c Javadoc 2014-12-15 13:48:48 +01:00
Gilles
de73ad3115 MATH-1180: Sequence of integers
Added to "MathArrays": method to create an array containing a sequence of integers.
2014-12-15 13:40:04 +01:00
Gilles
491786ce41 MATH-1172: Simple curve fitter
Provides boiler-plate code so that users can readily fit any parametric function.
2014-12-14 18:48:01 +01:00
Gilles
753f278d10 MATH-1173: Tricubic interpolation
New class "TricubicInterpolator" to replace "TricubicSplineInterpolator".
2014-12-14 18:25:08 +01:00
Luc Maisonobe
09129d5367 prepared release notes for version 3.4 2014-12-13 22:04:33 +01:00
Luc Maisonobe
9f42f18f15 updated download page for the next release (3.4) 2014-12-13 21:41:51 +01:00
Luc Maisonobe
4ed24c87c5 fixed missing closing element 2014-12-13 21:40:00 +01:00
Gilles
5d6e445484 MATH-1178 (typo in userguide)
Fixed incorrect example in "stat" section.
[Reported by Dmitriy.]
2014-12-09 00:13:28 +01:00
Gilles
c8f122c304 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-math
Conflicts:
	src/changes/changes.xml
2014-12-03 12:30:26 +01:00
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
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