Gilles
4cbb388ba9
MATH-1307
...
New base class for RNG implementations.
The source of randomness is provided through the "nextInt()" method (to be defined in subclasses).
2015-12-28 16:42:55 +01:00
Phil Steitz
7b62d0155e
Javadoc fixes.
2015-12-28 08:29:28 -07:00
Phil Steitz
85a4fdd0ea
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-math
2015-12-28 07:42:05 -07:00
Gilles
6b5d073251
Javadoc.
...
Added "caveat" note.
2015-12-28 00:43:04 +01:00
Gilles
75da8c1c95
MATH-1301
2015-12-27 23:58:20 +01:00
Gilles
c7f7da754a
MATH-1301
...
Using composition rather than inheritance.
2015-12-27 23:17:29 +01:00
Luc Maisonobe
564345179f
Detect start failures with multi-step ODE integrators.
...
JIRA: MATH-1297
2015-12-27 13:42:17 +01:00
Luc Maisonobe
c9b1c8f966
Added compose and composeInverse to rotations.
...
These method are more flexible than the existing applyTo and
applyInverseTo (which are still present), because they allow caller
to specify a RotationConvention.
JIRA: MATH-1302, MATH-1303
Github: closes #22
2015-12-27 13:09:13 +01:00
Gilles
9ce4e1a371
Randomize further the micro-benchmarking tool.
2015-12-27 00:28:28 +01:00
Gilles
763dfdfe89
Javadoc.
...
Avoid HTML entities.
2015-12-27 00:26:22 +01:00
Phil Steitz
799a38a89f
Javadoc fixes.
2015-12-26 14:59:31 -07:00
Luc Maisonobe
a7294ccd79
Added a RotationConvention enumerate.
...
This enumerate allows specifying the semantics or axis/angle for
rotations. This enumerate has two values: VECTOR_OPERATOR and
FRAME_TRANSFORM.
JIRA: MATH-1302, MATH-1303
2015-12-26 21:25:16 +01:00
Phil Steitz
afa1202271
Javadoc fixes.
2015-12-26 09:38:30 -07:00
Phil Steitz
ab7fd6c92a
Javadoc fixes.
2015-12-25 15:56:08 -07:00
Phil Steitz
4ebd5b6172
Javadoc fix.
2015-12-25 09:18:31 -07:00
Luc Maisonobe
dd9cb37df5
Fixed checkstyle warnings.
2015-12-25 13:22:23 +01:00
Luc Maisonobe
030b9a7234
Added forgotten name.
...
Julien Queyrel helped a lot to identify and fix the issue about Adams
integrators stability.
2015-12-25 12:13:03 +01:00
Luc Maisonobe
b72d8677bf
Removed use of deprecated class.
2015-12-25 12:11:55 +01:00
Luc Maisonobe
bf803b119b
Fixed stability issues with Adams integrators.
2015-12-24 23:20:01 +01:00
Gilles
9a87c766bb
MATH-1301
...
Method "nextInt(int)" must throw a "NotStrictlyPositiveException" similarly to the other RNG implementations.
[Previous commit was incomplete.]
2015-12-24 18:29:01 +01:00
Gilles
2ab17f529d
MATH-1301
...
Method "nextInt(int)" must throw a "NotStrictlyPositiveException" similarly to the other RNG implementations.
2015-12-24 14:45:30 +01:00
Gilles
eca374db08
int -> long
...
Changing type of the non-default constructor of "JDKRandomGenerator" in
order to match the signature of "java.util.Random".
2015-12-24 14:30:23 +01:00
Gilles
88b29fa46b
MATH-1305
...
Slight performance improvement of the "nextBytes" methods.
2015-12-21 03:14:32 +01:00
Gilles
813aa11d50
MATH-1304
...
Replaced implementation of "nextBytes" by copying the code from "BitsStreamGenerator" class
(and then replacing the call to "next(32)" by "nextInt()").
2015-12-21 01:26:18 +01:00
Gilles
2d868410ee
Redundant unit test removed.
...
Renamed two methods to be clearer about what is being tested.
2015-12-20 22:42:10 +01:00
Gilles
b3a68ca842
Separate test cases.
2015-12-20 17:21:41 +01:00
Gilles
a4a62ed7c1
Typo.
2015-12-20 17:13:18 +01:00
Gilles
2bfd81a2b1
MATH-1300
...
Thanks to Rostislav Krasny for the report.
2015-12-20 15:59:43 +01:00
Gilles
1d635088f6
MATH-1300
...
Removed call to the random data generator when it is not necessary.
As a corollary, the change provides the property that, if the number of
requested bytes is a mulitple of 4, consecutive calls to "nextBytes" will
return the same sequence as a single call.
2015-12-20 15:45:02 +01:00
Gilles
47ed8d9207
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-math
2015-12-19 18:41:28 +01:00
Gilles
0043921198
MATH-1293
...
New inner class "CombinatoricsUtils.FactorialLog" that allows to precompute a configurable number of values.
Thanks to Aleksei Dievskii for the original feature request and implementation.
The proposed code was further modified to enhance usage flexibility and performance and to include additional unit tests.
2015-12-19 18:34:49 +01:00
Luc Maisonobe
5566a21d2b
Updated FieldMatrix exceptions thrown to match javadoc.
...
Github: closes #20
2015-12-18 12:47:13 +01:00
Luc Maisonobe
abb2057959
Fixed javadoc.
...
Thanks to Ole Ersoy for the patch.
Github: closes #19
2015-12-15 19:44:38 +01:00
Sebb
a6a4bd1fc9
Moved DOAP
2015-12-09 18:01:49 +00:00
Phil Steitz
b2627dacce
Fixed errors / omissions in javadoc regarding NaN return values. JIRA: MATH-1296.
2015-12-02 20:34:49 -07:00
Thomas Neidhart
9085dfacc0
Apply fix for timestamp format.
2015-12-02 21:19:37 +01:00
Thomas Neidhart
25de9b7800
MATH 4 requires at least java 7, build also the MATH_3_X branch.
2015-12-02 21:08:41 +01:00
Thomas Neidhart
7afc1c34fc
Add missing Override tags -> trigger travis build.
2015-12-02 21:03:30 +01:00
Thomas Neidhart
f504277bca
Update latest version in README.
2015-12-02 20:43:44 +01:00
Thomas Neidhart
7d32a990e9
Add badges and initial travis configuration. This closes #11 .
2015-12-02 20:42:31 +01:00
Gilles
bdc329db9e
Backport tracking.
2015-12-02 15:57:13 +01:00
Gilles
34646ec9b5
MATH-1295
...
Increased default value for number of allowed evaluations.
2015-12-02 13:51:10 +01:00
Phil Steitz
c4f8493358
Backport tracking.
2015-11-29 08:33:46 -07:00
Phil Steitz
2bfd539dba
Update javadoc; use += for jitter.
2015-11-27 13:00:01 -07:00
Phil Steitz
49bb370a6c
Removed trailing spaces. No code change.
2015-11-27 10:55:38 -07:00
Phil Steitz
f7ab3a70ec
Modified KolmogororSmirnovTest 2-sample test to use random jitter to break ties in input data. JIRA: MATH-1246.
2015-11-26 14:43:20 -07:00
Phil Steitz
5f9cfa6ebf
Pass rng to EnumeratedRealDistribution used by bootstrap.
2015-11-24 06:24:46 -07:00
Thomas Neidhart
487ac19801
[MATH-1294] Fix potential race condition in PolynomialUtils. Thanks to Kamil Włodarczyk
2015-11-23 23:13:10 +01:00
Phil Steitz
03326f6116
Fixed syntax / coding errors to make tests agree exactly with Java tests; added missing tests to testAll.
2015-11-23 13:56:27 -07:00
Phil Steitz
23b351c894
Removed trailing spaces.
2015-11-22 12:18:46 -07:00