Commit Graph

3382 Commits

Author SHA1 Message Date
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
Sebastian Bazley 2ea244d3f1 Unused imports
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1197465 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 09:49:50 +00:00
Sebastian Bazley 177eff33cb Missing @Override
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1197464 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 09:49:06 +00:00
Sebastian Bazley 012c767987 Missing @Override
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1197463 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 09:48:27 +00:00
Sebastian Bazley 1be528669f Missing @Deprecated
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1197460 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 09:44:04 +00:00
Gilles Sadowski f250d5eb90 Typo.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1197085 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 12:48:56 +00:00
Sebastien Brisard 984ff74f4b Fixed Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1196935 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 04:02:03 +00:00
Gilles Sadowski 10013c4eea Naming of variable.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1196553 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 12:07:53 +00:00
Luc Maisonobe 9824f20965 Fixed a typo in variable name leading it to be ignored.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1196521 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 09:36:14 +00:00
Gilles Sadowski 5771d38200 MATH-698
Bounds passed as arguments in "optimize" method.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1194989 13f79535-47bb-0310-9956-ffa450edef68
2011-10-29 19:35:36 +00:00
Gilles Sadowski 3ea635a01c Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1194966 13f79535-47bb-0310-9956-ffa450edef68
2011-10-29 18:30:41 +00:00
Gilles Sadowski d8e1809529 MATH-697
Fixed bug in check that the initial value is within bounds.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1194874 13f79535-47bb-0310-9956-ffa450edef68
2011-10-29 11:19:30 +00:00
Gilles Sadowski aecf3993c4 MATH-697
Check that the given starting point is within the bounds.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1190686 13f79535-47bb-0310-9956-ffa450edef68
2011-10-28 23:54:32 +00:00
Gilles Sadowski ae42622ff0 MATH-697
Added consistency check on array sizes.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1190665 13f79535-47bb-0310-9956-ffa450edef68
2011-10-28 23:12:58 +00:00
Gilles Sadowski eb3e19b460 Javadoc and code formatting.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1190657 13f79535-47bb-0310-9956-ffa450edef68
2011-10-28 23:03:16 +00:00
Gilles Sadowski 481e8c1729 MATH-697
Added "optimize" method to allow passing simple bounds.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1190556 13f79535-47bb-0310-9956-ffa450edef68
2011-10-28 20:44:09 +00:00
Gilles Sadowski f7be1dc6ac MATH-413
Removed "setConvergenceChecker"; convergence checker is passed at construction.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1189750 13f79535-47bb-0310-9956-ffa450edef68
2011-10-27 13:34:08 +00:00
Gilles Sadowski 41df7f7f3e Code formatting.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1189695 13f79535-47bb-0310-9956-ffa450edef68
2011-10-27 09:59:34 +00:00
Gilles Sadowski b91a448a9f Code and Javadoc formatting.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1189694 13f79535-47bb-0310-9956-ffa450edef68
2011-10-27 09:53:01 +00:00
Phil Steitz 3a7d733976 Moved "SAFE_MIN" and "EPSILON" from "MathUtils" to "Precision."
JIRA: MATH-689
(Committing on behalf of erans)


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1189593 13f79535-47bb-0310-9956-ffa450edef68
2011-10-27 03:11:54 +00:00
Phil Steitz 2f10501e0a Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1189563 13f79535-47bb-0310-9956-ffa450edef68
2011-10-27 00:43:47 +00:00
Phil Steitz 39970a520e Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1189499 13f79535-47bb-0310-9956-ffa450edef68
2011-10-26 22:05:03 +00:00
Luc Maisonobe 7980a24266 Fixed an event resetting issue in ODE.
When several discrete events occur during the same ODE integration step,
they are handled chronologically or reverse chronologically depending on
the integration direction. If one of the event truncates the step (for
example because its eventOccurred method returns RESET or
RESET_DERIVATIVES for example), the stepAccepted method of the pending
events later in the step were not called. This implied that in the next
step, these events were still referring to data from previous step, they
had lost synchronization with the integrator.

JIRA: MATH-695

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1189086 13f79535-47bb-0310-9956-ffa450edef68
2011-10-26 09:08:22 +00:00
Gilles Sadowski 3e6a882070 MATH-689
Method "log(double base, double x)" moved from "MathUtils" to "FastMath".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1188949 13f79535-47bb-0310-9956-ffa450edef68
2011-10-25 22:26:59 +00:00
Gilles Sadowski 6ed1d06677 MATH-696
Default implementation for "addToEntry" and "multiplyEntry".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1188941 13f79535-47bb-0310-9956-ffa450edef68
2011-10-25 21:57:15 +00:00
Gilles Sadowski d0be1f663e MATH-689
Moved "round" methods over to class "Precision".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1188915 13f79535-47bb-0310-9956-ffa450edef68
2011-10-25 21:16:46 +00:00
Gilles Sadowski 597b0209e9 MATH-621
Javadoc.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1188614 13f79535-47bb-0310-9956-ffa450edef68
2011-10-25 11:31:39 +00:00
Sebastien Brisard a9cf068da8 1. Minor changes to Javadoc of SYMMLQ implementation, following Pr. M. A. Saunders review.
2. Added Michael Saunders as a contributor in the POM.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1188549 13f79535-47bb-0310-9956-ffa450edef68
2011-10-25 07:37:08 +00:00
Gilles Sadowski 9ca170c67f MATH-621
Several variables (passed around as function arguments but changed in-place)
replaced by instance fields.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1188383 13f79535-47bb-0310-9956-ffa450edef68
2011-10-24 21:09:32 +00:00
Sebastien Brisard bf6a142540 Fixed SVN properties
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1187709 13f79535-47bb-0310-9956-ffa450edef68
2011-10-22 13:01:07 +00:00