Commit Graph

5665 Commits

Author SHA1 Message Date
Gilles 41f2978099 MATH-1256
Enforce order of bounds.
2015-08-17 13:20:22 +02:00
Gilles 4f548acfd1 "backport" indication. 2015-08-14 16:39:00 +02:00
Gilles 41ee94f009 Javadoc. 2015-08-14 16:32:40 +02:00
Gilles 4f73871cf4 MATH-1255
Wrong usage of "Gaussian" function.
2015-08-13 23:32:37 +02:00
Gilles 63bc0dbfd8 Missing quote. 2015-08-13 23:27:40 +02:00
Otmar Ertl c1607bbc35 fixed my email address 2015-08-09 18:13:10 +02:00
Luc Maisonobe 2309f28e3d added a least squares section in the user guide 2015-07-27 22:14:17 +02:00
Phil Steitz 09fe956a62 Changed data size check to be positive length, not > 1 to fix
ResizableDoubleArray constructor failure on input array of
length 1.

JIRA: MATH-1252
Thanks to John Bay
2015-07-23 20:35:25 -04:00
Gilles 5d49c9797e Backport tracking. 2015-07-20 16:10:35 +02:00
Luc Maisonobe 1644256e43 Fixed checkstyle warning. 2015-07-20 13:06:45 +02:00
Gilles 9c545d44a4 MATH-1251
Fixed initial value of the "number of calls" counter.
2015-07-19 23:26:48 +02:00
Gilles af199c675d Tracking backport. 2015-07-19 21:07:36 +02:00
Gilles 7a8a778331 New private method for factoring out some common code. 2015-07-19 00:07:03 +02:00
Gilles a7fe613853 MATH-1250
Methods to estimate concurrency performance.
2015-07-19 00:02:45 +02:00
Otmar Ertl cf4416a842 [MATH-1242] fixed shuffle algorithm used by the Monte Carlo KS statistic
calculation method, moved shuffle algorithm to static package-private
method that is now explicitly tested by a unit test
2015-07-17 20:46:53 +02:00
Otmar Ertl 6913170b0d moved myself from contributor to developer section 2015-07-17 20:31:33 +02:00
Gilles 387880a630 Use utility method for "not null" checks. 2015-07-12 00:44:14 +02:00
Gilles 1fe7a43505 MATH-1248
Unnecessary allocations in "BigFraction".
Thanks to Chris Popp.
2015-07-11 14:54:43 +02:00
Phil Steitz 32d33210a9 Fixed error in computing discrete distribution of D statistics for small-sample
2-sample Kolmogorov-Smirnov tests. Error was causing incorrect p-values returned
by exactP and monteCarloP methods (used by default for small, mid-size samples).

JIRA: MATH-1245
2015-07-10 11:55:58 -07:00
Luc Maisonobe 0f6812858a Removed use of awt transforms. 2015-07-10 15:33:10 +02:00
Luc Maisonobe 9036edd6d6 Reverted change about getters in bicubic interpolation.
As discussed on the mailing list, the caller already knows the arrays as
it is the caller who provided them initially.
2015-07-06 20:39:38 +02:00
Luc Maisonobe 70538e67fb Reverted commit about mapping functions in MathArrays.
As discussed on the mailing list, the same result can be obtained with
existing higher level API, for example:

  new ArrayRealVector(array, false).map(f).toArray();
2015-07-06 20:33:37 +02:00
Gilles 9575054ff0 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-math
Conflicts:
	src/changes/changes.xml
2015-07-06 14:03:48 +02:00
Gilles 5f9dda6b90 MATH-1243
Refactoring of "microsphere interpolation" algorithm.
2015-07-06 13:52:02 +02:00
Luc Maisonobe 3ac3ff62b8 Add getXmax, getXmin, getYmax, getYmin to BicubicInterpolatingFunction.
These can be useful to manage an OutOfRangeException without the need to
access the original x and y arrays.

Closes #9.
2015-07-05 10:21:53 +02:00
Luc Maisonobe 088d0f9222 Added mapping functions to MathArrays.
These methods allow to map any univariate or bivariate function to
arrays.

This fixes several pull requests on github, but uses a generalized
mapping approach rather than specific api for each function (closes #6,
closes #7, closes #8).
2015-07-05 10:19:10 +02:00
Gilles ed6c47dd9e MATH-1244
Utility method "cosAngle".
2015-06-30 12:48:02 +02:00
Thomas Neidhart 5cfd99f0dc [MATH-1240] Fix calculation of ksSum in KolmogorovSmirnovTest for zero input. 2015-06-28 11:58:19 +02:00
Thomas Neidhart 6d7ee38cee [MATH-1242] Improve performance of KolmogorovSmirnov two-sample test via monte carlo simulation. Thanks to Otmar Ertl. 2015-06-28 10:45:23 +02:00
tn 471e6b078a [MATH-1241] Propagate input value to Gamma#digamma and Gamma#trigamma if the input is not a real value to avoid infinite recursion. Thanks to Aleksei Dievskii. 2015-06-24 15:30:35 +02:00
Thomas Neidhart 276e22858c [MATH-1236] Improve performance of calculating the two-sample Kolmogorov-Smirnov test statistic. Thanks to Otmar Ertl. 2015-06-21 19:39:23 +02:00
Gilles 75c2b24c68 MATH-1231
Lifted unnecessary type restriction on constructor's "exponent" argument
of "MicrosphereInterpolator" and "MicrosphereInterpolatingFunction".
2015-06-11 23:52:53 +02:00
Luc Maisonobe 2990f6caad Merge branch 'master' of
https://luc@git-wip-us.apache.org/repos/asf/commons-math.git

Conflicts:
	src/changes/changes.xml
2015-06-11 14:09:52 +02:00
Luc Maisonobe 8f35fcb8f7 Fixed error message for unknown parameter name in ODE.
JIRA: MATH-1232
2015-06-11 13:50:04 +02:00
Thomas Neidhart a55ae85447 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-math
Conflicts:
	src/changes/changes.xml
2015-06-09 20:43:42 +02:00
Thomas Neidhart 96eb80efe1 [MATH-1230] Throw a DimensionMismatchException if dimension of constraints and objective function does not match in SimplexSolver. 2015-06-09 20:39:52 +02:00
Luc Maisonobe 12ec16006a Updated to latest plantuml syntax. 2015-06-01 11:01:58 +02:00
Luc Maisonobe 5f5937fcc2 Fixed checkstyle warning. 2015-06-01 10:59:59 +02:00
Gilles 8be87e032a MATH-1229
Set initial capacity to input array's size in order to avoid
unnecessary resizing for inputs larger than than the default
capacity.
2015-05-30 19:23:35 +02:00
Luc Maisonobe 441687e5a4 Document NPE.
JIRA: MATH-1116
JIRA: MATH-1224
2015-05-19 13:46:09 +02:00
Luc Maisonobe c44bfe000c Fixed wrong event detection in case of close events pairs.
JIRA: MATH-1226
2015-05-19 13:18:32 +02:00
Benedikt Ritter cf571ba2a6 Fix repository location in doap file 2015-05-18 09:17:18 +02:00
Luc Maisonobe 241dccdca6 Updated checkstyle plugin configuration to avoid false positive. 2015-05-17 17:35:58 +02:00
Luc Maisonobe 0c0455fd66 Attempt to re-implement the pow function.
The attempts are motivated by platform-specific failures, which seem to
be platform-specific, and probably due to JIT optimization bugs.
2015-05-17 16:31:12 +02:00
Luc Maisonobe 9b6a649f9f updated ODE userguide documentation.
JIRA: MATH-1225
2015-05-17 15:07:31 +02:00
Luc Maisonobe 15a24dc0fc Added a fast implementation of IEEEremainder in FastMath. 2015-05-16 14:24:13 +02:00
Phil Steitz 83c61da2c9 Document NPE. JIRA: MATH-1224. 2015-05-13 12:21:38 -07:00
Luc Maisonobe 903f280595 Use Double.isNaN rather than x != x in FastMath.
Thanks to Benedikt Ritter.

Github: closes #5.
JIRA: MATH-1222
2015-05-09 22:15:52 +02:00
Sebb 35ad940908 Version entries must be in separate release sections 2015-05-08 15:39:56 +01:00
Thomas Neidhart a675ca7802 Fix test failures for FastMath.pow by preventing JIT branch optimization. 2015-05-07 21:35:50 +02:00