Commit Graph

3733 Commits

Author SHA1 Message Date
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
Phil Steitz 3f645310b5 Fixed array indexing error in Variance evaluate method for
computing the weighted variance of an array segment.

JIRA: MATH-704
Reported by Leonid Ilyevsky
Patched by Thomas Niedhart



git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1208291 13f79535-47bb-0310-9956-ffa450edef68
2011-11-30 06:24:04 +00:00
Luc Maisonobe d099c7c343 Updated tests and documentation for Kalman filter.
Patch provided by Thomas Neidhart.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1208043 13f79535-47bb-0310-9956-ffa450edef68
2011-11-29 19:36:52 +00:00
Luc Maisonobe d8e892a21f Fixed ignored scale in penalty function adapter for direct optimizers.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1208041 13f79535-47bb-0310-9956-ffa450edef68
2011-11-29 19:35:40 +00:00
Gilles Sadowski cee29030d0 MATH-707
Changed "...UnivariateVectorialFunction" to "...UnivariateVectorFunction"
(as suggested by Ted Dunning).



git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1207675 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 22:51:34 +00:00
Gilles Sadowski 9c1e515346 MATH-707
Changed "...MultivariateVectorialFunction" to "...MultivariateVectorFunction"
(as suggested by Ted Dunning).


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1207671 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 22:41:41 +00:00
Luc Maisonobe f656676e3a Fixed case of unconstrained variables that still occur in the objective
function in simplex solver.

Patch provided by Thomas Neidhart

Jira: MATH-713

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1207566 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 20:16:28 +00:00
Luc Maisonobe f14fdb5447 Added fast cryptographically secure pseudorandom number generator ISAAC.
Patch provided by Eldar Agalarov.

JIRA: MATH-710

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1207554 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 20:00:14 +00:00
Luc Maisonobe 399249653d Added the initi method also to FixedStepHandler.
Jira: MATH-714

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1207066 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 10:56:30 +00:00
Luc Maisonobe 6041336783 Added init methods to StepHandler and EventHandler interfaces.
The reset method in StepHandler interface has been renamed init and is
provided more information on the integration by the calling integrator.
A similar init method has been added to the EventHandler interface.

Jira: MATH-714

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1207054 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 10:20:51 +00:00
Gilles Sadowski b789d44c4c MATH-707
Changed "...MultivariateRealFunction" to "...MultivariateFunction".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206889 13f79535-47bb-0310-9956-ffa450edef68
2011-11-27 22:39:54 +00:00
Gilles Sadowski 306130bb5f MATH-707
Changed "...UnivariateRealFunction" to "...UnivariateFunction".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206867 13f79535-47bb-0310-9956-ffa450edef68
2011-11-27 22:18:30 +00:00
Phil Steitz 9436a01c54 Minor edit to description of MATH-649; made it an update, not a fix.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206845 13f79535-47bb-0310-9956-ffa450edef68
2011-11-27 21:21:14 +00:00
Phil Steitz bfa2d3ca3f Javadoc, test improvements, user guide update. JIRA: MATH-649.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206838 13f79535-47bb-0310-9956-ffa450edef68
2011-11-27 20:35:16 +00:00
Luc Maisonobe d288f33f70 Improved documentation about function adapters for optimizers.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206821 13f79535-47bb-0310-9956-ffa450edef68
2011-11-27 20:15:35 +00:00
Luc Maisonobe fa98123083 Removed spurious false comment.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206818 13f79535-47bb-0310-9956-ffa450edef68
2011-11-27 20:00:14 +00:00
Luc Maisonobe c40763f0c7 Improved accuracy of Runge-Kutta based step interpolators near step
start.

JIRA: MATH-705

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206723 13f79535-47bb-0310-9956-ffa450edef68
2011-11-27 14:32:00 +00:00
Phil Steitz 2b6b5bedbb Restored 1.5 compatatibility. Thanks, Gump.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206672 13f79535-47bb-0310-9956-ffa450edef68
2011-11-27 07:07:56 +00:00
Phil Steitz f4e3854e2f Added test to verify that all statistics evaluate on array segments correctly. JIRA: MATH-704.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206668 13f79535-47bb-0310-9956-ffa450edef68
2011-11-27 06:00:27 +00:00
Phil Steitz 118f0cc085 Fixed errors in SummaryStatistics causing overriden statistics not to be updated if the supplied impls are commons-math classes. JIRA: MATH-691.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206666 13f79535-47bb-0310-9956-ffa450edef68
2011-11-27 05:20:09 +00:00
Phil Steitz 92790191d0 Corrected changelog.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206664 13f79535-47bb-0310-9956-ffa450edef68
2011-11-27 04:07:06 +00:00
Phil Steitz df95ffdc24 Made moment statistics package scope. JIRA: MATH-694.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206658 13f79535-47bb-0310-9956-ffa450edef68
2011-11-27 03:15:46 +00:00
Sebastian Bazley 094ea7e70f Unnecessary casts (parameters already of correct type)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206655 13f79535-47bb-0310-9956-ffa450edef68
2011-11-27 02:23:39 +00:00