Commit Graph

421 Commits

Author SHA1 Message Date
Phil Steitz f80d05b493 Added tests for equals and hashcode.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141304 13f79535-47bb-0310-9956-ffa450edef68
2004-06-17 22:33:23 +00:00
Phil Steitz d4a4d302a2 Implemented equals and hashcode.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141303 13f79535-47bb-0310-9956-ffa450edef68
2004-06-17 22:31:58 +00:00
Phil Steitz 1d37fc5fd5 Added method to verify that serialization / deserialization preserves equals and hashCode (when this is supported).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141302 13f79535-47bb-0310-9956-ffa450edef68
2004-06-17 21:41:56 +00:00
Phil Steitz a749d017bf Changed getUnivariateStatistic() implementation to return a new instance (so tests can use multiple instances).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141301 13f79535-47bb-0310-9956-ffa450edef68
2004-06-17 21:37:05 +00:00
Phil Steitz 297d6c9d5b Added equals and hash methods for comparing / hashing double values.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141300 13f79535-47bb-0310-9956-ffa450edef68
2004-06-17 21:31:00 +00:00
Phil Steitz 1363c7d014 Changed test class names to match implementation classes.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141299 13f79535-47bb-0310-9956-ffa450edef68
2004-06-16 03:36:12 +00:00
Phil Steitz 49a083af12 Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141298 13f79535-47bb-0310-9956-ffa450edef68
2004-06-16 03:16:26 +00:00
Phil Steitz 519542bdd2 Javadoc, formatting.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141297 13f79535-47bb-0310-9956-ffa450edef68
2004-06-15 18:33:16 +00:00
Phil Steitz b7ed15c61a Dropped load method taking string file path as argument.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141296 13f79535-47bb-0310-9956-ffa450edef68
2004-06-14 23:54:17 +00:00
Phil Steitz e668ff96b0 Dropped (unimplemented) load / saveDistribution methods.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141295 13f79535-47bb-0310-9956-ffa450edef68
2004-06-14 23:45:33 +00:00
Phil Steitz 336444a759 Dropped load / save methods taking string file paths as arguments.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141294 13f79535-47bb-0310-9956-ffa450edef68
2004-06-14 23:34:46 +00:00
Phil Steitz a6b433d257 Formatting only. Removed tabs.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141293 13f79535-47bb-0310-9956-ffa450edef68
2004-06-14 23:26:54 +00:00
Phil Steitz fc26642480 Formatting only. Removed tabs and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141292 13f79535-47bb-0310-9956-ffa450edef68
2004-06-14 23:15:15 +00:00
Phil Steitz 45224a8ead Combined Expandable, ContractableDoubleArrays into ResizableDoubleArray and dropped FixedDoubleArray.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141291 13f79535-47bb-0310-9956-ffa450edef68
2004-06-14 21:41:33 +00:00
Brent Worden 15aac108f1 removed some condition logic by changing the continued fraction representation.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141290 13f79535-47bb-0310-9956-ffa450edef68
2004-06-10 18:34:53 +00:00
Brent Worden d83250a890 PR: 29414
I changed the continued fraction used in regularizedBeta resulting in faster 
convergence.  I added the test case provided by scott and ran all units tests 
with all of them passing.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141289 13f79535-47bb-0310-9956-ffa450edef68
2004-06-10 18:27:47 +00:00
Phil Steitz 15f4e86e93 Javadoc only.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141288 13f79535-47bb-0310-9956-ffa450edef68
2004-06-08 14:19:40 +00:00
Brent Worden e626217e4d PR: 29419
Added an implementation of regularized gamma function, Q(a, x) = 1 - P(a,x), based on a continued fraction.  This converges much faster for the large x case.  I added the example submitted by Scott as a test case and ran all the test cases with everything passing.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141286 13f79535-47bb-0310-9956-ffa450edef68
2004-06-07 20:30:16 +00:00
Phil Steitz 1af2a2a253 Formatting only, Eliminated tabs and trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141285 13f79535-47bb-0310-9956-ffa450edef68
2004-06-07 03:26:31 +00:00
Phil Steitz 444c87274c Cached DistributionFactory instance.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141284 13f79535-47bb-0310-9956-ffa450edef68
2004-06-06 23:14:09 +00:00
Phil Steitz d8a43bf62a Cached DistributionFactory instance used to create TDistribution instances.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141283 13f79535-47bb-0310-9956-ffa450edef68
2004-06-06 22:28:25 +00:00
Phil Steitz e571567af9 Modified to extend ContinuousDistributionAbstractTest.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141282 13f79535-47bb-0310-9956-ffa450edef68
2004-06-06 16:39:06 +00:00
Phil Steitz c9f353cee2 Modified to extend AbstractContinuousDistribution.
Changed to throw IllegalArgumentException instead of returning NaN for
inverseCumulativeProbability argument not in [0,1].


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141281 13f79535-47bb-0310-9956-ffa450edef68
2004-06-06 16:38:05 +00:00
Phil Steitz d41fbb2325 Corrected copyright date.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141280 13f79535-47bb-0310-9956-ffa450edef68
2004-06-06 16:08:52 +00:00
Phil Steitz 73b3b9d804 Initial Commit of BigMatrix classes.
PR #28819
Submitted by Matthew Inger


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141279 13f79535-47bb-0310-9956-ffa450edef68
2004-06-06 04:20:45 +00:00
Phil Steitz cce3fc85c6 Converted tabs to spaces.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141278 13f79535-47bb-0310-9956-ffa450edef68
2004-06-05 22:31:16 +00:00
Phil Steitz 4aaa9403bd Dropped rank method.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141277 13f79535-47bb-0310-9956-ffa450edef68
2004-06-05 22:28:10 +00:00
Phil Steitz a2b5dfb92d Dropped serialization.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141276 13f79535-47bb-0310-9956-ffa450edef68
2004-06-05 20:11:06 +00:00
Mark R. Diggory 5d8d918980 Removed unused imports
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141274 13f79535-47bb-0310-9956-ffa450edef68
2004-06-04 13:54:03 +00:00
Mark R. Diggory 5453c55ee3 This call to StringUtils did very little for the following conditional structure. Consolidated code and removed dependency on lang.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141273 13f79535-47bb-0310-9956-ffa450edef68
2004-06-04 13:53:12 +00:00
Phil Steitz 73d8935012 Added support for equal variances tests.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141271 13f79535-47bb-0310-9956-ffa450edef68
2004-06-02 13:08:55 +00:00
Mark R. Diggory 7f04479e5c Adding serialversionUID to control versioning and allow for implementations that would like to maintain serialization.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141270 13f79535-47bb-0310-9956-ffa450edef68
2004-06-02 00:24:52 +00:00
Mark R. Diggory 45f78a21b9 Adding serialversionUID to control versioning and allow for implementations that would like to maintain serialization.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141269 13f79535-47bb-0310-9956-ffa450edef68
2004-06-02 00:15:16 +00:00
Mark R. Diggory e9bba109ed This class doesn't benefit from serialization, it has no internal state.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141268 13f79535-47bb-0310-9956-ffa450edef68
2004-06-02 00:14:15 +00:00
Mark R. Diggory c3256e25eb Test Example for serialization of Solvers and Functions.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141267 13f79535-47bb-0310-9956-ffa450edef68
2004-06-02 00:12:01 +00:00
Mark R. Diggory 2e9819075f These Bean Classes have been added to experimental as internal classes in BeanListUnivariateImplTest
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141265 13f79535-47bb-0310-9956-ffa450edef68
2004-06-01 23:53:16 +00:00
Mark R. Diggory a40de0d92f Now that we have BeanUtils "free" versions of these they do not need to be maintained in experimental.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141264 13f79535-47bb-0310-9956-ffa450edef68
2004-06-01 23:45:11 +00:00
Mark R. Diggory 7538855855 Exception is getting exposed where it wasn't shown before.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141263 13f79535-47bb-0310-9956-ffa450edef68
2004-06-01 23:40:29 +00:00
Mark R. Diggory 67d0cea188 Using standard jva.bean.Expression API to coerce property value in BeanTransformer.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141262 13f79535-47bb-0310-9956-ffa450edef68
2004-06-01 23:21:32 +00:00
Mark R. Diggory 3dbc735ae1 Removing Dependency on BeanUtils
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141261 13f79535-47bb-0310-9956-ffa450edef68
2004-06-01 22:15:51 +00:00
Mark R. Diggory f8e77d4ff1 Moving BeanTransformer to Experimental
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141260 13f79535-47bb-0310-9956-ffa450edef68
2004-06-01 22:10:17 +00:00
Mark R. Diggory 3126cdce8e Added Serialization UID where required.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141259 13f79535-47bb-0310-9956-ffa450edef68
2004-06-01 21:35:13 +00:00
Mark R. Diggory 01f63cf801 Consolidated AbstractDescriptiveStatistics into DescriptiveStatistics. Added Serialization interfaces where required.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141258 13f79535-47bb-0310-9956-ffa450edef68
2004-06-01 21:34:35 +00:00
Mark R. Diggory 82b4bc1943 Removing BeanListUnivariate example from test cases. Improving ListUnivariate Serialization Example.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141257 13f79535-47bb-0310-9956-ffa450edef68
2004-06-01 21:28:06 +00:00
Brent Worden 03ec3fdca5 PR: 29000
Made ComplexFormat extend java.text.Format providing complex object formatting and parsing.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141256 13f79535-47bb-0310-9956-ffa450edef68
2004-06-01 13:47:17 +00:00
Phil Steitz 63bf679540 Added implementation for paired t-test boolean method.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141255 13f79535-47bb-0310-9956-ffa450edef68
2004-06-01 00:44:24 +00:00
Phil Steitz 70950e0fe7 Javadoc fixes.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141254 13f79535-47bb-0310-9956-ffa450edef68
2004-05-31 20:57:12 +00:00
Phil Steitz 09d2c9d132 Modified to extent ContinuousDistributionAbstractTest.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141253 13f79535-47bb-0310-9956-ffa450edef68
2004-05-31 00:55:22 +00:00
Phil Steitz 5b9f353eea Modified to extend ContinuousDistributionAbstract test, improved coverage.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141252 13f79535-47bb-0310-9956-ffa450edef68
2004-05-30 22:13:35 +00:00
Phil Steitz 229c782087 Modified to extend ContinuousDistributionAbstractTest, improved coverage.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141251 13f79535-47bb-0310-9956-ffa450edef68
2004-05-30 05:54:43 +00:00
Phil Steitz df23d31d6f Fixed some typos, formatting.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141250 13f79535-47bb-0310-9956-ffa450edef68
2004-05-30 03:08:00 +00:00
Phil Steitz 1d5a4e2d3d Modified to extent ContinuousDistrbutionAbstractTest. Improved coverage.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141249 13f79535-47bb-0310-9956-ffa450edef68
2004-05-30 01:39:33 +00:00
Phil Steitz dc8569711f Added endpoint order check to cumulativeProbability(double, double).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141248 13f79535-47bb-0310-9956-ffa450edef68
2004-05-30 01:24:02 +00:00
Phil Steitz b31439f3ec Modified to extend ContinuousDistributionAbstractTest, improved coverage.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141247 13f79535-47bb-0310-9956-ffa450edef68
2004-05-29 22:52:44 +00:00
Phil Steitz 8e995890ea Initial commit.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141246 13f79535-47bb-0310-9956-ffa450edef68
2004-05-29 22:51:32 +00:00
Phil Steitz 7c230bf2c1 Added tests for paired t-tests.
PR #29049


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141245 13f79535-47bb-0310-9956-ffa450edef68
2004-05-24 05:34:30 +00:00
Phil Steitz c80262403c Added paired difference stats necessary
to support paired t-test computations
efficiently.
PR #29049


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141244 13f79535-47bb-0310-9956-ffa450edef68
2004-05-24 05:33:42 +00:00
Phil Steitz 403e4e4956 Added support for paired t-tests.
PR #29049
Reported by: Joel Freyss


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141243 13f79535-47bb-0310-9956-ffa450edef68
2004-05-24 05:29:05 +00:00
Tim O'Brien 6c07bd13a8 Addressed exception "swallowing" in test coverage. From Phil's recent
email: "If the test case throws an unexpected exception, the test 
should fail.  ....[fix] these by changing the test method signature to 
throws Exception.  This also eliminates the need to import 
MathException everywhere."


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141242 13f79535-47bb-0310-9956-ffa450edef68
2004-05-23 21:34:19 +00:00
Phil Steitz 2ad68ba544 Javadoc fixes missed in PR #29050 changes.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141241 13f79535-47bb-0310-9956-ffa450edef68
2004-05-23 05:45:11 +00:00
Phil Steitz 414788a045 Added test case for small samples, adjusted for PR #29050 changes.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141240 13f79535-47bb-0310-9956-ffa450edef68
2004-05-23 05:06:20 +00:00
Phil Steitz 2552cb1aee Modified t-test procedures to allow samples as small
as 2 observations.
PR # 29050
Reported by: Joel Freyss


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141239 13f79535-47bb-0310-9956-ffa450edef68
2004-05-23 05:04:48 +00:00
Tim O'Brien e0452e4d79 Pre Issue 29012, getKurtosisClass() did not have a tolerance; therefore,
any non-zero kurtosis was consistently mesokurtic.  Instead of getting 
into this level of detail, getKurtosisClass() has been removed, it is a
subjective measure not appropriate for DescStat.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141238 13f79535-47bb-0310-9956-ffa450edef68
2004-05-23 00:56:15 +00:00
Tim O'Brien 9459e748c8 ComplexFormat now handles situations where either the real or
imaginary part is NaN, POSITIVE_INFINITY, or NEGATIVE_INFINITY.
Three new tests were added to address these situations.
PR:
Obtained from:
Submitted by:	
Reviewed by:	
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS:   If this change addresses a PR in the problem report tracking
CVS:   database, then enter the PR number(s) here.
CVS: Obtained from:
CVS:   If this change has been taken from another system, such as NCSA,
CVS:   then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS:   If this code has been contributed to Apache by someone else; i.e.,
CVS:   they sent us a patch or a new module, then include their name/email
CVS:   address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS:   If we are doing pre-commit code reviews and someone else has
CVS:   reviewed your changes, include their name(s) here.
CVS:   If you have not had it reviewed then delete this line.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141237 13f79535-47bb-0310-9956-ffa450edef68
2004-05-23 00:52:32 +00:00
Tim O'Brien 56d545478a Got rid of a number of those pesky "Auto-generated catch block" comments from test code.
PR:
Obtained from:
Submitted by:	
Reviewed by:	
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS:   If this change addresses a PR in the problem report tracking
CVS:   database, then enter the PR number(s) here.
CVS: Obtained from:
CVS:   If this change has been taken from another system, such as NCSA,
CVS:   then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS:   If this code has been contributed to Apache by someone else; i.e.,
CVS:   they sent us a patch or a new module, then include their name/email
CVS:   address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS:   If we are doing pre-commit code reviews and someone else has
CVS:   reviewed your changes, include their name(s) here.
CVS:   If you have not had it reviewed then delete this line.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141236 13f79535-47bb-0310-9956-ffa450edef68
2004-05-23 00:33:41 +00:00
Tim O'Brien 410fb9d6ff Removed a series of unused imports in various classes both source and test.
PR:
Obtained from:
Submitted by:	
Reviewed by:	
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS:   If this change addresses a PR in the problem report tracking
CVS:   database, then enter the PR number(s) here.
CVS: Obtained from:
CVS:   If this change has been taken from another system, such as NCSA,
CVS:   then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS:   If this code has been contributed to Apache by someone else; i.e.,
CVS:   they sent us a patch or a new module, then include their name/email
CVS:   address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS:   If we are doing pre-commit code reviews and someone else has
CVS:   reviewed your changes, include their name(s) here.
CVS:   If you have not had it reviewed then delete this line.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141235 13f79535-47bb-0310-9956-ffa450edef68
2004-05-23 00:30:01 +00:00
Phil Steitz 384e07ad45 Improved efficiency.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141234 13f79535-47bb-0310-9956-ffa450edef68
2004-05-22 19:59:22 +00:00
Phil Steitz 092b61c11f Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141233 13f79535-47bb-0310-9956-ffa450edef68
2004-05-21 14:21:42 +00:00
Brent Worden b98f50b1c9 Fixed javadoc warnings.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141232 13f79535-47bb-0310-9956-ffa450edef68
2004-05-19 15:06:44 +00:00
Brent Worden f4e161390d Documented some runtime exceptions.
PR: 29013


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141231 13f79535-47bb-0310-9956-ffa450edef68
2004-05-19 14:16:32 +00:00
Phil Steitz da64b62f7e Added tests for getSummary() added to SummaryStatistics.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141230 13f79535-47bb-0310-9956-ffa450edef68
2004-05-18 04:21:28 +00:00
Phil Steitz 1ed7683a75 Added getSummary method returning StatisticalSummaryValues VO.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141229 13f79535-47bb-0310-9956-ffa450edef68
2004-05-18 04:19:53 +00:00
Phil Steitz b224cbfcff Initial commit -- value object representing statistical summary.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141228 13f79535-47bb-0310-9956-ffa450edef68
2004-05-18 04:17:29 +00:00
Phil Steitz c434c70902 Added tests corresponding to examples in user guide.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141227 13f79535-47bb-0310-9956-ffa450edef68
2004-05-18 04:08:38 +00:00
Phil Steitz 00865f38c8 javadoc typos.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141223 13f79535-47bb-0310-9956-ffa450edef68
2004-05-11 02:19:08 +00:00
Phil Steitz 73812e41db Modified to extend DiscreteDistributionAbstractTest. Added degenerate test cases.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141222 13f79535-47bb-0310-9956-ffa450edef68
2004-05-11 02:12:11 +00:00
Phil Steitz cd6d71b967 Initial commit.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141221 13f79535-47bb-0310-9956-ffa450edef68
2004-05-11 02:09:14 +00:00
Phil Steitz 38293084be Added consistency checks for constructor parameters.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141220 13f79535-47bb-0310-9956-ffa450edef68
2004-05-11 02:07:58 +00:00
Phil Steitz 617f230171 Improved documentation.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141219 13f79535-47bb-0310-9956-ffa450edef68
2004-05-11 02:05:25 +00:00
Phil Steitz c6a3107208 Improved documentation. Added x0 <= x1 check in cumulativeProbability. Required p < 1 in inverseCumulativeProbability.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141218 13f79535-47bb-0310-9956-ffa450edef68
2004-05-11 02:04:21 +00:00
Phil Steitz 0e424881ff Changed binomial coeffient computations to allow n = k = 0,
returning 1 in this case.  This is standard and also required
for degenerate hypergeometric distribution computations.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141217 13f79535-47bb-0310-9956-ffa450edef68
2004-05-09 04:36:09 +00:00
Brent Worden 21314a8b57 Replaced normal CDF routine with one based on the error function.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141214 13f79535-47bb-0310-9956-ffa450edef68
2004-05-05 19:59:11 +00:00
Phil Steitz 80b101bea5 Removed pending license investigation.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141213 13f79535-47bb-0310-9956-ffa450edef68
2004-05-05 12:32:45 +00:00
Brent Worden 84839d3f05 Added unit tests.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141212 13f79535-47bb-0310-9956-ffa450edef68
2004-05-04 13:15:47 +00:00
Brent Worden 631377f86b Removed failing test. Should never have been committed.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141211 13f79535-47bb-0310-9956-ffa450edef68
2004-05-03 23:16:39 +00:00
Brent Worden d522e47b8e Added some unit tests for descriptive statistics. Fixed bug dealing with resizing to infinite window size.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141210 13f79535-47bb-0310-9956-ffa450edef68
2004-05-03 14:32:25 +00:00
Phil Steitz 113c99fc49 Changed chi-square tests to pass long[] arrays of observed counts.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141209 13f79535-47bb-0310-9956-ffa450edef68
2004-05-03 03:08:08 +00:00
Phil Steitz 50bda14d38 Initial commit of tests replacing TestStatisticTest.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141208 13f79535-47bb-0310-9956-ffa450edef68
2004-05-03 03:04:54 +00:00
Phil Steitz a878b64c1d Initial commit of code split off from TestStatistic.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141207 13f79535-47bb-0310-9956-ffa450edef68
2004-05-03 03:03:21 +00:00
Phil Steitz 257ee19b38 Initial commit of code split off from TestStatistic. Changed observed vectors to be long[] arrays and added support for independence tests using 2-way tables.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141206 13f79535-47bb-0310-9956-ffa450edef68
2004-05-03 03:02:25 +00:00
Phil Steitz 3e97a3afbb Removed file to be replaced by TTestTest, ChiSquareTestTest.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141205 13f79535-47bb-0310-9956-ffa450edef68
2004-05-03 02:57:08 +00:00
Phil Steitz 81da2fafa1 Removed file to be replaced by TTest, ChiSquareTest.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141204 13f79535-47bb-0310-9956-ffa450edef68
2004-05-03 02:54:56 +00:00
Phil Steitz 8490149ab0 Removed file to be replaced by TTestImpl, ChiSquareTestImpl.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141203 13f79535-47bb-0310-9956-ffa450edef68
2004-05-03 02:54:09 +00:00
Brent Worden 063bb6b880 Unit tests.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141202 13f79535-47bb-0310-9956-ffa450edef68
2004-04-27 16:51:52 +00:00
Brent Worden c415dd79ae Fixed some checkstyle warnings. Added some unit tests.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141201 13f79535-47bb-0310-9956-ffa450edef68
2004-04-27 16:42:34 +00:00
Brent Worden 4952dd85d6 Fixed some checkstyle warnings. Changed checkstyle settings to use APL 2.0.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141200 13f79535-47bb-0310-9956-ffa450edef68
2004-04-27 04:37:59 +00:00
Brent Worden 9b7bab4288 Added user guide entry for continued fractions.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141199 13f79535-47bb-0310-9956-ffa450edef68
2004-04-26 20:47:07 +00:00
Brent Worden 1d0286e297 Touched up the javadoc comments.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141197 13f79535-47bb-0310-9956-ffa450edef68
2004-04-26 19:15:48 +00:00
Brent Worden 04e808a26e Added missing package.html files and added APL 2.0 to existing files.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141196 13f79535-47bb-0310-9956-ffa450edef68
2004-04-26 18:28:18 +00:00
Phil Steitz 7c918e3c65 Fixed formatting, eliminated swallowed exceptions.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141194 13f79535-47bb-0310-9956-ffa450edef68
2004-04-25 19:38:17 +00:00