Sebastien Brisard
a0817f428e
Merged BinomialDistribution and BinomialDistributionImpl (MATH-711).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1205963 13f79535-47bb-0310-9956-ffa450edef68
2011-11-24 19:37:34 +00:00
Sebastien Brisard
936b937517
Merged BetaDistribution and BetaDistributionImpl (MATH-711).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1205739 13f79535-47bb-0310-9956-ffa450edef68
2011-11-24 07:07:32 +00:00
Luc Maisonobe
645d642b8f
Improved Dormand-Prince 8(5,3) step interpolator accuracy at step start.
...
The previous step is preserved and if interpolation time is in the first
half ot the step, then interpolation is based on step start, otherwise
is it based on step end. Previously, interpolation was always performed
with respect to step end.
If this trick proves useful, it will be extended to other Runge-Kutta
type step interpolators.
JIRA: MATH-705
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1204270 13f79535-47bb-0310-9956-ffa450edef68
2011-11-20 21:41:46 +00:00
Luc Maisonobe
6d877485ed
typo
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1204269 13f79535-47bb-0310-9956-ffa450edef68
2011-11-20 21:40:43 +00:00
Luc Maisonobe
96e2ae350c
Fixed wrong unicode character.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1203682 13f79535-47bb-0310-9956-ffa450edef68
2011-11-18 15:01:56 +00:00
Luc Maisonobe
5d699563b1
Fixed BigFraction percentage method which did not work at all.
...
JIRA: MATH-709
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1203516 13f79535-47bb-0310-9956-ffa450edef68
2011-11-18 07:42:12 +00:00
Gilles Sadowski
9591a91f45
MATH-708.
...
New utility method.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1203205 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 14:33:10 +00:00
Gilles Sadowski
e0bf2f8c29
Javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1202926 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 23:10:07 +00:00
Gilles Sadowski
50af1b4d63
Character encoding.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1202922 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 23:05:34 +00:00
Gilles Sadowski
1f7ef356d9
Character encoding.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1202746 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 15:45:21 +00:00
Gilles Sadowski
4289e3e4ff
MATH-697
...
Added missing constructors.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1202186 13f79535-47bb-0310-9956-ffa450edef68
2011-11-15 13:35:45 +00:00
Gilles Sadowski
754434a4c0
MATH-697
...
New interface and abstract base class for separate support of unconstrained
and simple bounds constraints optimizers.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1202140 13f79535-47bb-0310-9956-ffa450edef68
2011-11-15 11:47:25 +00:00
Luc Maisonobe
3ad3a1fa41
Fixed a bad interaction between step handlers and event handlers in ODE
...
integrators.
The problem was due to an internal array from the step interpolator that
was changed by the step handlers. These array was expected to contain
the state at event time, but was overridden later on. the solution is
simply to clone the array. Note that the fact the array is reused *is*
documented in the javadoc and is a feature of the interpolators ...
JIRA: MATH-706
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1201105 13f79535-47bb-0310-9956-ffa450edef68
2011-11-11 23:39:34 +00:00
Luc Maisonobe
ea13fac876
Added array constructor and getter for Vector2D and Vector3D.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1200546 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 21:03:55 +00:00
Luc Maisonobe
0fd55c7ac3
Added applyTo and applyInverseTo methods in the Rotation class that
...
handle directly arrays instead of Vector3D instances.
Patch provided by Jan Kotek.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1200545 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 21:02:54 +00:00
Luc Maisonobe
bb201d926e
Added adapters for simple bounds constraints optimization.
...
The adapters are useful only for optimizers that do not support simple
bounds constraints by themselves (i.e. Nelder-Mead and Torczon's
multidirectional). Two adapters are available, one performs a mapping
between the whole real range and the bounded range (bounds being set
component wise), and one uses a penalty function.
JIRA: MATH-196
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1200516 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 20:08:55 +00:00
Sebastian Bazley
dadf9a70a0
Simpify exception checking:
...
- use expected @Test attribute
- don't catch and rethrow
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1200430 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 17:05:51 +00:00
Sebastian Bazley
3d866e964d
Need to fail if the exception is not generated
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1200394 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 15:54:47 +00:00
Sebastian Bazley
e92986db74
Unused
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1200393 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 15:52:30 +00:00
Sebastian Bazley
6c4ee56c3d
Javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1200390 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 15:47:23 +00:00
Sebastian Bazley
7aefdb81e1
Unnecessary casts; document unused field
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1200384 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 15:43:02 +00:00
Sebastian Bazley
7774fb6ffb
Use asserNotNull(var) instead of if (var != null) and avoid subsequent NPE warnings
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1200365 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 15:07:47 +00:00
Sebastian Bazley
f2c22d1d36
Use asserNotNull(var) instead of assertTrue(var != null) and avoid subsequent NPE warnings
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1200359 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 15:01:32 +00:00
Sebastian Bazley
416084f964
Javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1200358 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 14:58:57 +00:00
Sebastian Bazley
913bc812d3
Unused
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1200354 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 14:54:20 +00:00
Sebastian Bazley
914be00ae2
Add missing serialVersionUId
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1200351 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 14:47:07 +00:00
Sebastian Bazley
19ad2142b6
Unnecessary casts - angbd is double, so ensures the rest of the calculation uses double
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1200350 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 14:43:44 +00:00
Sebastien Brisard
710b276e47
Removed illegal @Override.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1200334 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 14:11:06 +00:00
Sebastien Brisard
87f0f14381
Modifications to the hierarchy of distributions, according to MATH-692. Patch contributed by Christian Winter.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1200179 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 06:21:56 +00:00
Luc Maisonobe
70667484eb
Added a way for user to define tune convergence checking in CMA-ES.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1198839 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 17:47:43 +00:00
Luc Maisonobe
ae22813ab1
Make CMA-ES input sigma is now consistent with boundaries units.
...
JIRA: MATH-702
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1198741 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 14:12:45 +00:00
Sebastien Brisard
7231b6fe8e
Fixed javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1198265 13f79535-47bb-0310-9956-ffa450edef68
2011-11-06 08:36:37 +00:00
Phil Steitz
eed9207e45
Widened tolerance in mean test.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1198205 13f79535-47bb-0310-9956-ffa450edef68
2011-11-06 07:44:17 +00:00
Phil Steitz
1088dfd4cb
Added Sébastien, fixed alpha sort of developers list.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1198183 13f79535-47bb-0310-9956-ffa450edef68
2011-11-06 07:32:46 +00:00
Phil Steitz
93604d744b
Added stable random generator based on Chambers-Mallows-Stuck method. Contributed by Pavel Ryhzov. JIRA: MATH-462.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1198165 13f79535-47bb-0310-9956-ffa450edef68
2011-11-06 07:17:50 +00:00
Phil Steitz
0e8d99d456
Space police.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1198102 13f79535-47bb-0310-9956-ffa450edef68
2011-11-05 22:40:44 +00:00
Phil Steitz
0755c5d8e8
Javadoc improvements.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1198101 13f79535-47bb-0310-9956-ffa450edef68
2011-11-05 22:27:06 +00:00
Phil Steitz
3fe903b7e2
Changed default seeding for MersenneTwister, WELL generators to add system identity hash code. JIRA: MATH-701.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1197896 13f79535-47bb-0310-9956-ffa450edef68
2011-11-05 06:48:12 +00:00
Phil Steitz
5ba1f1c695
Made use of system identity hashcode explicit in seed computation. JIRA: MATH-701.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1197716 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 19:08:47 +00:00
Phil Steitz
e0385f30bf
Changed default non-secure generator to Well19937c and changed default seeds to add system identity haschode to timestamp. JIRA: MATH-701.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1197626 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 16:20:05 +00:00
Sebastian Bazley
6a5a4c8ca0
Unnecessary casts
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1197491 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 10:27:18 +00:00
Sebastian Bazley
3a1a95ff3c
Fix generics
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1197488 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 10:23:14 +00:00
Sebastian Bazley
553f0ec8d8
Cannot inherit without a parent to inherit from
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1197483 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 10:15:01 +00:00
Sebastian Bazley
2a2a74e9d5
Tidy throws clauses
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1197481 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 10:13:15 +00:00
Sebastian Bazley
76a6378464
Unused imports
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1197476 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 10:05:19 +00:00
Sebastian Bazley
60516af98d
Let's not waste semi-colons ...
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1197475 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 10:03:39 +00:00
Sebastian Bazley
010bdd1762
Javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1197474 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 10:02:02 +00:00
Sebastian Bazley
aa27c5dc08
Javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1197470 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 09:58:23 +00:00
Sebastian Bazley
b6040640af
Unnecessary casts
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1197468 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 09:54:30 +00:00
Sebastian Bazley
68d4f832e3
Unnecessary casts
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1197466 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 09:51:11 +00:00