Commit Graph

3733 Commits

Author SHA1 Message Date
Sebastien Brisard d5c397414b Javadoc (MATH-730).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1229048 13f79535-47bb-0310-9956-ffa450edef68
2012-01-09 07:48:27 +00:00
Sebastien Brisard 11d47fb1e5 Javadoc (MATH-730).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1229046 13f79535-47bb-0310-9956-ffa450edef68
2012-01-09 07:38:19 +00:00
Sebastien Brisard 9971405cdf Implementation of uniform distributions (real + integer). See MATH-730. Patch contributed by Dennis Hendriks.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1229042 13f79535-47bb-0310-9956-ffa450edef68
2012-01-09 07:02:08 +00:00
Sebastien Brisard a244c199d4 Updated serialVersionUID. Related to MATH-677.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1227477 13f79535-47bb-0310-9956-ffa450edef68
2012-01-05 04:15:09 +00:00
Sebastien Brisard 74412ef81d Javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1227476 13f79535-47bb-0310-9956-ffa450edef68
2012-01-05 04:09:55 +00:00
Sebastien Brisard 31bbb41c5e Moved
- transform.FastFourierTransformer.scaleArray(Complex[], double)
  - transform.FastFourierTransformer.scaleArray(double[], double)
to newly created class transform.TransformUtils.

Related to MATH-677.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1227475 13f79535-47bb-0310-9956-ffa450edef68
2012-01-05 04:08:18 +00:00
Sebastien Brisard cfe3c4c814 Inlined
- transform.FastFourierTransformer.verifyDataSet(double[])
  - transform.FastFourierTransformer.verifyDataSet(Object[])
to improve readability.

Related to MATH-677.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1227470 13f79535-47bb-0310-9956-ffa450edef68
2012-01-05 03:51:56 +00:00
Sebastien Brisard 0373853862 Moved
transform.FastFourierTransformer.sample(UnivariateFunction, double, double, int)
to
analysis.FunctionUtils.sample(UnivariateFunction, double, double, int)
and created simple unit tests.

Related to MATH-677.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1227468 13f79535-47bb-0310-9956-ffa450edef68
2012-01-05 03:46:47 +00:00
Sebastien Brisard a4d7e7c86d Moved o.a.c.m.transform.FastFourierTransformer.isPowerOf2 to o.a.c.m.util.ArithmeticUtils.isPowerOfTwo (MATH-677).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1227042 13f79535-47bb-0310-9956-ffa450edef68
2012-01-04 03:47:46 +00:00
Sebastien Brisard 7f6912730e Javadoc (MATH-677).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1227015 13f79535-47bb-0310-9956-ffa450edef68
2012-01-04 01:31:23 +00:00
Sebastien Brisard 2689ee367b Removed references to deprecated MathRuntimeException (MATH-677).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1227008 13f79535-47bb-0310-9956-ffa450edef68
2012-01-04 00:57:19 +00:00
Sebastien Brisard 2d16e3fe0a Removed references to deprecated MathRuntimeException (MATH-677).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1226669 13f79535-47bb-0310-9956-ffa450edef68
2012-01-03 06:29:17 +00:00
Sebastien Brisard 4cce3340e8 Removed references to deprecated MathRuntimeException (MATH-677).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1226359 13f79535-47bb-0310-9956-ffa450edef68
2012-01-02 07:19:58 +00:00
Sebastien Brisard a02edcfa96 Reseeded Well1024aTest.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1226096 13f79535-47bb-0310-9956-ffa450edef68
2011-12-31 14:50:14 +00:00
Sebastien Brisard 37d642ec30 Removed references to MathRuntimeException (MATH-677).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1226053 13f79535-47bb-0310-9956-ffa450edef68
2011-12-31 09:38:11 +00:00
Sebastien Brisard a21d5ae301 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@1226041 13f79535-47bb-0310-9956-ffa450edef68
2011-12-31 05:18:48 +00:00
Sebastien Brisard 1f9d49ec71 Dummy commit (take 2, back to normal) to try and understand the problems discussed on the mailing list (see http://mail-archives.apache.org/mod_mbox/commons-dev/201112.mbox/%3CCAGRH7Hp6%3D8htP%2BDArQ_zZOYLUOCzASX%3Dq6%3DkYm%2BVQ_X%2BH8Ew4w%40mail.gmail.com%3E).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1225844 13f79535-47bb-0310-9956-ffa450edef68
2011-12-30 15:21:37 +00:00
Sebastien Brisard 8c895fc74f Dummy commit (take 2) to try and understand the problems discussed on the mailing list (see http://mail-archives.apache.org/mod_mbox/commons-dev/201112.mbox/%3CCAGRH7Hp6%3D8htP%2BDArQ_zZOYLUOCzASX%3Dq6%3DkYm%2BVQ_X%2BH8Ew4w%40mail.gmail.com%3E).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1225843 13f79535-47bb-0310-9956-ffa450edef68
2011-12-30 15:19:44 +00:00
Sebastien Brisard ba117812a2 Dummy commit to try and understand the problems discussed on the mailing list (see http://mail-archives.apache.org/mod_mbox/commons-dev/201112.mbox/%3CCAGRH7Hp6%3D8htP%2BDArQ_zZOYLUOCzASX%3Dq6%3DkYm%2BVQ_X%2BH8Ew4w%40mail.gmail.com%3E).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1225841 13f79535-47bb-0310-9956-ffa450edef68
2011-12-30 15:14:18 +00:00
Sebastien Brisard 99071a0140 Dummy commit to try and understand the problems discussed on the mailing list (see http://mail-archives.apache.org/mod_mbox/commons-dev/201112.mbox/%3CCAGRH7Hp6%3D8htP%2BDArQ_zZOYLUOCzASX%3Dq6%3DkYm%2BVQ_X%2BH8Ew4w%40mail.gmail.com%3E).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1225839 13f79535-47bb-0310-9956-ffa450edef68
2011-12-30 15:11:31 +00:00
Daniel Shahaf 6402f73b91 dummy commit
Trying to commit WeibullDistribution.java using 1.7.0 to harmonia


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1223005 13f79535-47bb-0310-9956-ffa450edef68
2011-12-24 19:30:06 +00:00
Daniel Shahaf 8baf6595b8 dummy commit
Trying to reproduce the error reported on infra@,
using 1.7.0, committing to harmonia

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1223004 13f79535-47bb-0310-9956-ffa450edef68
2011-12-24 19:28:32 +00:00
Phil Steitz 41d74435fa Removed self from team list.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1222748 13f79535-47bb-0310-9956-ffa450edef68
2011-12-23 16:53:57 +00:00
Luc Maisonobe fc28ace114 make sure versions numbers are consistents (will be updated again upon release)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1222601 13f79535-47bb-0310-9956-ffa450edef68
2011-12-23 08:00:02 +00:00
Gilles Sadowski 023edde8d9 Name misspelled.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1221537 13f79535-47bb-0310-9956-ffa450edef68
2011-12-21 00:31:21 +00:00
Phil Steitz f852e1f5ba Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1221507 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 22:38:19 +00:00
Phil Steitz 37a8044ddf Loosen tolerance a little to avoid spurious failure.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1221505 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 22:15:49 +00:00
Phil Steitz 9c8bb93443 Fixed rounding error in RandomDataImpl nextInt, nextLong methods causing lower
endpoints to be excluded when negative. Also improved robustness of nextUniform
for extreme values and changed its contract to throw IAE when provided bounds
are infinite or NaN.

JIRA: MATH-724
Reported and patched by Dennis Hendriks




git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1221490 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 21:07:58 +00:00
Gilles Sadowski 0093f7b0a2 MATH-728
Offset by one bug. Suggested fix provided by Bruce Johnson.
I've added a unit test that exercises the use of more interpolation points;
two previously unexplored code paths are now being traversed.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1221253 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 13:30:29 +00:00
Luc Maisonobe d277738885 Check first step size in embedded Runge-Kutta integrators.
JIRA: MATH-727

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1215524 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 16:55:25 +00:00
Sebastien Brisard ead76ad6ac Further alterations to javadoc (MATH-677).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1214932 13f79535-47bb-0310-9956-ffa450edef68
2011-12-15 19:47:42 +00:00
Sebastien Brisard f8a74e5e56 Alterations to the javadoc (MATH-677).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1214057 13f79535-47bb-0310-9956-ffa450edef68
2011-12-14 05:06:01 +00:00
Sebastien Brisard 789dca850c Correction to the javadoc of distribution.FastCosineTransformer (MATH-677).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1213585 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 07:44:52 +00:00
Sebastien Brisard 99e20606f6 Clarified the javadoc of distribution.FastCosineTransformer (MATH-677).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1213584 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 07:34:57 +00:00
Sebastien Brisard 2b5ec00f0f In transform.FastSineTransformer, replaced the pair transform2() / inverseTransform2() with two factory methods: create() and createOrthogonal() (MATH-677).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1213157 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 07:19:23 +00:00
Sebastien Brisard 1a4b122eef Made constructor of transform.FastCosineTransformer private, as factory methods create() and createOrthogonal() should be preferred (MATH-677).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1213154 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 07:03:29 +00:00
Sebastien Brisard 4f53d73b9f Improvements to the Javadoc of transform.FastCosineTransformer (MATH-677).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1213152 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 06:49:24 +00:00
Sebastien Brisard 69992a098e Improvements to the Javadoc of transform.RealTransformer (MATH-677).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1213151 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 06:46:22 +00:00
Phil Steitz fe1b30b589 Made RandomDataImpl consistently use a Well generator as the default random generator. This completes the fix for JIRA: MATH-701. The inconsistency was reported by Dennis Hendriks in JIRA: MATH-720.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1213130 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 01:31:14 +00:00
Phil Steitz 1352a70f26 Made ISAACRandom clear its normal deviate cache on reseed. JIRA: MATH-723.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1213087 13f79535-47bb-0310-9956-ffa450edef68
2011-12-11 21:58:50 +00:00
Phil Steitz cc7d2ff3ca Modified setSeed methods in Bitstream generators (MersenneTwister and Well
generators) to clear the cache of normal deviates used by nextGaussian.

JIRA: MATH-723


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1213081 13f79535-47bb-0310-9956-ffa450edef68
2011-12-11 21:33:37 +00:00
Gilles Sadowski a51152cc9e MATH-707
Class name change:
  "AbstractUnivariateRealOptimizer" -> "BaseAbstractUnivariateOptimizer"
  "MultiStartUnivariateRealOptimizer" -> "UnivariateMultiStartOptimizer"
  "BaseUnivariateRealOptimizer" -> "BaseUnivariateOptimizer"


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1212385 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 13:00:11 +00:00
Gilles Sadowski e71093b8df MATH-707
Class name change:
  "MultivariateRealOptimizer" -> "MultivariateOptimizer"
  "DifferentiableMultivariateRealOptimizer" -> "DifferentiableMultivariateOptimizer"


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1212377 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 12:42:50 +00:00
Gilles Sadowski 5fef93ec7d MATH-707
Class name change:
  "BaseMultivariateRealOptimizer" -> "BaseMultivariateOptimizer"


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1212373 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 12:35:37 +00:00
Gilles Sadowski 86dcb3c6ce MATH-707
Class name change:
  "BaseAbstractVectorialOptimizer" -> "BaseAbstractMultivariateVectorOptimizer"


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1212371 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 12:28:28 +00:00
Gilles Sadowski 497d025e1e MATH-707
Class name change:
  "MultiStartDifferentiableMultivariateVectorialOptimizer" -> "DifferentiableMultivariateVectorMultiStartOptimizer"
  "DifferentiableMultivariateVectorialOptimizer" -> "DifferentiableMultivariateVectorOptimizer"
  "BaseMultiStartMultivariateVectorialOptimizer" -> "BaseMultivariateVectorMultiStartOptimizer"
  "BaseMultivariateVectorialOptimizer" -> "BaseMultivariateVectorOptimizer"


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1212361 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 12:22:10 +00:00
Gilles Sadowski bb322e8ffb MATH-707
Class name change:
  "MultiStartMultivariateRealOptimizer" -> "MultivariateMultiStartOptimizer"
  "BaseMultiStartMultivariateRealOptimizer" -> "BaseMultivariateMultiStartOptimizer"
  "MultiStartDifferentiableMultivariateRealOptimizer" -> "DifferentiableMultivariateMultiStartOptimizer"


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1212344 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 11:59:23 +00:00
Gilles Sadowski 7e8d270b50 MATH-707
Class name change:
  "BaseAbstractSimpleBoundsScalarOptimizer" -> "BaseAbstractMultivariateSimpleBoundsOptimizer"
  "BaseSimpleBoundsMultivariateRealOptimizer" -> "BaseMultivariateSimpleBoundsOptimizer"


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1212336 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 11:32:40 +00:00
Gilles Sadowski feda20d160 MATH-707
Class name change:
  "BaseAbstractScalarOptimizer" -> "BaseAbstractMultivariateOptimizer"


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1212332 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 11:14:06 +00:00
Sebastien Brisard f4f2b63702 In distribution.FastCosineTransformer, replaced the pair transform2() / inverseTransform2() with two factory methods: create() and createOrthogonal() (MATH-677).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1212262 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 06:47:23 +00:00