Commit Graph

5947 Commits

Author SHA1 Message Date
Gilles 2fcfce3039 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-math 2015-12-31 01:35:30 +01:00
Gilles 8f6bedeb72 MATH-1309
Constructors should not call overridable methods, even indirectly.
2015-12-31 01:31:24 +01:00
Dave Brosius a4eff51bed simplify: remove dead params 2015-12-29 14:31:35 -05:00
Dave Brosius a71c820bae use short-circuiting ops 2015-12-29 14:26:06 -05:00
Dave Brosius e779883b29 simplify: instanceof checks for nulls 2015-12-29 14:21:42 -05:00
Dave Brosius fb83ba3fdb push down allocations/calculations to where they are needed 2015-12-29 13:52:48 -05:00
Gilles d1123894d3 Minor change.
Make method parameter names consistent (cf. MATH-1307).
2015-12-29 01:49:36 +01:00
Phil Steitz 8bcf7e23a6 Javadoc fixes. 2015-12-28 14:13:45 -07:00
Thomas Neidhart f0943a7242 Add userguide example for image clustering. 2015-12-28 21:01:18 +01:00
Gilles 81585a3c46 Update "changes.xml". 2015-12-28 18:22:08 +01:00
Gilles 8d6d088622 Checkstyle. 2015-12-28 18:18:25 +01:00
Gilles 8a35ca4f8e MATH-1308
Removed obsolete and unused classes.
2015-12-28 18:12:35 +01:00
Gilles b95df5ad1e Javadoc. 2015-12-28 18:07:23 +01:00
Gilles aaabfe8d2d Javadoc. 2015-12-28 18:05:05 +01:00
Gilles d8e2f892e4 MATH-1307
Use new class.
2015-12-28 17:55:00 +01:00
Gilles ca01fdf580 MATH-1307
Remove obsolete class.
2015-12-28 17:46:59 +01:00
Gilles 4fc5b3402c MATH-1309
Not calling public "setSeed" from a constructor.
2015-12-28 17:33:00 +01:00
Gilles e0d17fed51 MATH-1309
Not calling public "setSeed" from a constructor.
2015-12-28 17:32:56 +01:00
Gilles 581b474f4b MATH-1309
Not calling public "setSeed" from a constructor.
2015-12-28 17:32:34 +01:00
Gilles e34f50dd10 Serialization identifier. 2015-12-28 17:02:08 +01:00
Gilles f9e72000a1 Javadoc. 2015-12-28 17:01:21 +01:00
Gilles ffae3bdbb6 MATH-1307
Extends new base class.
2015-12-28 16:51:31 +01:00
Gilles 921d0d60d4 MATH-1307
Extends new base class.
2015-12-28 16:49:55 +01:00
Gilles 87497c7246 MATH-1307
Extends new base class.
2015-12-28 16:47:52 +01:00
Gilles 6f4f676c4b Javadoc. 2015-12-28 16:47:15 +01:00
Gilles 2a8061f4ad Javadoc. 2015-12-28 16:46:31 +01:00
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