Mark R. Diggory
fe37437c08
In cases where "getResult" contains a statistical calculation, it now
...
checks if the internal state of the underlying statistic has changed
and only recalculates if this is true. this way muliple calls to getResult
when the staistic has not been incremented are less expensive
because it is only returning a property value.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140979 13f79535-47bb-0310-9956-ffa450edef68
2003-07-09 16:24:18 +00:00
Mark R. Diggory
5192373270
actually this is ok, its a problem with the fact that the directory already exists in the cvs.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140978 13f79535-47bb-0310-9956-ffa450edef68
2003-07-08 04:01:15 +00:00
Mark R. Diggory
297d2ca686
This is an attempt to get directories working properly in .cvsignore
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140977 13f79535-47bb-0310-9956-ffa450edef68
2003-07-08 03:54:40 +00:00
Mark R. Diggory
7ec4d3874c
Its more logical not to have increment return a value, this allows a
...
distict separation between the calculation of moments and the
calculation of the actually return value of getVlaue in Storageless
approaches. With this benifit it is no longer neccessary to calculate
all the statistics moment based statistics on addValue, only the
underlying moment itself.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140976 13f79535-47bb-0310-9956-ffa450edef68
2003-07-08 03:44:12 +00:00
Mark R. Diggory
9a827be03a
Removing more of my author tags.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140975 13f79535-47bb-0310-9956-ffa450edef68
2003-07-07 23:25:14 +00:00
Mark R. Diggory
7b6c61666e
PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21360
...
Submitted by: phil@steitz.com
I applied this patch on the sourcecode, I think all project.xml and
xdoc documentation should retain some authorship at this time. If
we decide otherwise we can change this in the future.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140974 13f79535-47bb-0310-9956-ffa450edef68
2003-07-07 23:19:22 +00:00
Mark R. Diggory
4bf125a356
This commit adds the constructor and internals for setting and External Moment object to base internal calculations on. It also remove author tags and adds a new class FirstMoment to the project.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140973 13f79535-47bb-0310-9956-ffa450edef68
2003-07-07 23:06:48 +00:00
Mark R. Diggory
512f698edd
Fixing GeoMean and adding appropriate test.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140972 13f79535-47bb-0310-9956-ffa450edef68
2003-07-07 16:57:33 +00:00
Mark R. Diggory
41ac4c9203
removed extra calculation.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140971 13f79535-47bb-0310-9956-ffa450edef68
2003-07-07 14:15:20 +00:00
Tim O'Brien
e449062da5
This XML configuration file will work with the most recent Maven plugin for Checkstyle, just change the project.properties to point to this XML file.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140970 13f79535-47bb-0310-9956-ffa450edef68
2003-07-07 13:57:13 +00:00
Mark R. Diggory
faa703e40e
Addition of optimal array based evaluations available in StatUtils. These are not delegates to StatUtils, they are implementations.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140969 13f79535-47bb-0310-9956-ffa450edef68
2003-07-07 02:15:19 +00:00
Mark R. Diggory
b6871d607e
Adding incremental tests for storeless univariates as evaluations are now based on the implementations that were previously provided by StatUtils.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140968 13f79535-47bb-0310-9956-ffa450edef68
2003-07-07 02:12:47 +00:00
Mark R. Diggory
346a5756eb
Rolling Back StatUtils to previous version.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140967 13f79535-47bb-0310-9956-ffa450edef68
2003-07-06 07:18:08 +00:00
Mark R. Diggory
bc5950acb5
Fixes Compilation error that did not get commited last time.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140966 13f79535-47bb-0310-9956-ffa450edef68
2003-07-06 03:27:47 +00:00
Mark R. Diggory
8ca0c4c848
Correcting checkstyle and javadoc errors.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140965 13f79535-47bb-0310-9956-ffa450edef68
2003-07-05 19:25:38 +00:00
Mark R. Diggory
dfb732fb0c
Rotating Commons Collections version to SNAPSHOT to get latest primitive collections implementations.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140964 13f79535-47bb-0310-9956-ffa450edef68
2003-07-05 19:24:18 +00:00
Mark R. Diggory
77aa09dab9
This is an Implementation of StatUtils that uses the new UnivariateStatistic Framework and passes all JUnit StatUtils tests.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140963 13f79535-47bb-0310-9956-ffa450edef68
2003-07-05 18:29:35 +00:00
Mark R. Diggory
88d6952806
Initial Tests for UnivariateStatistic package Hierarchy.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140962 13f79535-47bb-0310-9956-ffa450edef68
2003-07-05 18:24:50 +00:00
Mark R. Diggory
aa40a7e7ce
This commit adds the individual UnivariateStatistic package hierarchy, this hierarchy
...
is currently independent of the Univariate and StoreUnivariate Implementations and provides
storeless and storage based mechanisms for working with the individual
UnivariateStatistic implementations.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140961 13f79535-47bb-0310-9956-ffa450edef68
2003-07-05 18:23:52 +00:00
Mark R. Diggory
b95322ce3d
This patch exposes the start index, internal double array of DOubleArray Implementations.
...
It adds a NumberTransformer framework for mapping Objects and Bean Properties to double primitives
It also corrects some checkstyle and javadoc errors.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140960 13f79535-47bb-0310-9956-ffa450edef68
2003-07-05 18:20:02 +00:00
Mark R. Diggory
0fd2f5fd11
This patch exposes the start index, internal double array of DOubleArray Implementations.
...
It adds a NumberTransformer framework for mapping Objects and Bean Properties to double primitives
It also corrects some checkstyle and javadoc errors.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140959 13f79535-47bb-0310-9956-ffa450edef68
2003-07-05 18:13:35 +00:00
Mark R. Diggory
2b5b0e7a14
PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21313
...
Submitted by: brent@worden.org
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140958 13f79535-47bb-0310-9956-ffa450edef68
2003-07-05 18:05:31 +00:00
Mark R. Diggory
561a4c85e7
PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21295
...
Submitted by: brent@worden.org
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140957 13f79535-47bb-0310-9956-ffa450edef68
2003-07-05 17:58:17 +00:00
Mark R. Diggory
fb359aaee0
PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21277
...
Submitted by: phil@steitz.com
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140956 13f79535-47bb-0310-9956-ffa450edef68
2003-07-05 16:59:13 +00:00
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