Mark R. Diggory
62577ea18b
Removal of statistical (min/max) and deleteFrontElements methods from DoubleArray interface (per our previous discussion)
...
Adjusted dependent Test and StoreUnivariateImpl classes accordingly to accomidate changes.
Added new constructor to FixedDoubleArray for double[].
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140955 13f79535-47bb-0310-9956-ffa450edef68
2003-06-27 20:58:28 +00:00
Mark R. Diggory
fd93fdf0a4
Eliminated extra pass to calc mean in std calculation.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140954 13f79535-47bb-0310-9956-ffa450edef68
2003-06-27 20:31:52 +00:00
Mark R. Diggory
220d14781d
moving test solvers to test directory
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140953 13f79535-47bb-0310-9956-ffa450edef68
2003-06-27 04:59:53 +00:00
Mark R. Diggory
2a0f365958
These only need to be in tests
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140952 13f79535-47bb-0310-9956-ffa450edef68
2003-06-27 04:59:27 +00:00
Mark R. Diggory
542211e8c4
Exceptions handling for math packages
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140951 13f79535-47bb-0310-9956-ffa450edef68
2003-06-27 04:29:42 +00:00
Mark R. Diggory
436f05c48f
PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21015
...
Submitted by: phil@steitz.com
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140950 13f79535-47bb-0310-9956-ffa450edef68
2003-06-25 13:31:25 +00:00
Mark R. Diggory
eccc4d8878
PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21005
...
Submitted by: phil@steitz.com
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140949 13f79535-47bb-0310-9956-ffa450edef68
2003-06-25 01:39:36 +00:00
Mark R. Diggory
a4c605d8a6
PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21003
...
Submitted by: phil@steitz.com
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140948 13f79535-47bb-0310-9956-ffa450edef68
2003-06-25 01:35:46 +00:00
Mark R. Diggory
a235488095
PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21023
...
Submitted by: j3322ptm@yahoo.de HotFusionMan@Yahoo.com
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140947 13f79535-47bb-0310-9956-ffa450edef68
2003-06-25 01:29:18 +00:00
Mark R. Diggory
0d757f3e99
Added Checks for Exceptions
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140946 13f79535-47bb-0310-9956-ffa450edef68
2003-06-24 14:08:40 +00:00
Mark R. Diggory
fed1f17d61
Additon of begin and length controls to StatUtils. Addition on test for array conditions.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140945 13f79535-47bb-0310-9956-ffa450edef68
2003-06-24 14:03:32 +00:00
Mark R. Diggory
65062ddc86
This is the second half of this pr. Commit of analysis solver tests.
...
PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20844
Submitted by: J. Pietschman
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140944 13f79535-47bb-0310-9956-ffa450edef68
2003-06-24 03:02:28 +00:00
Mark R. Diggory
50520ebc12
This is the first half of this pr. Commit of analysis solvers.
...
PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20844
Submitted by: J. Pietschman
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140943 13f79535-47bb-0310-9956-ffa450edef68
2003-06-24 03:01:40 +00:00
Mark R. Diggory
4f17b718b3
Initial commit of package refactorings discussed in the group.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140942 13f79535-47bb-0310-9956-ffa450edef68
2003-06-22 03:57:57 +00:00
Mark R. Diggory
9b2b61b777
Removing Product from Univariate Interface, applying sumLog changes to geomean in AbstractStoreUnivariate.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140941 13f79535-47bb-0310-9956-ffa450edef68
2003-06-21 23:38:27 +00:00
Mark R. Diggory
8936d6e3a6
moving TestStatistic to stat package.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140940 13f79535-47bb-0310-9956-ffa450edef68
2003-06-21 23:07:23 +00:00
Mark R. Diggory
7dc1c05c59
Moving TestStatisticTest to stat package.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140939 13f79535-47bb-0310-9956-ffa450edef68
2003-06-21 23:02:51 +00:00
Mark R. Diggory
5e7fe90154
Moving TestStatistic implementation / interface into stat package.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140938 13f79535-47bb-0310-9956-ffa450edef68
2003-06-21 23:00:39 +00:00
Mark R. Diggory
8d3d1889fb
Removed last of the Math.pow's
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140937 13f79535-47bb-0310-9956-ffa450edef68
2003-06-21 02:54:55 +00:00
Mark R. Diggory
b84e9460b5
This is a multifile commit, it covers checkstyle errors in javadoc etc.
...
PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20936
Submitted by: brent@worden.org
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140936 13f79535-47bb-0310-9956-ffa450edef68
2003-06-21 02:21:49 +00:00
Mark R. Diggory
d3f4480aff
PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20980
...
Submitted by: phil@steitz.com
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140935 13f79535-47bb-0310-9956-ffa450edef68
2003-06-21 02:16:43 +00:00
Mark R. Diggory
81c03fcee2
PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20979
...
Submitted by: phil@steitz.com
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140934 13f79535-47bb-0310-9956-ffa450edef68
2003-06-21 02:13:41 +00:00
Mark R. Diggory
7e2a7b5027
Adding tests for kurtosis and skew to UnivariateImpl testcase. Correcting initialization of moments in UnivariateImpl.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140933 13f79535-47bb-0310-9956-ffa450edef68
2003-06-21 02:08:23 +00:00
Mark R. Diggory
e3ea7f7638
Removing mode.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140932 13f79535-47bb-0310-9956-ffa450edef68
2003-06-21 01:55:17 +00:00
Mark R. Diggory
0da1561627
PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20964
...
Submitted by: phil@steitz.com
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140931 13f79535-47bb-0310-9956-ffa450edef68
2003-06-20 21:05:47 +00:00
Tim O'Brien
db0b59b9bc
Removed the proposed solvers, many compilation problems and a broken unit test.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140930 13f79535-47bb-0310-9956-ffa450edef68
2003-06-18 21:25:03 +00:00
Tim O'Brien
dc115509c8
Why not? Readded the statcvs report....
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140929 13f79535-47bb-0310-9956-ffa450edef68
2003-06-18 20:09:39 +00:00
Tim O'Brien
d6775caedf
Readded some activity reports to the maven site, now that we have more activity some of these reports make more sense
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140928 13f79535-47bb-0310-9956-ffa450edef68
2003-06-18 20:06:48 +00:00
Tim O'Brien
bc173f639f
1. Gamma.logGamma was expecting epsilon and maxIterations but these parameters
...
were not being referenced in that function. These parameters has been removed.
2. Also, the Lanczos coefficients are now a private static member variable of
the Gamma class.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140927 13f79535-47bb-0310-9956-ffa450edef68
2003-06-18 20:02:27 +00:00
Mark R. Diggory
0191e6129b
Initial Deposit for StatUtils unit testing, this was derived from StoreUnivariateImplTest.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140926 13f79535-47bb-0310-9956-ffa450edef68
2003-06-18 15:59:55 +00:00
Mark R. Diggory
283716c077
Last commit got formated with tabs, this is formated with spaces
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140925 13f79535-47bb-0310-9956-ffa450edef68
2003-06-18 13:57:24 +00:00
Mark R. Diggory
202a38df83
Degegates to StatUtils now for "window" case. Implemented skew and kurt using recursive moments.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140924 13f79535-47bb-0310-9956-ffa450edef68
2003-06-18 13:47:35 +00:00
Mark R. Diggory
c4c3868df6
Rolling back to previous version.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140923 13f79535-47bb-0310-9956-ffa450edef68
2003-06-18 12:42:24 +00:00
Mark R. Diggory
5179d78ef8
Simplified calculation, removing extra division.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140922 13f79535-47bb-0310-9956-ffa450edef68
2003-06-18 03:05:45 +00:00
Mark R. Diggory
7c57c2ed60
Adding corrected two-pass algorithm for variance calculation.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140921 13f79535-47bb-0310-9956-ffa450edef68
2003-06-18 03:01:28 +00:00
Mark R. Diggory
374b62d120
Addition of sumLog method (natural) to get the sum of the Logs. Altered GeometricMean to calculate the geometricMean from the sum of logs.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140920 13f79535-47bb-0310-9956-ffa450edef68
2003-06-18 01:56:03 +00:00
Mark R. Diggory
d4f6a5c818
Addition of product and geometericMean.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140919 13f79535-47bb-0310-9956-ffa450edef68
2003-06-17 23:23:07 +00:00
Mark R. Diggory
175c7c5fce
Missed two static signatures in the methods
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140918 13f79535-47bb-0310-9956-ffa450edef68
2003-06-17 23:00:17 +00:00
Mark R. Diggory
5acc48ef8d
Initial Addition of StatUtils. Some methods need review, implementation and possibly debugging
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140917 13f79535-47bb-0310-9956-ffa450edef68
2003-06-17 22:55:38 +00:00
Tim O'Brien
4de94a08c7
alternative root finding framework, and Brent-Drekker solver
...
Issue: 20844
Submitted by: J. Pietschmann
Reviewed by: T. O'Brien
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140916 13f79535-47bb-0310-9956-ffa450edef68
2003-06-17 21:16:08 +00:00
Mark R. Diggory
9318b7a749
Rolling back to version 1.5 to provide for group discussion on the subject
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140915 13f79535-47bb-0310-9956-ffa450edef68
2003-06-17 17:10:15 +00:00
Mark R. Diggory
32fd0d5a52
I'm not sure with this algorithm, but I'm going to add this test back into the Variance that protects it from returning a value less than 0.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140914 13f79535-47bb-0310-9956-ffa450edef68
2003-06-16 21:38:15 +00:00
Mark R. Diggory
0811c1790b
More correction of Javadoc errors.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140913 13f79535-47bb-0310-9956-ffa450edef68
2003-06-16 21:29:49 +00:00
Mark R. Diggory
606ef299cc
More correction of Javadoc errors that end up propigating into UnivarImpl and other implementations.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140912 13f79535-47bb-0310-9956-ffa450edef68
2003-06-16 21:24:30 +00:00
Mark R. Diggory
d246044d45
Correction of Javadoc errors that end up propigating into UnivarImpl and other implementations.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140911 13f79535-47bb-0310-9956-ffa450edef68
2003-06-16 20:58:53 +00:00
Mark R. Diggory
1be3d32358
This house-cleaning improves UnivariateImpl, in a number of ways.
...
1.) insertValue is abolished and its contents are now in addValue
2.) UnivariateImpl now extends AbstractStoredUnivariate to deligate to
those methods directly for calculating statistics when storage is active, all methods
deligate to AbstractStoreUniv when the DoubleArray is no longer null. This also means
that a majority of the StoreUnivariate interface is now implemented in Univariate to provide
deligates when storage is active, and to throw runtime exceptions when its not (this at least until
we establish rolling implementations for those methods). We should consider consolidating the
StoreUnivariate interface into the Univariate interface
3.) Calculations in addValue have been reorganized, only calculations for
the storageless solution are now present in this class. otherwise the value is
added/Rolling to the Double array when appropriate.
I'm satisfied that it passes all Unit tests.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140910 13f79535-47bb-0310-9956-ffa450edef68
2003-06-16 20:42:24 +00:00
Tim O'Brien
464aac515f
Added the graceful handling of invalid and NaN domain values. Created test
...
cases to verify the graceful handling.
Issue #: 20774
Submitted By: Brent Worden
Reviewed By: Tim O'Brien
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140909 13f79535-47bb-0310-9956-ffa450edef68
2003-06-16 20:13:43 +00:00
Mark R. Diggory
3f313dff3a
PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20782
...
Submitted by: HotFusionMan@Yahoo.com
I added this, but there are changes I'd like to make in the near future. Only the "running" aspects of the variance calc should be in the insertValue function, all other calculation should be in the getVariance function.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140908 13f79535-47bb-0310-9956-ffa450edef68
2003-06-16 14:29:30 +00:00
Mark R. Diggory
765db662a5
PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20783
...
Submitted by: phil@steitz.com
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140907 13f79535-47bb-0310-9956-ffa450edef68
2003-06-15 17:01:39 +00:00
Mark R. Diggory
09c8b57924
PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20773
...
Submitted by: brent@worden.org
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140906 13f79535-47bb-0310-9956-ffa450edef68
2003-06-14 04:24:43 +00:00