Commit Graph

4652 Commits

Author SHA1 Message Date
Luc Maisonobe 3ffdf6246a Set up array building methods for generic types.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1449528 13f79535-47bb-0310-9956-ffa450edef68
2013-02-24 19:06:20 +00:00
Luc Maisonobe 8dd9f830ad Added a conversion from RotationDS to Rotation.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1447753 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 15:07:04 +00:00
Luc Maisonobe fc277966a7 Typo.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1447752 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 15:06:43 +00:00
Luc Maisonobe b1a4e8f2f9 Added partial derivatives computation for 3D vectors and rotations.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1447263 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 13:58:21 +00:00
Luc Maisonobe 2962744c71 Improved test coverage.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1447260 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 13:57:23 +00:00
Luc Maisonobe 74806d2e06 Improved test coverage.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1447259 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 13:56:39 +00:00
Luc Maisonobe 48dde3784e Fixed DerivativeStructure.atan2 for special cases when both arguments
are +/-0.

JIRA: MATH-935

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1446473 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 08:20:11 +00:00
Luc Maisonobe 2edd83f5f5 Added tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1446242 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 15:38:55 +00:00
Luc Maisonobe ef76ef299e Added accurate linear combinations for DerivativeStructure instances.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1446210 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 14:43:15 +00:00
Thomas Neidhart 81eddba084 Remove trailing space.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1444500 13f79535-47bb-0310-9956-ffa450edef68
2013-02-10 08:10:40 +00:00
Gilles Sadowski 0b24467e5f MATH-933
Throw exception from optimizers that do not support simple bounds.
Changing visibility of "parseOptimizationData" method to "protected" in order
to allow the parent class to parse its data before the subclass (and thus
providing more flexibility: the subclass is able check input consistency at
the options parsing step).


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1443444 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 12:41:36 +00:00
Luc Maisonobe 3e53d40794 Fix typo and avoid computing an unused element.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1443364 13f79535-47bb-0310-9956-ffa450edef68
2013-02-07 09:28:04 +00:00
Luc Maisonobe 23083ae26e Added conversion of gradients and Hessians from spherical to Cartesian
coordinates in 3D.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1443178 13f79535-47bb-0310-9956-ffa450edef68
2013-02-06 20:08:33 +00:00
Gilles Sadowski 90e428ddac MATH-933
Throw exception when bounds are passed to an algorithm that does not
support them.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1442377 13f79535-47bb-0310-9956-ffa450edef68
2013-02-04 21:31:42 +00:00
Gilles Sadowski 8204809676 MATH-931
Efficiency improvement and unit test (thanks to Sean Owen).


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1440734 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 23:27:41 +00:00
Sebastian Bazley 92ed793e3e developed by => developed at
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1440692 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 21:43:00 +00:00
Gary D. Gregory 95a6da2a68 JUnit 3 -> 4: replace import of junit.framework.Assert with org.junit.Assert.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1437541 13f79535-47bb-0310-9956-ffa450edef68
2013-01-23 16:25:05 +00:00
Thomas Neidhart 0c0822d658 [MATH-930] Add new constructors to override the hard-coded cut-off value, further improve javadoc and update failing unit test.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1435810 13f79535-47bb-0310-9956-ffa450edef68
2013-01-20 10:04:45 +00:00
Thomas Neidhart 573c806be0 [MATH-930] Updated changes.xml, added unit test.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1435546 13f79535-47bb-0310-9956-ffa450edef68
2013-01-19 13:44:41 +00:00
Thomas Neidhart 95650f86eb [MATH-930] Add info the class javadoc wrt convergence criteria, add another ctor to only adjust the epsilon value.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1435544 13f79535-47bb-0310-9956-ffa450edef68
2013-01-19 13:40:09 +00:00
Thomas Neidhart 08e227ad3a Add missing svn:keywords properties.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1435539 13f79535-47bb-0310-9956-ffa450edef68
2013-01-19 13:27:24 +00:00
Olivier Lamy d77c3d456a configure svnpubsub
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1434931 13f79535-47bb-0310-9956-ffa450edef68
2013-01-17 22:02:44 +00:00
Gilles Sadowski cedf0d27f9 MATH-929
Fixed truncated value. Thanks to Piotr Wydrych.
Added unit test: comparing density values with univariate
normal distribution.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1433367 13f79535-47bb-0310-9956-ffa450edef68
2013-01-15 12:15:50 +00:00
Gilles Sadowski fea4dd914b Updated "changes.xml".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1432683 13f79535-47bb-0310-9956-ffa450edef68
2013-01-13 18:03:48 +00:00
Phil Steitz 5f0e374d4f Replaced reference to deleted class.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1432656 13f79535-47bb-0310-9956-ffa450edef68
2013-01-13 16:53:12 +00:00
Phil Steitz a70f833db4 Fixed error (reference to deleted class); added factory method example.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1432652 13f79535-47bb-0310-9956-ffa450edef68
2013-01-13 16:24:06 +00:00
Gilles Sadowski cdb5465b86 Document update.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1432412 13f79535-47bb-0310-9956-ffa450edef68
2013-01-12 12:02:15 +00:00
Gilles Sadowski 124d57aaa6 Copyright.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1431220 13f79535-47bb-0310-9956-ffa450edef68
2013-01-10 09:22:03 +00:00
Gilles Sadowski 6455041212 Preparing release 3.1.1.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1430927 13f79535-47bb-0310-9956-ffa450edef68
2013-01-09 16:09:07 +00:00
Gilles Sadowski 7f4375fcbd Preparing release 3.1.1.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1430864 13f79535-47bb-0310-9956-ffa450edef68
2013-01-09 13:56:21 +00:00
Gilles Sadowski d2999aa660 Preparing release 3.1.1.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1430849 13f79535-47bb-0310-9956-ffa450edef68
2013-01-09 13:37:50 +00:00
Gilles Sadowski 7fd57f3158 Unused variable.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1430847 13f79535-47bb-0310-9956-ffa450edef68
2013-01-09 13:18:36 +00:00
Gilles Sadowski 7096b9b24e Unit tests for "DiagonalMatrix".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1430846 13f79535-47bb-0310-9956-ffa450edef68
2013-01-09 13:17:59 +00:00
Gilles Sadowski c4243e1103 Fixed "CheckStyle" warnings.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1430845 13f79535-47bb-0310-9956-ffa450edef68
2013-01-09 13:17:08 +00:00
Sebastian Bazley 2182ea5442 Remove obsolete comment (override no longer needed)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1429658 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 03:32:12 +00:00
Gilles Sadowski 27ab6fab60 MATH-876
Clean solution provided by Niall Pemberton.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1429607 13f79535-47bb-0310-9956-ffa450edef68
2013-01-06 22:47:56 +00:00
Gilles Sadowski 185e3033ef MATH-927
Made "BitsStreamGenerator" class "Serializable" to allow cloning of
subclasses. Added cloning test for all "RealDistribution" classes.
Thanks to Dennis Hendriks.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1428822 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 12:28:44 +00:00
Gilles Sadowski 42673df5b7 Added Jared Becksfort in the contributors list.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1428271 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 10:43:24 +00:00
Gilles Sadowski 216497d772 MATH-925
Added "final" keyword.
Removed degenerate case (matrix with no data).
Used constructor chaining.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1427276 13f79535-47bb-0310-9956-ffa450edef68
2013-01-01 01:41:09 +00:00
Gilles Sadowski a9dfc11f1d Added a "Latest API" link to the site template (as suggested by Phil
on the ML).


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1427112 13f79535-47bb-0310-9956-ffa450edef68
2012-12-31 12:54:58 +00:00
Phil Steitz 59c8371ba1 Dropped extraneous javadoc @param.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1427046 13f79535-47bb-0310-9956-ffa450edef68
2012-12-31 04:43:29 +00:00
Gilles Sadowski 8bdb73e3e0 Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1427025 13f79535-47bb-0310-9956-ffa450edef68
2012-12-31 00:30:27 +00:00
Phil Steitz 6c8aaf0318 Updated download page template to match deployed site.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1426998 13f79535-47bb-0310-9956-ffa450edef68
2012-12-30 21:51:11 +00:00
Phil Steitz 60510d27f5 Documented commons.componentid ambiguiity and workaround.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1426997 13f79535-47bb-0310-9956-ffa450edef68
2012-12-30 21:50:11 +00:00
Gilles Sadowski 2836a6f9ef MATH-924
Avoid memory exhaustion for large number of unclorrelated observations.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1426759 13f79535-47bb-0310-9956-ffa450edef68
2012-12-29 13:26:44 +00:00
Gilles Sadowski b07ecae3d6 MATH-924
Using a diagonal matrix to avoid exhausting memory.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1426758 13f79535-47bb-0310-9956-ffa450edef68
2012-12-29 13:16:17 +00:00
Gilles Sadowski ace42058d6 MATH-925
Minimal implementation of a diagonal matrix. Unit tests are lacking.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1426757 13f79535-47bb-0310-9956-ffa450edef68
2012-12-29 13:11:51 +00:00
Luc Maisonobe ed39d2dbe2 reverting commit introduced in r1426616
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1426751 13f79535-47bb-0310-9956-ffa450edef68
2012-12-29 12:10:52 +00:00
Luc Maisonobe 250cf6e366 Added vector-only weights for multivariate vector optimizers.
JIRA: MATH-924

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1426616 13f79535-47bb-0310-9956-ffa450edef68
2012-12-28 20:16:38 +00:00
Phil Steitz c7cfb66633 Changed ValueServer tests to use fixed random seed.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1425978 13f79535-47bb-0310-9956-ffa450edef68
2012-12-26 18:19:30 +00:00