Phil Steitz
f822b3285a
Added SemiVariance. JIRA: MATH-323. Reported and patched by Larry Diamond.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@910264 13f79535-47bb-0310-9956-ffa450edef68
2010-02-15 17:10:54 +00:00
Phil Steitz
993dcad4b1
Eliminated trailing spaces.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@908626 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 18:44:42 +00:00
Luc Maisonobe
69e227356d
Added a warning in the getCoefficients method documentation for
...
PolynomialFunctionLagrangeForm. Computation may be ill-conditioned
so this method should be used with care.
JIRA: MATH-341
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@908190 13f79535-47bb-0310-9956-ffa450edef68
2010-02-09 20:07:36 +00:00
Luc Maisonobe
5e879a5b15
Fixed an error in BigFraction multiplication for large numerators that don't fit in a primitive int.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@906251 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 21:19:54 +00:00
Luc Maisonobe
1e52e71b14
fixed a spurious exception in EigenDecompositionImpl when a 3x3 block had two identical eigenvalues
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@904561 13f79535-47bb-0310-9956-ffa450edef68
2010-01-29 17:08:28 +00:00
Luc Maisonobe
73e340ab6e
added min/max getters for real vectors
...
For compatibility reasons, these methods have been put in the topmost abstract class but not in the interface yet. It could be pushed to the interface when next major version will be released.
JIRA: MATH-334
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@904231 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 19:42:31 +00:00
Luc Maisonobe
8dd2239074
Fixed automatic step initialization in embedded Runge-Kutta integrators.
...
The relative tolerance setting was never used, only the absolute tolerance was used.
JIRA: MATH-338
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@904112 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 15:01:55 +00:00
Luc Maisonobe
e00564e3b7
removed unused import
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@903446 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 21:57:13 +00:00
Luc Maisonobe
c3b2a19353
typos
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@903442 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 21:56:20 +00:00
Luc Maisonobe
4119c35554
added Eugene Kirpichov's patch to ignore zero weights in Loess interpolation
...
JIRA: MATH-296
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@903440 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 21:53:59 +00:00
Phil Steitz
25f0b04809
Disabled testNextPoissonConsistency pending resolution of MATH-282.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@903156 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 10:28:12 +00:00
Sebastian Bazley
d4338927c8
Document why OK to suppress unchecked warning
...
Move tag as close as possible to site of warning
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@903059 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 02:53:00 +00:00
Sebastian Bazley
112c7aa7c9
Document why OK to suppress unchecked warning
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@903047 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 02:07:42 +00:00
Sebastian Bazley
7e8bf7eedd
Document why OK to suppress unchecked warning
...
Move tag as close as possible to site of warning
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@903046 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 02:07:26 +00:00
Sebastian Bazley
7aae8a4dae
Document why OK to suppress unchecked warning
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@903044 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 02:00:09 +00:00
Sebastian Bazley
acdd9f2805
Fix typo in copy() code
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@902934 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 19:09:17 +00:00
Sebastian Bazley
a15507466b
Does not make sense for count variable to be public
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@902931 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 19:05:00 +00:00
Sebastian Bazley
52ec13ba7d
Make private static fields final
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@902930 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 19:04:32 +00:00
Sebastian Bazley
d6fc4d3fba
Document field thread-safety
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@902929 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 19:03:56 +00:00
Sebastian Bazley
4487658a3a
Make private constant final
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@902928 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 19:03:26 +00:00
Sebastian Bazley
517f665a54
Fix may be null warnings
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@902216 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 18:41:18 +00:00
Sebastian Bazley
dcc3a769f6
FIx deprecation warnings
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@902215 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 18:40:55 +00:00
Sebastian Bazley
36a706e811
Javadoc fixes
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@902214 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 18:40:28 +00:00
Sebastian Bazley
42a5482d7a
Fix missing @Override and @Deprecated annotations
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@902203 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 18:27:41 +00:00
Sebastian Bazley
5a91cbf932
Remove suite() methods
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@902201 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 18:18:16 +00:00
Sebastian Bazley
0eba4a5c31
Unused import
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@902200 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 18:12:08 +00:00
Sebastian Bazley
0b2f3f21c1
Ignore lib/
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@902187 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 17:45:24 +00:00
Sebastian Bazley
f9a50b290d
Synch. with test cases listed in pom.xml
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@902089 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 14:06:57 +00:00
Luc Maisonobe
3bac1ef344
fixed link typo
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@900457 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 16:54:00 +00:00
Luc Maisonobe
5776f21e54
improved javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@900451 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 16:31:18 +00:00
Phil Steitz
6dd3724b9b
Fixed regression in Frequency.getPct(Object) introduced in 2.0. Cumulative
...
percent was being returned for Object arguments in place of percent.
JIRA: MATH-329
Reported by Will Wu
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@900016 13f79535-47bb-0310-9956-ffa450edef68
2010-01-16 20:01:17 +00:00
Luc Maisonobe
b2f3f6db41
Singular Value Decomposition now computes either the compact SVD (using only positive singular values) or truncated SVD (using a user-specified maximal number of singular values).
...
Fixed Singular Value Decomposition solving of singular systems.
JIRA: MATH-320, MATH-321
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@894908 13f79535-47bb-0310-9956-ffa450edef68
2009-12-31 17:52:16 +00:00
Phil Steitz
81ae49bafe
Updated to reflect recent commits.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@894738 13f79535-47bb-0310-9956-ffa450edef68
2009-12-30 23:26:40 +00:00
Luc Maisonobe
c06cc933b6
changed SVD to compute either compact SVD (using only positive singular values)
...
or truncated SVD (using only singular values up to a user-specified max number)
started fix of SVD solver that did not compute a least square solution
the fix is not complete yet as it seems the solution does not really gives the
smallest possible residuals. See for example the commented out parts of
testMath320A in SingularValueSolverTest.
JIRA: MATH-320
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@894735 13f79535-47bb-0310-9956-ffa450edef68
2009-12-30 23:17:01 +00:00
Phil Steitz
52c9e2a2f8
Added gcd(long, long), lcm(long, long) methods. JIRA: MATH-239.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@894730 13f79535-47bb-0310-9956-ffa450edef68
2009-12-30 23:03:23 +00:00
Phil Steitz
2d247ea48f
Added @since tags for new methods. JIRA: MATH-287
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@894705 13f79535-47bb-0310-9956-ffa450edef68
2009-12-30 20:24:54 +00:00
Phil Steitz
0571fc07de
Deprecated addValue(Integer). JIRA: MATH-260.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@894529 13f79535-47bb-0310-9956-ffa450edef68
2009-12-30 01:27:40 +00:00
Phil Steitz
0920122ae6
Changed weighted variance computational formula to use Chan-Golub method (consistent with unweighted version).
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@894528 13f79535-47bb-0310-9956-ffa450edef68
2009-12-30 01:03:32 +00:00
Phil Steitz
e193fc40fd
Fixed type from r894472. JIRA: MATH-287
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@894474 13f79535-47bb-0310-9956-ffa450edef68
2009-12-29 20:02:37 +00:00
Phil Steitz
6faddc04de
Added WeightedEvaluation interface and added evaluate(values, weights) to weighted statistics implementations. JIRA: MATH-287.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@894472 13f79535-47bb-0310-9956-ffa450edef68
2009-12-29 19:57:49 +00:00
Phil Steitz
8f6e7936c6
Fixed contributor alpha sort.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@894406 13f79535-47bb-0310-9956-ffa450edef68
2009-12-29 15:01:38 +00:00
Luc Maisonobe
ce185345fa
fixed a wrong implementation of the Linf vector norm
...
JIRA: MATH-326
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@894367 13f79535-47bb-0310-9956-ffa450edef68
2009-12-29 12:24:58 +00:00
Luc Maisonobe
3c122e41b1
fixed checkstyle warnings
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@894187 13f79535-47bb-0310-9956-ffa450edef68
2009-12-28 15:30:03 +00:00
Luc Maisonobe
cb75cc3458
improved test coverage (now somewhere between 99% and 100%)
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@894186 13f79535-47bb-0310-9956-ffa450edef68
2009-12-28 15:23:23 +00:00
Luc Maisonobe
9f547049c3
fixed a few remaining unnecessary copy
...
added more constructors
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@894185 13f79535-47bb-0310-9956-ffa450edef68
2009-12-28 15:21:00 +00:00
Luc Maisonobe
6f74aee73d
fixed a forgotten replacement of divide method
...
JIRA: MATH-307
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@894109 13f79535-47bb-0310-9956-ffa450edef68
2009-12-27 21:06:21 +00:00
Luc Maisonobe
97a9dcf29e
adding rounding mode and scale as per 1.2
...
JIRA: MATH-307
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@894107 13f79535-47bb-0310-9956-ffa450edef68
2009-12-27 20:03:08 +00:00
Luc Maisonobe
d3b9c7f965
removed support for non-zero default values in OpenMapRealVector
...
JIRA: MATH-312
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@894093 13f79535-47bb-0310-9956-ffa450edef68
2009-12-27 18:48:16 +00:00
Luc Maisonobe
a5e03a2389
added tests showing that issues MATH-303 and MATH-304 are both invalid.
...
Jira: MATH-303, MATH-304
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@894083 13f79535-47bb-0310-9956-ffa450edef68
2009-12-27 17:33:37 +00:00
Luc Maisonobe
95f2dd6f5f
Fixed a convergence discrepancy with respect to theory in Gragg-Bulirsch-Stoer integrator.
...
JIRA: MATH-324
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@893281 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 19:30:10 +00:00