Commit Graph

738 Commits

Author SHA1 Message Date
Phil Steitz 24bb5fe882 Added serialization tests.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141308 13f79535-47bb-0310-9956-ffa450edef68
2004-06-17 23:51:33 +00:00
Phil Steitz fb78bf24bd Added missing statistics in toString.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141307 13f79535-47bb-0310-9956-ffa450edef68
2004-06-17 23:27:52 +00:00
Phil Steitz 6cd6c15ff5 Added tests for serialization, equals and hashcode.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141306 13f79535-47bb-0310-9956-ffa450edef68
2004-06-17 23:16:41 +00:00
Phil Steitz 43c35b9927 Implemented equals and hashcode, making summaries with identical statistics equal.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141305 13f79535-47bb-0310-9956-ffa450edef68
2004-06-17 23:14:55 +00:00
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
Phil Steitz 272846b369 Removed BeanUtils from list of dependencies.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141287 13f79535-47bb-0310-9956-ffa450edef68
2004-06-08 05:37:43 +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
Phil Steitz 09bbff13c2 Updated t-test docs to include paired, homoscedastic tests.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141275 13f79535-47bb-0310-9956-ffa450edef68
2004-06-05 19:28:43 +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
Mark R. Diggory 55e74ff9d0 My local settings forced downloads in Ant to Apache instead of Ibiblio. I've corrected this.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141272 13f79535-47bb-0310-9956-ffa450edef68
2004-06-02 14:47:03 +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 8dd233d16b Removed Dependency on BeanUtils and regenereated build.xml to reflect changes.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141266 13f79535-47bb-0310-9956-ffa450edef68
2004-06-01 23:55:31 +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