3505 Commits

Author SHA1 Message Date
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
Sebastien Brisard
50ab4b74b2 Cosmetic changes to transform.FastFourierTransformer (MATH-677).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1212260 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 06:45:09 +00:00
Sebastien Brisard
c631e5980e Forgot to commit updated unit tests in rev 1211318 (MATH-677).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1211319 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 07:39:22 +00:00
Sebastien Brisard
e967bbf8df In package transform, replaced FastFourierTransformer.transform2 and FastFourierTransformer.inverseTransform2 with a combination of transform()/inverseTransform(), combined with appropriate factory methods (MATH-677).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1211318 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 07:35:09 +00:00
Sebastien Brisard
e994c42a8e In distribution.AbstractRealDistribution.inverseCumulativeProbability(double), boundary cases (p == 0 and p == 1) are now handled correctly: concrete instances no longer need to override this method, which is removed (MATH-699).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1210756 13f79535-47bb-0310-9956-ffa450edef68
2011-12-06 02:57:46 +00:00
Sebastien Brisard
d45a10927e - Corrected unit test (MATH-715).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1210365 13f79535-47bb-0310-9956-ffa450edef68
2011-12-05 09:01:14 +00:00
Sebastien Brisard
eba07dbc4e - Corrected expressions for mean and variance in distribution.PascalDistribution (MATH-715).
- Made javadoc more explicit
- Restored SVN properties to various files in package distribution.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1210359 13f79535-47bb-0310-9956-ffa450edef68
2011-12-05 08:15:38 +00:00
Sebastien Brisard
f880c83e06 - In distribution.AbstractRealDistribution, removed superfluous methods getDomainLowerBound(double), getDomainUpperBound(double) and getInitialDomain(double p) (MATH-699).
- Resolved checkstyle issues in the distribution package.
- Improved Javadoc of RealDistribution.getSupportLowerBound(), RealDistribution.getSupportUpperBound() and AbstractRealDistribution.inverseCumulativeDistribution(double).

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1209963 13f79535-47bb-0310-9956-ffa450edef68
2011-12-03 18:23:02 +00:00
Sebastien Brisard
b2e24119bc New implementation of AbstractRealDistribution.inverseCumulativeProbability(double). Solves MATH-699, and leads to slightly smaller execution times.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1209942 13f79535-47bb-0310-9956-ffa450edef68
2011-12-03 16:24:55 +00:00
Sebastien Brisard
02d7cea111 Patch contributed by Christian Winter (MATH-703).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1209836 13f79535-47bb-0310-9956-ffa450edef68
2011-12-03 06:17:19 +00:00
Luc Maisonobe
faa7785779 Fixed bracketing interval balancing in BracketingNthOrderBrentSolver.
Jira: MATH-716

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1209307 13f79535-47bb-0310-9956-ffa450edef68
2011-12-01 23:24:36 +00:00
Luc Maisonobe
b241c3962f Removed remnants of junit 3.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1209247 13f79535-47bb-0310-9956-ffa450edef68
2011-12-01 21:20:47 +00:00
Luc Maisonobe
fa73f3c50f Updated patch from original contributor.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1209198 13f79535-47bb-0310-9956-ffa450edef68
2011-12-01 19:21:11 +00:00
Gilles Sadowski
5af9537a5f Added a few unit tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1209119 13f79535-47bb-0310-9956-ffa450edef68
2011-12-01 15:25:19 +00:00
Gilles Sadowski
ee2e728f63 MATH-690
[I forgot to commit those modified tests as part of r1209100.]


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1209118 13f79535-47bb-0310-9956-ffa450edef68
2011-12-01 15:22:50 +00:00
Gilles Sadowski
9f5c76483b Release doc update.
(MATH-689 resolved with the help of Sébastien Brisard).


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1209108 13f79535-47bb-0310-9956-ffa450edef68
2011-12-01 14:45:40 +00:00
Gilles Sadowski
ff7fc3df88 Removed unnecessary call to base class' default constructor.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1209105 13f79535-47bb-0310-9956-ffa450edef68
2011-12-01 14:36:50 +00:00
Gilles Sadowski
7455d9b7d6 MATH-690
Removed "sign" methods.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1209100 13f79535-47bb-0310-9956-ffa450edef68
2011-12-01 14:22:00 +00:00
Gilles Sadowski
149e1179d3 MATH-690
Replaced "sign" with "copySign".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1209082 13f79535-47bb-0310-9956-ffa450edef68
2011-12-01 13:55:04 +00:00
Gilles Sadowski
5922c5966b Javadoc cleanup.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1209080 13f79535-47bb-0310-9956-ffa450edef68
2011-12-01 13:53:28 +00:00
Sebastien Brisard
412e59c286 Improved (?) javadoc (MATH-677).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1208986 13f79535-47bb-0310-9956-ffa450edef68
2011-12-01 07:43:03 +00:00
Sebastien Brisard
56c8f7ba91 Formatting (MATH-677).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1208949 13f79535-47bb-0310-9956-ffa450edef68
2011-12-01 04:27:49 +00:00
Sebastien Brisard
c39cd6eefd Formatting (MATH-677).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1208945 13f79535-47bb-0310-9956-ffa450edef68
2011-12-01 03:45:40 +00:00
Sebastien Brisard
f2fd86eded Formatting (MATH-677).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1208944 13f79535-47bb-0310-9956-ffa450edef68
2011-12-01 03:44:33 +00:00
Sebastien Brisard
f19895754d Formatting (MATH-677).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1208943 13f79535-47bb-0310-9956-ffa450edef68
2011-12-01 03:39:25 +00:00
Sebastien Brisard
5e2504bbb2 Formatting (MATH-677).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1208942 13f79535-47bb-0310-9956-ffa450edef68
2011-12-01 03:37:02 +00:00
Sebastien Brisard
31d0c4eff6 Formatting (MATH-677).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1208309 13f79535-47bb-0310-9956-ffa450edef68
2011-11-30 07:22:28 +00:00
Sebastien Brisard
b7c7b8934a Formatting (MATH-677).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1208295 13f79535-47bb-0310-9956-ffa450edef68
2011-11-30 06:43:50 +00:00
Sebastien Brisard
196fa5d58b Corrected to camelCase some method names (MATH-677).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1208293 13f79535-47bb-0310-9956-ffa450edef68
2011-11-30 06:33:57 +00:00