6197 Commits

Author SHA1 Message Date
Eric Prescott-Gagnon
5366158572 Improved digamma function, especially for negative values. 2016-05-05 13:48:13 -04:00
Gilles
cbae75b900 Unused "import" statement. 2016-04-30 16:09:31 +02:00
Gilles
bfc0257adb Report existence of release 3.6.1 in "changes.xml". 2016-04-30 16:07:15 +02:00
Gilles
7c1a59fa7a Fixed bug in unit test (French locale). 2016-04-30 15:51:44 +02:00
Gilles
b8e290a2cc Update "changes.xml". 2016-04-30 15:51:13 +02:00
Gilles
3ec3a2e353 Merge branch 'test-MATH-1350' into develop
Completes the following report (see JIRA):
  MATH-1350
2016-04-30 12:00:03 +02:00
Evan Ward
0ff84e6a5d Update release how-to after releasing 3.6.1 2016-04-25 09:11:26 -04:00
Eric Barnhill
d9ae4e2601 Added testing for new ComplexUtils methods, comparing results between Complex and double / float methods 2016-04-23 18:22:02 +02:00
Eric Barnhill
a03d56a27c Added methods to TestUtils to test precision of Complex object related methods in ComplexUtils 2016-04-23 18:21:24 +02:00
Eric Barnhill
ac37165ed7 Added changes to ComplexUtils.java proposed in feature-MATH-1290: array-wise conversion and extraction methods for converting Complex[] arrays to double and float arrays, split and interleaved, and vice versa; also extracting arrays of absolute value and argument. 2016-04-23 18:19:17 +02:00
Rob Tompkins
fdfbea461d Removing TODO statement 2016-04-23 08:33:41 -04:00
Rob Tompkins
8ef033be5c Increasing coverage for ComplexFormat 2016-04-23 08:29:58 -04:00
Rob Tompkins
37c4939a8a Adding test coverage for math4.analysis.funtiona and euclidean.twod 2016-04-23 08:29:35 -04:00
Gilles
f16d5b1722 Fixed failing tests.
Source of failure was MATH-1355: "EigenDecomposition" was assuming that a diagonal matrix could be made non-diagonal.
Added a utility method that creates a dense matrix from an array specifying its diagonal elements.
2016-04-22 03:33:53 +02:00
Gilles
84143c4629 Fixed failing unit test.
Source of failure was MATH-1340: Expected exception is now wrapped in another exception.
2016-04-22 03:01:33 +02:00
Gilles
baae2a6f3e Update of "changes.xml". 2016-04-22 01:01:20 +02:00
Gilles
73952558a1 Merge branch 'feature-MATH-1339' into develop
Fixes the following issue (see JIRA):
  MATH-1339
2016-04-22 00:16:35 +02:00
Gilles
78ebedb0f1 Merge branch 'feature-MATH-1158' into develop
Fixes the following issues (see JIRA):
  MATH-1356
  MATH-1351
  MATH-1348
  MATH-1158
  MATH-1343
  MATH-1124
2016-04-22 00:03:03 +02:00
Gilles
aeb21280ae Merge branch 'feature-MATH-1335' into develop
Fixes the following issues (see JIRA):
  MATH-1335
  MATH-1337
  MATH-1327
  MATH-1314
2016-04-21 23:56:39 +02:00
Gilles
71760ddf88 Merge branch 'feature-MATH-1340' into develop
Fixes the following issue (see JIRA):
  MATH-1340
2016-04-21 23:45:29 +02:00
Gilles
6c4fc0647f Merge branch 'feature-MATH-1355' into develop
Fixes the following issue (see JIRA):
  MATH-1355
2016-04-21 23:39:06 +02:00
Gilles
03661de17a Whitespace. 2016-04-19 12:47:30 +02:00
Gilles
d0f4583361 Changes performed in "master" should have been done in "develop". 2016-04-19 12:42:33 +02:00
Sebb
5bbd826e2f Standard Maven directory layout 2016-04-19 00:22:17 +01:00
Gilles
0880a21c56 MATH-1356
Handle special cases for which the computation would otherwise produce NaN.
Thanks to Thomas Lacroix for the report.
2016-04-19 00:27:32 +02:00
Gilles
350c477161 MATH-1355
Use "DiagonalMatrix" class.
Thanks to Kazuhiro Koshino for the report.
2016-04-12 15:06:35 +02:00
Gilles
3066a8085f MATH-1351
New sampling API for multivariate distributions (similar to changes performed for MATH-1158).

Unit test file renamed in accordance to the class being tested.
One failing test "@Ignore"d (see comments on the bug-tracking system).
2016-03-28 13:45:42 +02:00
Gilles
880b04814c Example code updated.
Usage of "JDKRandomAdaptor".
2016-03-28 03:26:52 +02:00
Gilles
3411f29e23 MATH-1348
Subclass of "java.util.Random".
2016-03-28 03:25:05 +02:00
Gilles
e366894658 MATH-1158
Adapt "examples" code to the new sampler API.
2016-03-27 23:45:32 +02:00
Gilles
02e4f6be9f Formatting. 2016-03-27 01:29:21 +01:00
Gilles
3ab3653e48 MATH-1290
Utilities for manipulating arrays of complex numbers.
Also fixes
 * MATH-1291: method name change
 * MATH-1349: method for checking equality of arrays of complex numbers (in unit tests)

Thanks to Eric Barnhill.
2016-03-27 01:01:58 +01:00
Gilles
b577805347 MATH-1343
Unnecessary recomputation.
2016-03-26 02:32:10 +01:00
Gilles
96f2b16b3e MATH-1340
Avoid exception swallowing.
2016-03-26 02:21:15 +01:00
Gilles
55fd738c86 MATH-1339.
Avoid unnecessary object creations and method calls.
2016-03-21 00:36:55 +01:00
Gilles
808149305b Added unit test. 2016-03-21 00:36:55 +01:00
Gilles
3451569887 MATH-1337
Adaptor from new to old API.
Class is deprecated: it is temporarily provided to allow testing of the new RNGs (in user applications) with minimal changes.
2016-03-21 00:20:50 +01:00
Gilles
6ddf476991 MATH-1335.
New package "o.a.c.m.rng" contains RNG core functionality (uniform distribution).

Utilities to interface with stress test suites.
Userguide: benchmarks and stress test suites reports (MATH-1327).
2016-03-20 23:29:55 +01:00
Gilles
ae2c81ad18 MATH-1158
Removed deprecated sampling API (and constructors).
In this pass, the integer distributions have been updated.

Class "RandomDataGenerator" has been reverted to use the old RNG implementation (a wrapper is created whenever it must be passed to a distribution's "createSampler" method).
2016-03-19 23:47:21 +01:00
Gilles
77c24aa926 MATH-1158
Removed deprecated sampling API.
2016-03-17 19:55:26 +01:00
Evan Ward
7a8dc00b8b Fix ODE integration with close events
Previously integration would crash when two event detectors triggered events
within the root finder's tolerance of each other. Now all events are handled
in order and integration proceeds.

Fixes MATH-1342
2016-03-16 11:57:30 -04:00
Gilles
9867d9f281 MATH-1158
Using the new sampler API.
Deprecate old API (including the now obsolete constructors).

Apart from the main focus of the issue (distribution classes), this change also had an impact on:
 * some of test classes that use random numbers (where the tolerance may have its value updated when it is highly sensitive on the RNG seed)
 * statistical inference tests that use a distribution but not the RNG (cf. MATH-1124) which now deprecated code passed to its contructor.
 * classes in package "o.a.c.m.random" that depend on some of the distributions
2016-03-16 16:46:51 +01:00
Gilles
26d668f6d5 MATH-1158.
Method "createSampler" overridden in "LogNormalDistribution".
2016-03-12 03:12:54 +01:00
Gilles
f72b5e65c0 MATH-1158.
Method "createSampler" overridden in "GammaDistribution".
2016-03-12 03:12:31 +01:00
Gilles
adfa016f3e MATH-1158.
Method "createSampler" overridden in "ExponentialDistribution".
2016-03-12 03:12:06 +01:00
Gilles
228b49fe2a MATH-1158.
Method "createSampler" overridden in "ParetoDistribution".
2016-03-12 02:38:42 +01:00
Gilles
82f4ce516c MATH-1158.
Method "createSampler" overridden in "ConstantRealDistribution".
2016-03-12 02:31:13 +01:00
Gilles
1d5f8faa87 MATH-1158.
Method "createSampler" overridden in "UniformRealDistribution".
2016-03-12 02:14:04 +01:00
Gilles
dff43a0530 MATH-1158.
Use new sampler API.
2016-03-11 12:43:15 +01:00
Gilles
a5035d0e1c MATH-1158.
Sampler functionality defined in "EnumeratedDistribution".
Method "createSampler" overridden in "EnumeratedRealDistribution".
2016-03-11 04:48:18 +01:00