2913 Commits

Author SHA1 Message Date
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
Luc Maisonobe
234db70446 typos
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1137752 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 19:25:11 +00:00
Luc Maisonobe
f7ee41ad19 Simplified SubLine API by introducing a public Segment class.
JIRA: MATH-592

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1137749 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 19:11:43 +00:00
Luc Maisonobe
588f3b4c59 typo
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1137739 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 18:40:41 +00:00
Luc Maisonobe
7a190664bf Added a way to compute sub-lines intersections, considering sub-lines either as open sets or closed sets.
JIRA: MATH-591


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1137738 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 18:40:13 +00:00
Luc Maisonobe
7ec3665fb9 Added a way to build a sub-line from its endpoints, and to retrieve the enpoints from a sub-line.
JIRA: MATH-592

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1136154 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 19:20:00 +00:00
Phil Steitz
5f661c3cbc Removed unused import.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1136130 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 17:35:01 +00:00
Phil Steitz
6ef1690ba8 Removed unused imports.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1136129 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 17:33:04 +00:00
Phil Steitz
a7f015c3ea Removed trailing whitespace.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1136128 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 17:29:06 +00:00
Phil Steitz
22b2a2a5e9 Removed unused import.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1136127 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 17:26:57 +00:00
Phil Steitz
264f6e8c4f Javadoc fix.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1136115 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 16:44:50 +00:00
Phil Steitz
3b753d7d00 Fixed javadoc error. JIRA: MATH-589.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1136112 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 16:42:21 +00:00
Luc Maisonobe
fadef0867e Javadoc fixes in ODE.
JIRA: MATH-594

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1135946 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 07:44:05 +00:00
Luc Maisonobe
7629512cbc Added a way to specify a custom root solver to find events in ODE integration.
JIRA: MATH-586

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1135726 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 18:05:56 +00:00
Phil Steitz
046a2ed6db Start work on JIRA: MATH-575. Made InvalidRepresentationException extend MathIllegalArgumentException and localized error messages for this exception.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1135025 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 05:09:35 +00:00
Phil Steitz
b5a03457a5 Javadoc fix.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1135008 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 01:24:19 +00:00
Phil Steitz
5f3ad4479b Javadoc fixes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1135007 13f79535-47bb-0310-9956-ffa450edef68
2011-06-12 23:57:49 +00:00
Phil Steitz
b4865d8711 Javadoc fixes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1134983 13f79535-47bb-0310-9956-ffa450edef68
2011-06-12 21:07:57 +00:00
Phil Steitz
820cc3fcaa Reverting previous commit. Sorry, that was a real issue.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1134973 13f79535-47bb-0310-9956-ffa450edef68
2011-06-12 19:59:21 +00:00
Phil Steitz
d3036160e2 Removed reference to issue not impacting release.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1134970 13f79535-47bb-0310-9956-ffa450edef68
2011-06-12 19:55:20 +00:00
Phil Steitz
94415d4462 Added standalone test class for AbstractIntegerDistribution default implementations. JIRA: MATH-587.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1134966 13f79535-47bb-0310-9956-ffa450edef68
2011-06-12 19:39:27 +00:00
Phil Steitz
72858b8447 Fixed javadoc errors introduced in r1003512 (post 2.2 release). JIRA: MATH-587
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1134948 13f79535-47bb-0310-9956-ffa450edef68
2011-06-12 17:19:49 +00:00
Phil Steitz
61c5342b50 Restored specificity in exception error messages.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1134939 13f79535-47bb-0310-9956-ffa450edef68
2011-06-12 15:57:32 +00:00
Phil Steitz
88bd54a422 Fixed error in javadoc. JIRA: MATH-540.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1134866 13f79535-47bb-0310-9956-ffa450edef68
2011-06-12 05:56:32 +00:00
Phil Steitz
7d738dc352 Improved javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1134852 13f79535-47bb-0310-9956-ffa450edef68
2011-06-12 01:25:22 +00:00
Phil Steitz
e84687da98 Fixed error in javadoc describing the behavior of the Percentile algorithm
for small percentiles in small datasets.
JIRA: MATH-582
Reported by Andre Herbst
Patched by Christopher Nix

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1134802 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 22:28:52 +00:00
Gilles Sadowski
58d1885283 MATH-485
New "filter" package. Initial implementation of Kalman filter provided
by Thomas Neidhart.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1134779 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 21:39:26 +00:00
Luc Maisonobe
6e9f1d3945 fixed unused variable warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1132471 13f79535-47bb-0310-9956-ffa450edef68
2011-06-05 18:24:04 +00:00
Luc Maisonobe
e00a9b226f Improved k-means++ clustering performances and initial cluster center choice.
JIRA: MATH-584

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1132448 13f79535-47bb-0310-9956-ffa450edef68
2011-06-05 16:27:53 +00:00
Luc Maisonobe
9dfd54ef0f Fixed tricube function implementation in Loess interpolation.
JIRA: MATH-504

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1132439 13f79535-47bb-0310-9956-ffa450edef68
2011-06-05 15:59:26 +00:00
Luc Maisonobe
54f921553b Fixed documentation of statistics examples.
JIRA: MATH-568

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1132437 13f79535-47bb-0310-9956-ffa450edef68
2011-06-05 15:41:50 +00:00
Luc Maisonobe
3f6016591a Improved documentation of general optimization with a thorough example.
JIRA: MATH-507

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1132435 13f79535-47bb-0310-9956-ffa450edef68
2011-06-05 15:22:31 +00:00
Luc Maisonobe
62a313f67d Replaced NullPointerException by NullArgumentException
JIRA: MATH-403

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1132432 13f79535-47bb-0310-9956-ffa450edef68
2011-06-05 14:59:29 +00:00
Luc Maisonobe
a4e6f75c86 replaced @version tag by $Id$
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1131229 13f79535-47bb-0310-9956-ffa450edef68
2011-06-03 20:49:25 +00:00
Luc Maisonobe
8a5f904b36 fixed javadoc, checkstyle and findbugs warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1131153 13f79535-47bb-0310-9956-ffa450edef68
2011-06-03 19:23:56 +00:00