Commit Graph

1918 Commits

Author SHA1 Message Date
Luc Maisonobe 2194603459 improved test coverage
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@797792 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 16:41:58 +00:00
Luc Maisonobe cfd7b30418 improved test coverage
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@797791 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 16:26:23 +00:00
Luc Maisonobe afb42aaf58 improved test coverage
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@797790 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 16:21:52 +00:00
Luc Maisonobe 1a7da0d08a removed unused function
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@797789 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 16:18:17 +00:00
Luc Maisonobe cc245b6568 added tests for recent changes
improved coverage

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@797787 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 16:14:42 +00:00
Luc Maisonobe 270d18280c make sure at least one run in the multistart univariate optimizer uses the complete search domain
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@797786 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 16:13:55 +00:00
Luc Maisonobe 4e2dd4df1f fixed an error in multistart univariate optimizer:
the optima found were sorted according to the independant variable x,
not according to the function value y

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@797785 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 16:12:25 +00:00
Luc Maisonobe 48d014dac1 limited accuracy of numbers in string comparisons
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@797744 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 11:09:14 +00:00
Luc Maisonobe 00589c9975 improved test coverage
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@797742 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 10:58:56 +00:00
Luc Maisonobe 648a02f0b4 the new base class does not call setSeed,
defensive programming against too early calls to setSeed are not useful anymore

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@797246 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 22:21:46 +00:00
Luc Maisonobe 441880be46 removed a javadoc paragraph that is not true anymore
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@797237 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 21:44:55 +00:00
Luc Maisonobe 257578b72b improved test coverage
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@796553 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 21:54:47 +00:00
Luc Maisonobe 0c2dd848f7 fixed javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@796552 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 21:51:30 +00:00
Luc Maisonobe f42fe54595 added an implementation of the Mersenne twister pseudo random number generator
the implementation comes from Mantissa and was a translation of the 2002 version
in C by the algorithm authors, which was published under a BSD license

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@796546 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 21:38:55 +00:00
Luc Maisonobe c705d93e2b added a base class for bits streams based modern pseudo random generators
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@796545 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 21:33:31 +00:00
Luc Maisonobe 05d4f8539c added new seeding methods for random generators
this will allow implementing some modern and efficient generators
that require a lots of bits for seeding in the form of complete integer arrays

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@796543 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 21:32:38 +00:00
Luc Maisonobe 5fd4a00932 improved test coverage
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@796040 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 22:01:30 +00:00
Luc Maisonobe b6d4e8649a fixed an index error triggering ArrayIndexOutOfBoundException for an add after a clear
if size has grown

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@796021 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 21:27:12 +00:00
Luc Maisonobe 36e2a9ee50 added tests for the synchronized version of multivariate summary statistics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@796004 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 20:52:52 +00:00
Luc Maisonobe be3c1e1170 delegate creation of tested class to a factory so that the derived class
SynchronizedDescriptiveStatisticsTest can override it and ... really test
SynchronizedDescriptiveStatistics

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@796003 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 20:51:56 +00:00
Luc Maisonobe 7b6cd406a2 improved test coverage
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795996 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 20:29:07 +00:00
Luc Maisonobe 9d5d0da39b checked serialization of TransformerMap and added a test for it
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795994 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 20:23:47 +00:00
Luc Maisonobe bf740630ae checked serialization of EuclideanIntegerPoint and added a tests suite for the class
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795984 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 20:13:24 +00:00
Luc Maisonobe 4cf9d99208 optimizers should not be serializable
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795978 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 19:57:08 +00:00
Luc Maisonobe 77b5519151 checked serialization of DefaultTransformer and added a test for it
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795975 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 19:50:12 +00:00
Luc Maisonobe d7f7b629b8 removed automatically generated TODO comment
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795974 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 19:35:35 +00:00
Luc Maisonobe 6135415f31 convergence checkers should not be serializable
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795972 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 19:34:06 +00:00
Luc Maisonobe cb545b5bc0 checked serialization of BigReal and added a tests suite for the class
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795963 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 19:23:43 +00:00
Luc Maisonobe ac01fdfb7a handle serialization of BigRealField (which is a singleton) properly and test it
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795912 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 16:51:09 +00:00
Luc Maisonobe 04749a6a81 handle serialization of ComplexField (which is a singleton) properly and test it
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795911 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 16:48:30 +00:00
Luc Maisonobe 417766430e handle serialization of FractionField (which is a singleton) properly and test it
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795909 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 16:45:08 +00:00
Luc Maisonobe fbd46106cb handle serialization of BigFractionField (which is a singleton) properly and test it
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795908 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 16:42:55 +00:00
Luc Maisonobe 9c7a059486 removed TODO item: the solvers tests are quite different, an abstract test class seems overkill here
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795904 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 16:32:34 +00:00
Luc Maisonobe 3c186cacbb added test for Fraction serialization
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795903 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 16:29:46 +00:00
Luc Maisonobe d1d32776df added test for BigFraction serialization
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795900 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 16:27:45 +00:00
Luc Maisonobe 56b70eb138 added new tests for multistart optimizers
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795608 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 20:05:34 +00:00
Luc Maisonobe 28bb294968 changing multistart behaviour to rely on search domain boundary rather than on start point
the only implementation of the raw minimizer ignores the start point so the multistart optimizer always found the same point before the change

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795607 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 20:04:56 +00:00
Luc Maisonobe a10238de1d updated plugins to latest version
(except cobertura for now because version 2.3 triggers a strange error in MathUtils)

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795601 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 19:34:14 +00:00
Luc Maisonobe 40cfef3b2a moved velocity template to a default directory where the maven-changes-plugin look for it
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795599 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 19:29:40 +00:00
Luc Maisonobe f71a6ee1e9 fixed an error identified by findbugs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795591 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 18:36:46 +00:00
Luc Maisonobe 3838e1fceb fixed an exclusion rule after an API change some time ago
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795590 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 18:35:43 +00:00
Luc Maisonobe dfc9f5705d removed obsolete files
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795586 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 18:23:21 +00:00
Luc Maisonobe 5aefb611dd added Apache header to some files that didn't have it
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795585 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 18:22:53 +00:00
Luc Maisonobe 9b9a7cab36 fixed typo
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795572 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 16:48:36 +00:00
Luc Maisonobe 3e2417648d first attempt at release notes for 2.0
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795571 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 16:47:56 +00:00
Luc Maisonobe 8c75ef6f16 fixed a change entry after several layer of changes have occurred
to avoid confusing users

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795570 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 16:47:21 +00:00
Phil Steitz acb0019f8a Added release notes velocity template.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795545 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 14:13:31 +00:00
Luc Maisonobe 8717704d9a Changed the default max growth factor for multistep methods using Nordsieck representation.
The previous value (10.0) was far too big and lead to numerical instability at high orders
because the last component of the Nordsieck vector, which has a low accuracy, could be
multiplied by 10^k which was ... huge.

These integrators are at least usable now!

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795407 13f79535-47bb-0310-9956-ffa450edef68
2009-07-18 18:21:36 +00:00
Luc Maisonobe 56a4d632c5 Changed the return type of the various interpolation algorithms to the
specific implementation of UnivariateRealFunction each one uses
(thanks to Gilles for reporting the problem and providing the patch)


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@794709 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 15:09:02 +00:00
Phil Steitz 3addbb3243 Added AggregateSummaryStatistics.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@794492 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 02:06:59 +00:00