Commit Graph

2947 Commits

Author SHA1 Message Date
Phil Steitz ce13d98d2e Added a couple of new contributors.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1145007 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 01:32:31 +00:00
Phil Steitz 4d02be2855 Improved efficiency in RandomDataImpl, LaguerreSolver, FastMath and
OutlineExtractor by moving conditional code into blocks where it is needed.

JIRA: MATH-609
Reported and patched by Dave Brosius

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1145004 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 01:14:55 +00:00
Phil Steitz 82880daefb Removed trailing space.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1144997 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 00:57:03 +00:00
Phil Steitz fb8fcf184e Moved conditional code into block where it is needed. JIRA: MATH-609.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1144996 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 00:55:38 +00:00
Phil Steitz abb29ca5c3 Restored jdk 1.5 compat.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1144994 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 00:52:20 +00:00
Phil Steitz d3d5c6fb05 Added interface and reporting class for updating regression. JIRA: MATH-607. Contributed by Greg Sterijevski.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1144986 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 23:45:43 +00:00
Luc Maisonobe 60f99d976d Prevent step normalizer to output twice the last point in MULTIPLES mode.
JIRA: MATH-603

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1144902 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 16:51:02 +00:00
Luc Maisonobe 4b299469ed updated tests threshold as events are now forced on some root sides
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1144892 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 16:08:50 +00:00
Luc Maisonobe ddd7f07939 increased max evaluation count to allow root bracketing post-processing
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1144890 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 16:06:44 +00:00
Luc Maisonobe c65e8fdd4e use root bracketing to find events on the appropriate side according to integration direction
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1144889 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 16:05:39 +00:00
Luc Maisonobe f31af98c0d prevent root bracketing to be attempted outside of search interval
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1144887 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 16:04:51 +00:00
Luc Maisonobe fef1366f09 added constructors with function value accuracy
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1144861 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 13:48:36 +00:00
Luc Maisonobe 9867b821b7 fixed checkstyle warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1144838 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 11:28:31 +00:00
Luc Maisonobe 64e12ce3b1 rewrote documentation for root solvers.
JIRA: MATH-606

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1144832 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 11:13:04 +00:00
Luc Maisonobe bdd6b2b578 added a forceSide method to UnivariateRealsolversUtils to allow selecting a bracketing side
even for non-bracketing solvers like Bren or Newton

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1144831 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 11:11:58 +00:00
Luc Maisonobe 208824f3b6 Select bracketing side from the solve method instead of through a setter for consistency with the other solvers.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1144830 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 11:10:55 +00:00
Luc Maisonobe 2abc2e6707 Separate implementation of secant solver from bracketing solvers.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1144828 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 11:07:30 +00:00
Luc Maisonobe afa158afc7 improved javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1144825 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 11:04:46 +00:00
Luc Maisonobe a58a65a43f use checkNotNull
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1144821 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 11:01:56 +00:00
Gilles Sadowski cd6ab81dc8 Typo in Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1143729 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 09:36:54 +00:00
Luc Maisonobe fac2e96a31 Added BELOW_SIDE and ABOVE_SIDE in the possible allowed solutions for bracketing solvers.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1142244 13f79535-47bb-0310-9956-ffa450edef68
2011-07-02 16:27:03 +00:00
Luc Maisonobe 5c185f118b typo
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1141921 13f79535-47bb-0310-9956-ffa450edef68
2011-07-01 12:44:47 +00:00
Luc Maisonobe 4500105e12 renamed BracketedSolution into BracketedUnivariateRealSolver and make it extend UnivariateRealSolver.
This will allow specifying directly a sub-category of solvers when needed. It will be used for example by the ODE events detection mechanism, as it will ensure the integrator can automatically go past the event time.

JIRA: MATH-605

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1141920 13f79535-47bb-0310-9956-ffa450edef68
2011-07-01 12:44:26 +00:00
Luc Maisonobe 77af8e9585 renamed BracketedSolution into BracketedUnivariateRealSolver and make it extend UnivariateRealSolver.
This will allow specifying directly a sub-category of solvers when needed. It will be used for example by the ODE events detection mechanism, as it will ensure the integrator can automatically go past the event time.

JIRA: MATH-605

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1141905 13f79535-47bb-0310-9956-ffa450edef68
2011-07-01 11:39:28 +00:00
Luc Maisonobe d78c757aa9 removed serialVersionUID for non-serializable classes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1141890 13f79535-47bb-0310-9956-ffa450edef68
2011-07-01 09:33:55 +00:00
Luc Maisonobe e41aa31c43 fixed unused variable warnings, by really using the computed value
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1141889 13f79535-47bb-0310-9956-ffa450edef68
2011-07-01 09:32:39 +00:00
Luc Maisonobe 9833f5c186 removed spurious development benchmarking code
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1141887 13f79535-47bb-0310-9956-ffa450edef68
2011-07-01 09:21:21 +00:00
Luc Maisonobe 3cd15839ef fixed unused variable warning, using proper Junit4 tests
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1141886 13f79535-47bb-0310-9956-ffa450edef68
2011-07-01 09:18:44 +00:00
Luc Maisonobe 196e7b9269 removed serialVersionUID for non-serializable classes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1141885 13f79535-47bb-0310-9956-ffa450edef68
2011-07-01 09:16:41 +00:00
Luc Maisonobe 611ddc1966 removed unused variable
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1141884 13f79535-47bb-0310-9956-ffa450edef68
2011-07-01 09:13:36 +00:00
Luc Maisonobe 5dadec877b removed unused variable
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1141882 13f79535-47bb-0310-9956-ffa450edef68
2011-07-01 09:08:38 +00:00
Luc Maisonobe 46dfce79a4 removed unused variable
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1141881 13f79535-47bb-0310-9956-ffa450edef68
2011-07-01 09:06:50 +00:00
Luc Maisonobe b037c6b5a2 removed serialVersionUID for non-serializable classes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1141880 13f79535-47bb-0310-9956-ffa450edef68
2011-07-01 09:05:20 +00:00
Luc Maisonobe 56752c15f0 removed serialVersionUID for a non-serializable class.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1141879 13f79535-47bb-0310-9956-ffa450edef68
2011-07-01 09:03:32 +00:00
Luc Maisonobe 0a150a6718 Fixed checkstyle, javadoc, findbugs and eclipse warnings.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1139915 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 19:13:06 +00:00
Luc Maisonobe c56bc8fa33 Forbid if/else/do/while/for without braces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1139906 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 18:42:32 +00:00
Gilles Sadowski d803dbac0e MATH-599
Name change to avoid test failure on the automated build system ("gump").


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1139837 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 17:02:20 +00:00
Luc Maisonobe 57e2712f50 Removed the requiresDenseOutput method from the StepHandler interface. Now integrators always
consider dense output is required and set up the appropriate state interpolators, so step
handlers can rely on them.

JIRA: MATH-596, MATH-604

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1139831 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 16:26:48 +00:00
Gilles Sadowski c005c8d4da MATH-599
Attempt to work around the build failure.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1139509 13f79535-47bb-0310-9956-ffa450edef68
2011-06-25 09:11:28 +00:00
Gilles Sadowski 7b371c06a9 MATH-599
Added brackets around single-statement conditional branches.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1139460 13f79535-47bb-0310-9956-ffa450edef68
2011-06-24 23:13:00 +00:00
Gilles Sadowski 06828ea9a8 MATH-599
Inserted "BaseBracketedSecantSolver" into the secant-based solvers hierarchy.
Renamed "SecantBase" to "BaseSecantSolver".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1139455 13f79535-47bb-0310-9956-ffa450edef68
2011-06-24 22:36:43 +00:00
Gilles Sadowski f3f992d692 Javadoc (real) fix.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1139270 13f79535-47bb-0310-9956-ffa450edef68
2011-06-24 12:29:09 +00:00
Luc Maisonobe 9dfd9b34f1 fixed Java 6 specific features
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1139235 13f79535-47bb-0310-9956-ffa450edef68
2011-06-24 10:39:40 +00:00
Gilles Sadowski 622a9991c2 Javadoc fix.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1139223 13f79535-47bb-0310-9956-ffa450edef68
2011-06-24 09:43:33 +00:00
Gilles Sadowski 9764fa8a2d MATH-599
"SecantSolver" modified to correspond to the original algorithm. Added several
secant-based solvers. Patch provided by Dennis Hendriks.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1139126 13f79535-47bb-0310-9956-ffa450edef68
2011-06-24 00:12:17 +00:00
Gilles Sadowski a88ba6c1ca MATH-485
"KalmanFilter" and related classes updated by Thomas Neidhart according to
comments on JIRA.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1138461 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 13:42:39 +00:00
Luc Maisonobe d778da77e0 Fixed javadoc for ODEIntegrator interface.
JIRA: MATH-600

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1138419 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 12:03:51 +00:00
Luc Maisonobe 04cb14727d Extended StepNormalizer with normalization mode and bounds settings.
JIRA: MATH-595

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1138061 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 15:47:23 +00:00
Mikkel Meyer Andersen 6d291937d0 Added fix for MATH-597: Implemented faster generation of random exponential distributed values with algorithm from Ahrens and Dieter (1972): Computer methods for sampling from the exponential and normal distributions. Test case was improved, too.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1137795 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 21:42:48 +00:00
Luc Maisonobe ff92629a3b added multiple trials runs to K-means++ clustering algorithm.
JIRA: MATH-548

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1137759 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 19:48:44 +00:00