Commit Graph

6375 Commits

Author SHA1 Message Date
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
Gilles a6eda3d8ef MATH-1158.
Utility method instead of explicit loop.
2016-03-11 04:38:30 +01:00
Gilles 7530b4bdce MATH-1158.
Syntactic sugar.
2016-03-11 04:14:57 +01:00
Gilles 6c94c16e46 MATH-1158.
New "Sampler" interface and "createSampler" factory method defined in "RealDistribution" interface.

Default sampling implementation defined in "AbstractRealDistribution" (using the "inversion method").
Overridden in "NormalDistribution" (code copied from "BitsStreamGenerator") and "BetaDistribution".
2016-03-11 02:05:49 +01:00
Gilles ce8c82f1fb 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-11 01:51:58 +01:00
Gilles 12c9a04414 Development branch name is "develop".
As per the blog post referred to in the "howto".
2016-02-25 17:19:58 +01:00
Gilles 050dfa6f08 Fixed calls to methods that now have an additional parameter. 2016-02-15 18:22:45 +01:00
Gilles 0af5f146f2 Fixed missing dependency.
Thanks to Jörg Schaible.
2016-02-15 18:18:37 +01:00
Phil Steitz dd426acc5d Removed self from developers. 2016-02-06 08:01:09 -07:00
Gilles 2c47a69954 Develoment model (using "git").
Basic policy has been agreed on in this thread:
  http://markmail.org/message/7lnus64entdwj4vo

Additions are in order if and when handling of legacy code is decided.
2016-02-04 15:29:35 +01:00
Gilles e0b2c86c87 Improved formatting of the benchmarking report. 2016-02-04 00:25:56 +01:00
ggregory 0952cee350 Ignore Eclipse artifacts. 2016-01-18 14:32:27 -08:00
Luc Maisonobe 9d4fb49526 Reverting commit 4cbb388ba9 as per Gilles request.
The work on revamping the random packages is perfoemd in the random-ravamp branch.
2016-01-17 11:40:27 +01:00
Luc Maisonobe 3c2fedeb09 Reverting commit 2a8061f4ad as per Gilles request.
The work on revamping the random packages is perfoemd in the random-ravamp branch.
2016-01-17 11:40:27 +01:00
Luc Maisonobe e7c659f590 Reverting commit 6f4f676c4b as per Gilles request.
The work on revamping the random packages is perfoemd in the random-ravamp branch.
2016-01-17 11:40:27 +01:00
Luc Maisonobe 17bc99fdff Reverting commit 87497c7246 as per Gilles request.
The work on revamping the random packages is perfoemd in the random-ravamp branch.
2016-01-17 11:40:27 +01:00
Luc Maisonobe aaf4027bfb Reverting commit 921d0d60d4 as per Gilles request.
The work on revamping the random packages is perfoemd in the random-ravamp branch.
2016-01-17 11:40:27 +01:00
Luc Maisonobe df46ed5edd Reverting commit ffae3bdbb6 as per Gilles request.
The work on revamping the random packages is perfoemd in the random-ravamp branch.
2016-01-17 11:40:27 +01:00
Luc Maisonobe 7c31eb6634 Reverting commit f9e72000a1 as per Gilles request.
The work on revamping the random packages is perfoemd in the random-ravamp branch.
2016-01-17 11:40:27 +01:00
Luc Maisonobe 5b940aaf30 Reverting commit e34f50dd10 as per Gilles request.
The work on revamping the random packages is perfoemd in the random-ravamp branch.
2016-01-17 11:40:27 +01:00
Luc Maisonobe 32280b862c Reverting commit 581b474f4b as per Gilles request.
The work on revamping the random packages is perfoemd in the random-ravamp branch.
2016-01-17 11:40:27 +01:00
Luc Maisonobe 794dda1fbb Reverting commit e0d17fed51 as per Gilles request.
The work on revamping the random packages is perfoemd in the random-ravamp branch.
2016-01-17 11:40:27 +01:00
Luc Maisonobe a4456b8fd5 Reverting commit 4fc5b3402c as per Gilles request.
The work on revamping the random packages is perfoemd in the random-ravamp branch.
2016-01-17 11:40:27 +01:00