Commit Graph

1863 Commits

Author SHA1 Message Date
Luc Maisonobe 26281773d8 added an exclusion rule for a false positive from findbugs concerning a desired and documented feature
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@791745 13f79535-47bb-0310-9956-ffa450edef68
2009-07-07 07:57:37 +00:00
Luc Maisonobe 4eb0c8f29e removed compilation/findbugs warnings about type safety
the changes include API changes (replacing Object by Comparable<?>).
The class itself is still not generic as this would prevent mixing types which is a desired feature here that is checked in the unit tests
JIRA: MATH-261

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@791733 13f79535-47bb-0310-9956-ffa450edef68
2009-07-07 07:44:52 +00:00
Luc Maisonobe 2caa986e25 fixed missing @return tag
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@791728 13f79535-47bb-0310-9956-ffa450edef68
2009-07-07 07:17:50 +00:00
Luc Maisonobe 852a75dfe4 removed tabs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@791724 13f79535-47bb-0310-9956-ffa450edef68
2009-07-07 07:08:54 +00:00
Luc Maisonobe f0ad546c7f removed tabs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@791723 13f79535-47bb-0310-9956-ffa450edef68
2009-07-07 07:07:23 +00:00
Phil Steitz 71f41f90fe Added static direct aggregation method to AggregateSummaryStatistics. JIRA: MATH-224.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@791687 13f79535-47bb-0310-9956-ffa450edef68
2009-07-07 03:03:56 +00:00
Phil Steitz 4ce932e3cd Exposed second moment.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@791685 13f79535-47bb-0310-9956-ffa450edef68
2009-07-07 03:01:34 +00:00
Phil Steitz 832bcda19c Fixed alpha sort of developers.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@791496 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 14:44:40 +00:00
Luc Maisonobe 935eec022d compute state variation avoiding cancellation in a critical subtraction to preserve accuracy
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@791248 13f79535-47bb-0310-9956-ffa450edef68
2009-07-05 14:06:00 +00:00
Luc Maisonobe 1805ad4cac javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@791247 13f79535-47bb-0310-9956-ffa450edef68
2009-07-05 14:02:41 +00:00
Luc Maisonobe e4a8fdfdf1 Added a check for too few data in linear regression
JIRA: MATH-279

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@791244 13f79535-47bb-0310-9956-ffa450edef68
2009-07-05 13:29:37 +00:00
Luc Maisonobe 720a0b2626 added scalar multiply to the Complex class
JIRA: MATH-277

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@791237 13f79535-47bb-0310-9956-ffa450edef68
2009-07-05 12:53:13 +00:00
Luc Maisonobe e4a5900147 fixed package documentation that still referenced mantissa
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@790381 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 21:04:20 +00:00
Luc Maisonobe 6d10d47af1 fixed javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@790380 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 21:03:38 +00:00
Luc Maisonobe c22eec05d3 optimized matrix update loop
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@790374 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 20:57:20 +00:00
Luc Maisonobe 5129af7587 fixed another set of warnings identified by recent findbugs versions
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@790372 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 20:48:19 +00:00
Luc Maisonobe c92046ecc9 removed import
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@790370 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 20:41:17 +00:00
Luc Maisonobe 121f832ef9 fixed another set of warnings identified by recent findbugs versions
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@790368 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 20:31:50 +00:00
Luc Maisonobe 1a303e82db removed tabs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@790366 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 20:29:59 +00:00
Luc Maisonobe 63d0a79ce2 fixed a number of warnings identified by findbugs eclipse plugin version 1.3.9
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@790243 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 16:03:28 +00:00
Phil Steitz 1a5345519c Added David Stefka to contributors.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@789515 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 00:46:06 +00:00
Phil Steitz 3c321ba7cb Added GA.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@789511 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 00:40:59 +00:00
Phil Steitz 6dcf0f6a12 Fixed broken javadoc links.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@789510 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 00:37:05 +00:00
Phil Steitz 41fac55fe2 Fixed incorrect javadoc link.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@789502 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 00:16:04 +00:00
Luc Maisonobe 879518c341 fixed a serialization error introduced by yesterday changes
(sorry for the noise)

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@789358 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 15:20:22 +00:00
Luc Maisonobe c7beb702d8 fixed typo
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@789161 13f79535-47bb-0310-9956-ffa450edef68
2009-06-28 22:01:40 +00:00
Luc Maisonobe 3cb90658a4 simplified and reorganized slightly the Adams integrators class hierarchy
this will allow a future BDF integrator development for stiff problems

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@789159 13f79535-47bb-0310-9956-ffa450edef68
2009-06-28 21:56:20 +00:00
Luc Maisonobe 7614049449 changed Nordsieck transformer to an Adams-specific Nordsieck transformer
the transformer associated with BDF integrator will be quite different

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@789158 13f79535-47bb-0310-9956-ffa450edef68
2009-06-28 21:54:33 +00:00
Luc Maisonobe 43bc08d7c3 improve both numerical accuracy and speed by using optimized loops
in reversed row order (i.e. from higher orders to lower orders) directly
on matrix data.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@789157 13f79535-47bb-0310-9956-ffa450edef68
2009-06-28 21:51:09 +00:00
Luc Maisonobe b5395fd802 be more precise on return type, we really return a Array2DRowRealMatrix,
so tell it in case some callers can use this information for optimization
(which is the case for Nordsieck transformers, they will be able to use
customized loops on matrix data for the sake of numerical accuracy)

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@789156 13f79535-47bb-0310-9956-ffa450edef68
2009-06-28 21:48:15 +00:00
Luc Maisonobe e1f4ed50ad moved test problems one package up, to prepare their reuse for stiff integrators
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@789155 13f79535-47bb-0310-9956-ffa450edef68
2009-06-28 21:43:58 +00:00
Luc Maisonobe e066e3898b added Dimitri to contributors
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@788808 13f79535-47bb-0310-9956-ffa450edef68
2009-06-26 18:31:48 +00:00
Luc Maisonobe 8e473959fd Added a getCovariance method to singular value decomposition
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@788805 13f79535-47bb-0310-9956-ffa450edef68
2009-06-26 18:27:57 +00:00
Luc Maisonobe c8a6ed4c40 added a missing @Override
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@788047 13f79535-47bb-0310-9956-ffa450edef68
2009-06-24 15:04:42 +00:00
William Barker fee5df4e6f Add test cases for Serialization of subclasses of Complex
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@787521 13f79535-47bb-0310-9956-ffa450edef68
2009-06-23 02:35:50 +00:00
Luc Maisonobe 0c9be1c546 fixed TWO_FIFTH value in both Fraction and BigFraction
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@787348 13f79535-47bb-0310-9956-ffa450edef68
2009-06-22 18:42:11 +00:00
Luc Maisonobe de64808c29 fixed a forgotten adjustment of integrator setting
the first integer parameter semantics have changed and the test
was not updated to reflect this, thus leading to test failure

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@787215 13f79535-47bb-0310-9956-ffa450edef68
2009-06-22 12:20:37 +00:00
William Barker 053b1c4908 Yes, sebb is correct. After running tests, readResolve needs to be visible to subclasses to be used. Since Complex is clearly designed to be subclassed, changing the visiblity.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@787118 13f79535-47bb-0310-9956-ffa450edef68
2009-06-22 00:26:09 +00:00
Phil Steitz 072539b502 Made protected fields private. JIRA: MATH-207.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@787067 13f79535-47bb-0310-9956-ffa450edef68
2009-06-21 19:04:04 +00:00
Luc Maisonobe 18b2ddb24b fixed Adams-Bashforth order for error control (it is k, not k+1)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@787052 13f79535-47bb-0310-9956-ffa450edef68
2009-06-21 17:07:27 +00:00
Luc Maisonobe 5db7c253e1 removed the current point from count in multistep integrators
updated documentation since now Adams-Bashforth and Adams-Moulton
are adaptive stepsize integrators

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@787050 13f79535-47bb-0310-9956-ffa450edef68
2009-06-21 17:01:03 +00:00
Phil Steitz 4ee03f09ff Added Spearman's correlation.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@786940 13f79535-47bb-0310-9956-ffa450edef68
2009-06-21 02:22:09 +00:00
William Barker b3c7fd661c Restore Serializable to PolynomialFunction
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@786936 13f79535-47bb-0310-9956-ffa450edef68
2009-06-21 01:12:22 +00:00
Phil Steitz 828c863a00 Added ranking subsection.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@786935 13f79535-47bb-0310-9956-ffa450edef68
2009-06-21 00:58:14 +00:00
William Barker 15c9f02e5c Remove Serializable from some tranient analitics classes.
Let me know if I've nuked ur favorite one, and I can put it back


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@786927 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 23:37:47 +00:00
Sebastian Bazley 7f8175d4f6 Fix thread-safety issues
- code failed to use synch. read
- code could potentially use two different random Generators if another thread changed it

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@786918 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 22:17:36 +00:00
Phil Steitz f4275f3371 Made aggregation threadsafe.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@786911 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 21:35:32 +00:00
Luc Maisonobe aa118ca31c removed old maven 1 stuff
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@786900 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 20:02:27 +00:00
Luc Maisonobe 45786158ab adding missing Apache header
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@786890 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 19:23:44 +00:00
Luc Maisonobe b6de8e8e8f documented Adams-Bashforth and Adams-Moulton ODE integrators
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@786885 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 19:06:55 +00:00