Commit Graph

974 Commits

Author SHA1 Message Date
Mark R. Diggory ffa6aac264 PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22954
Submitted by:	Brent Worden
Reviewed by:	Mark Diggory


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140994 13f79535-47bb-0310-9956-ffa450edef68
2003-09-07 03:12:56 +00:00
Joerg Pietschmann 606b836061 Added classes for binominal distribution and some infrastructure for other
discrete distributions.
Contributed by Brent Worden (brent@worden.org)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140993 13f79535-47bb-0310-9956-ffa450edef68
2003-08-16 17:06:15 +00:00
Mark R. Diggory 026c120649 Some reorganization of the Tasks List.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140992 13f79535-47bb-0310-9956-ffa450edef68
2003-08-14 13:41:09 +00:00
Mark R. Diggory b3b89139bb Just Checkstyle and Javadoc corrections
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140991 13f79535-47bb-0310-9956-ffa450edef68
2003-08-09 04:03:41 +00:00
Tim O'Brien 88b4e3dbc9 Some rewording, mostly indentation.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140990 13f79535-47bb-0310-9956-ffa450edef68
2003-07-31 21:07:37 +00:00
Tim O'Brien 5ba1bde434 Bugzilla #22002 from Brent W's patch - refactoring of UnivariateRealSolver
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140989 13f79535-47bb-0310-9956-ffa450edef68
2003-07-30 22:06:37 +00:00
Tim O'Brien 233420ee6b Bugzilla #22002: applied Brent W's patch which dealt with URSFactory and URSFImpl as well as numerous improvements to javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140988 13f79535-47bb-0310-9956-ffa450edef68
2003-07-30 21:58:11 +00:00
Mark R. Diggory 2f4e703627 Application of "apply(Functor x)" strategy (thank you Al Chou) for evaluating UnivariateStatistics against the internal storage collection without exposing the collection or its bounds.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140987 13f79535-47bb-0310-9956-ffa450edef68
2003-07-15 03:45:10 +00:00
Mark R. Diggory 1d62c398db minor javadoc cleanup
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140986 13f79535-47bb-0310-9956-ffa450edef68
2003-07-15 03:38:50 +00:00
Mark R. Diggory 45a605897e minor javadoc cleanup
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140985 13f79535-47bb-0310-9956-ffa450edef68
2003-07-15 03:37:11 +00:00
Tim O'Brien 2ab38de232 Patch for bug 21516 from Brent Worden. Fixed checkstyle bugs and added maven.javadoc.links to project.properties
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140984 13f79535-47bb-0310-9956-ffa450edef68
2003-07-11 15:59:14 +00:00
Mark R. Diggory 7c808d9071 Changes the Univariate implementations to use the UnivariateStatistic package. Slims down StatUtils by removing some of the higher moments. Reimplmenets ListUnivariate to work with NumberTransformers, turning into a Mixed Object List Univariate.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140983 13f79535-47bb-0310-9956-ffa450edef68
2003-07-09 21:46:33 +00:00
Mark R. Diggory 59f46d6a64 Adding J. Pietschmann
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140982 13f79535-47bb-0310-9956-ffa450edef68
2003-07-09 20:08:00 +00:00
Mark R. Diggory d082672a80 Removing @author tags, adding missing @version tags.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140981 13f79535-47bb-0310-9956-ffa450edef68
2003-07-09 20:04:13 +00:00
Mark R. Diggory 31166f2bbb Changing getValue to getResult.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@140980 13f79535-47bb-0310-9956-ffa450edef68
2003-07-09 16:28:30 +00:00
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