5769 Commits

Author SHA1 Message Date
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
Hank Grabowski
d8bfc8c8f8 MATH-1138 #comment Implemented new BiCubicSplineInterpolator, supporting Akima Spline Interpolator and updated tests 2014-10-15 10:15:14 -04:00
Gilles
4c5cda210e Typo. 2014-10-15 14:48:11 +02:00
Luc Maisonobe
d26810c0d9 Added Ole Ersoy to the contributors list. 2014-10-15 09:13:36 +02:00
Luc Maisonobe
f5a8bf398c Whitespace. 2014-10-15 09:05:22 +02:00
Luc Maisonobe
fc7eeb4801 Merge remote-tracking branch 'oleersoy/master' 2014-10-15 09:02:58 +02:00
Gilles
321fd029ec MATH-1144
Allow caller to modify the set of parameters generated by the optimizer.
2014-10-13 19:43:26 +02:00
Gilles
f820d06fc0 MATH-1144
New interface for allowing caller to validate (i.e. modify) the
set of parameters generated by the optimizer.
2014-10-13 19:39:27 +02:00
Phil Steitz
a3fdeb4da9 Changed inference classes to pass null RandomGenerators to distribution constructors. JIRA: MATH-1154. 2014-10-13 06:31:45 -07:00
Ole
0dec6e76fb Corrected variance (Thanks Thomas) and added tests for inverseCumulativeProbability 2014-10-10 17:24:57 -05:00
Ole
4cb944ea68 Updated the class description 2014-10-09 10:13:31 -05:00
Luc Maisonobe
69273dca61 fixed too long first step in fixed Runge-Kutta integrators.
This change is similar to the one done two years ago for adaptive step sizes integrator.

JIRA: MATH-727
2014-10-08 14:25:05 +02:00