Commit Graph

2696 Commits

Author SHA1 Message Date
Luc Maisonobe 31ca64cfa8 fixed @since comment, the class was added in 2.2 not in 2.1
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1073167 13f79535-47bb-0310-9956-ffa450edef68
2011-02-21 22:07:51 +00:00
Sebastian Bazley 1cc75e8fa5 Update to JUnit 4.8.2
Avoid warnings about includeAntRuntime
Generate text output for unit tests

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1072980 13f79535-47bb-0310-9956-ffa450edef68
2011-02-21 14:26:08 +00:00
Gilles Sadowski a3d300bb55 MATH-516
Removed "GaussianFunction" and "GaussianDerivativeFunction" (superseded by
class "Gaussian (in package "analysis.function").


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1072209 13f79535-47bb-0310-9956-ffa450edef68
2011-02-19 00:19:32 +00:00
Gilles Sadowski f2e551b8de MATH-514
Removed "ParametricGaussianFunction" (superseded by "Gaussian.Parametric"
in package "analysis.function").


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1072207 13f79535-47bb-0310-9956-ffa450edef68
2011-02-19 00:03:46 +00:00
Gilles Sadowski 04bbc3fccf MATH-512
Functionality moved to "GaussianFitter.ParameterGuesser" inner class.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1072199 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 23:43:01 +00:00
Gilles Sadowski 44adfaeb94 MATH-512
Refactoring of the "GaussianFitter" class by Ole Ersoy.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1072056 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 16:45:57 +00:00
Gilles Sadowski c9d9bdcdbf MATH-442
Implementation of the CMA-ES optimization algorithm provided by Dietmar Wolz
and Nikolaus Hansen.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1071600 13f79535-47bb-0310-9956-ffa450edef68
2011-02-17 13:10:00 +00:00
Gilles Sadowski dee0874ae8 MATH-515
"copyOf" methods (for "int" and "double" arrays).


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1071596 13f79535-47bb-0310-9956-ffa450edef68
2011-02-17 12:43:53 +00:00
Gilles Sadowski 08ee0d963c MATH-514
Added a "Parametric" inner class.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1071430 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 22:48:43 +00:00
Gilles Sadowski 3eabd1deeb MATH-513
Renamed "o.a.c.math.optimization.fitting.ParametricRealFunction" to
"o.a.c.math.analysis.ParametricUnivariateRealFunction". Modified all
affected files.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1071429 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 22:45:47 +00:00
Gilles Sadowski 2686e1efd3 MATH-511
Implement "DifferentiableUnivariateRealFunction".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1070698 13f79535-47bb-0310-9956-ffa450edef68
2011-02-14 23:54:10 +00:00
Luc Maisonobe 5a2bf9c657 second attempt at fixing MATH-484
This fixes bad behavior when several events occur during a long step
This also fixes bad behavior when events are triggered during backward integration
Jira: MATH-484

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1070499 13f79535-47bb-0310-9956-ffa450edef68
2011-02-14 14:19:55 +00:00
Luc Maisonobe 26c1c29575 fixed checkstyle and findbugs warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1069568 13f79535-47bb-0310-9956-ffa450edef68
2011-02-10 21:07:53 +00:00
Gilles Sadowski ab0e605ef6 MATH-503
Added gaussian function.
Added "package.html" doc file.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1067917 13f79535-47bb-0310-9956-ffa450edef68
2011-02-07 11:17:42 +00:00
Phil Steitz e178411bd4 Corrected javadoc link.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1067593 13f79535-47bb-0310-9956-ffa450edef68
2011-02-06 05:43:39 +00:00
Phil Steitz 43d8274039 Added correlated vector generation example.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1067588 13f79535-47bb-0310-9956-ffa450edef68
2011-02-06 05:34:22 +00:00
Sebastian Bazley 80e44be308 MATH-506 - revert r1067433 as it is incomplete; more discussion needed
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1067435 13f79535-47bb-0310-9956-ffa450edef68
2011-02-05 12:54:25 +00:00
Sebastian Bazley 2a8db688b1 MATH-506 The static field ChiSquareTestImpl.distribution serves no purpose.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1067433 13f79535-47bb-0310-9956-ffa450edef68
2011-02-05 12:46:36 +00:00
Gilles Sadowski cc53a6aa67 MATH-442
Waiting for paperwork.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1067278 13f79535-47bb-0310-9956-ffa450edef68
2011-02-04 20:43:41 +00:00
Gilles Sadowski b8478df284 Bitten again by "Arrays.copyOf".
Added more general methods in "MathUtils".
Replaced call to "Arrays" by the equivalent from "MathUtils".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1067247 13f79535-47bb-0310-9956-ffa450edef68
2011-02-04 18:08:29 +00:00
Gilles Sadowski 74bcc0b170 MATH-442
Original code provided by Dietmar Wolz.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1067216 13f79535-47bb-0310-9956-ffa450edef68
2011-02-04 16:36:08 +00:00
Gilles Sadowski 95080b966f Another unit test.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1067018 13f79535-47bb-0310-9956-ffa450edef68
2011-02-03 22:45:06 +00:00
Gilles Sadowski 719fc75901 Javadoc fix.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1066775 13f79535-47bb-0310-9956-ffa450edef68
2011-02-03 10:40:19 +00:00
Sebastian Bazley 4fcfb53d8f Drop unused last parameter
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1066393 13f79535-47bb-0310-9956-ffa450edef68
2011-02-02 09:44:55 +00:00
Sebastian Bazley 84074bf247 No point catching and then calling fail - just let JUnit do the work
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1066303 13f79535-47bb-0310-9956-ffa450edef68
2011-02-02 01:57:12 +00:00
Sebastian Bazley eb221effa3 No point catching and then calling fail - just let JUnit do the work
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1066301 13f79535-47bb-0310-9956-ffa450edef68
2011-02-02 01:43:25 +00:00
Sebastian Bazley b8152e7e41 No point catching and then calling fail - just let JUnit do the work
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1066299 13f79535-47bb-0310-9956-ffa450edef68
2011-02-02 01:37:49 +00:00
Sebastian Bazley a5f5a93841 Fix broken tests: add missing fail() calls
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1066297 13f79535-47bb-0310-9956-ffa450edef68
2011-02-02 01:23:51 +00:00
Sebastian Bazley 062ff19214 Use actual array sizes rather than magic numbers
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1066279 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 23:56:36 +00:00
Sebastian Bazley 221899f3ce Tidy up test
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1066178 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 19:53:01 +00:00
Sebastian Bazley 76f4c46b44 Tidy up test
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1066176 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 19:52:05 +00:00
Sebastian Bazley d063c84cbf Tidy up test
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1066173 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 19:45:20 +00:00
Sebastian Bazley 058bb97d72 Missing @Override
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1066172 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 19:42:06 +00:00
Sebastian Bazley 2ad336c059 Remove unnecessary throws clauses
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1066171 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 19:41:34 +00:00
Sebastian Bazley 72e13fcccc Don't waste precious ; !
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1066170 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 19:36:42 +00:00
Sebastian Bazley b050cc3822 Unnecessary casts
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1066169 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 19:35:42 +00:00
Sebastian Bazley ae7dc2aa99 MATH-505 TestUtils is thread-hostile - tests no longer needed
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1066156 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 19:25:21 +00:00
Sebastian Bazley c109e906d3 MATH-505 TestUtils is thread-hostile
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1066129 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 18:46:33 +00:00
Sebastian Bazley c5b908a195 MATH-505 TestUtils is thread-hostile
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1066128 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 18:41:37 +00:00
Gilles Sadowski 21ece86385 MATH-503
Step function.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1066018 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 12:01:03 +00:00
Sebastian Bazley 80fea20c49 Make private immutable fields final
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1065894 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 02:15:57 +00:00
Sebastian Bazley 622b2d0107 Unused import
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1065877 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 00:44:18 +00:00
Sebastian Bazley 707313c389 Unused import
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1065876 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 00:43:31 +00:00
Sebastian Bazley fb96c0ee17 Unused imports
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1065875 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 00:43:07 +00:00
Phil Steitz f301516390 Added section on Exceptions.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1065874 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 00:23:48 +00:00
Sebastian Bazley 828e3db622 Arrays might as well be final
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1065873 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 00:12:58 +00:00
Phil Steitz c5641a2343 Eliminated author attribute.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1065851 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 23:22:51 +00:00
Phil Steitz 0cf2844e58 Made reference to component name consistent.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1065848 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 23:20:11 +00:00
Sebastian Bazley f922f947ee Cannot use inheritDoc if there is nothing to inherit from
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1065763 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 20:42:00 +00:00
Sebastian Bazley a64940bdc2 Unused import
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1065760 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 20:41:05 +00:00