Commit Graph

3460 Commits

Author SHA1 Message Date
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
Sebastian Bazley 2cf1ab983b Unused imports
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206653 13f79535-47bb-0310-9956-ffa450edef68
2011-11-27 02:12:44 +00:00
Sebastian Bazley db8154e7a0 Javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206652 13f79535-47bb-0310-9956-ffa450edef68
2011-11-27 02:11:07 +00:00
Sebastian Bazley a59ee687f1 Javadoc syntax
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206651 13f79535-47bb-0310-9956-ffa450edef68
2011-11-27 02:05:13 +00:00
Phil Steitz 325e797341 Eliminated deprecated exception.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206618 13f79535-47bb-0310-9956-ffa450edef68
2011-11-26 21:56:20 +00:00
Phil Steitz d7f3fee311 Eliminated deprecated exception.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206609 13f79535-47bb-0310-9956-ffa450edef68
2011-11-26 21:38:26 +00:00
Phil Steitz dd9c970279 Fixed example to work after impl/interface merge. Fixed a typo. JIRA: MATH-711.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206604 13f79535-47bb-0310-9956-ffa450edef68
2011-11-26 21:33:01 +00:00
Phil Steitz d3570e8ae9 Completed implementation of sample variance support in statistical aggregates. JIRA: MATH-693.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206596 13f79535-47bb-0310-9956-ffa450edef68
2011-11-26 21:23:22 +00:00
Phil Steitz a5949c6f59 Keep math-supplied statistics tied to their internal moments.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206477 13f79535-47bb-0310-9956-ffa450edef68
2011-11-26 16:23:02 +00:00
Phil Steitz 5ee7ecfc4e Added populationVariance method. JIRA: MATH-693.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206475 13f79535-47bb-0310-9956-ffa450edef68
2011-11-26 16:17:14 +00:00
Phil Steitz fcf0477a1a Javadoc only. Clarified how increment works with an external second moment.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206471 13f79535-47bb-0310-9956-ffa450edef68
2011-11-26 16:11:00 +00:00
Sebastien Brisard dbcf7dd622 Merged ZipfDistribution and ZipfDistributionImpl (MATH-711).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206451 13f79535-47bb-0310-9956-ffa450edef68
2011-11-26 14:58:07 +00:00
Sebastien Brisard d161d473bb Merged PoissonDistribution and PoissonDistributionImpl (MATH-711).
Merged TDistribution and TDistributionImpl (MATH-711).
Merged WeibullDistribution and WeibullDistributionImpl (MATH-711).

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206434 13f79535-47bb-0310-9956-ffa450edef68
2011-11-26 13:23:27 +00:00
Gilles Sadowski fda34e0376 Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206430 13f79535-47bb-0310-9956-ffa450edef68
2011-11-26 12:01:58 +00:00
Sebastien Brisard 3b94e30307 Merged KolmogorovSmirnovDistribution and KolmogorovSmirnovDistributionImpl (MATH-711).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206425 13f79535-47bb-0310-9956-ffa450edef68
2011-11-26 10:53:26 +00:00
Sebastien Brisard 3f9a933d4c Merged NormalDistribution and NormalDistributionImpl (MATH-711).
Merged PascalDistribution and PascalDistributionImpl (MATH-711).

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206421 13f79535-47bb-0310-9956-ffa450edef68
2011-11-26 10:17:49 +00:00
Sebastien Brisard ca7a127a14 Merged HypergeometricDistribution and HypergeometricDistributionImpl (MATH-711).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206406 13f79535-47bb-0310-9956-ffa450edef68
2011-11-26 07:25:26 +00:00
Sebastien Brisard 32354a1039 - Merged ExponentialDistribution and ExponentialDistributionImpl (MATH-711).
- Merged FDistribution and FDistributionImpl (MATH-711).
- Merged GammaDistribution and GammaDistributionImpl (MATH-711).

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206399 13f79535-47bb-0310-9956-ffa450edef68
2011-11-26 06:17:49 +00:00
Gilles Sadowski a050013f44 MATH-689
Implemented "copySign" for integral types. Removed redundant "indicator"
functions.
Moved "indicator" tests (for floating point arguments) to "FastMathTest",
as the corresponding "copySign" methods are in "FastMath".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206274 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 18:02:21 +00:00
Gilles Sadowski ec5d9d3772 MATH-689
Moved "pow" (integer arguments) to "ArithmeticUtils".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206199 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 14:48:54 +00:00
Sebastien Brisard 80ddc491f1 Renamed ChiSquareDistributionTest to ChiSquaredDistributionTest for consistency with the name of the actual class being tested.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206062 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 06:20:21 +00:00
Sebastien Brisard 776514240d Merged ChiSquaredDistribution and ChiSquaredDistributionImpl (MATH-711).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206060 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 05:16:56 +00:00
Sebastien Brisard 20d9eb1a5d Merged CauchyDistribution and CauchyDistributionImpl (MATH-711).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1206053 13f79535-47bb-0310-9956-ffa450edef68
2011-11-25 04:09:05 +00:00
Sebastien Brisard a0817f428e Merged BinomialDistribution and BinomialDistributionImpl (MATH-711).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1205963 13f79535-47bb-0310-9956-ffa450edef68
2011-11-24 19:37:34 +00:00