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
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