Commit Graph

6034 Commits

Author SHA1 Message Date
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 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