Brent Worden
4b4b6aed43
new approach to testing against certified data sets.
...
PR: 27692
Obtained from: Brent Worden
Submitted by: Brent Worden
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141130 13f79535-47bb-0310-9956-ffa450edef68
2004-03-18 05:52:37 +00:00
Phil Steitz
4a5d8f8a00
Added tests based on NIST definition.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141129 13f79535-47bb-0310-9956-ffa450edef68
2004-03-13 20:03:16 +00:00
Phil Steitz
d29a69613e
Renamed internal field, added algorithm documentation.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141128 13f79535-47bb-0310-9956-ffa450edef68
2004-03-13 20:02:28 +00:00
Phil Steitz
6ac0ed2d8b
Fixed code and javadoc to advertise the right exceptions, cleaned up formatting.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141127 13f79535-47bb-0310-9956-ffa450edef68
2004-03-08 04:22:12 +00:00
Phil Steitz
e9c7ed28a6
Replaced low-accuracy textbook comparison values with values from R.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141126 13f79535-47bb-0310-9956-ffa450edef68
2004-03-07 21:55:18 +00:00
Phil Steitz
bd460b62fb
Stopped swallowing MathExceptions, cleaned up formatting.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141125 13f79535-47bb-0310-9956-ffa450edef68
2004-03-07 20:47:06 +00:00
Phil Steitz
b3641de2a7
Fixed javadoc typo.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141124 13f79535-47bb-0310-9956-ffa450edef68
2004-03-07 16:39:38 +00:00
Phil Steitz
e10e6db2e3
Changed to extend RetryTestCase to allow retries when statistical tests fail.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141123 13f79535-47bb-0310-9956-ffa450edef68
2004-03-07 16:32:44 +00:00
Phil Steitz
eff1e73685
Initial commit.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141122 13f79535-47bb-0310-9956-ffa450edef68
2004-03-07 16:29:38 +00:00
Phil Steitz
0a0c7e3659
Dropped extraneous line added in error with last commit.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141121 13f79535-47bb-0310-9956-ffa450edef68
2004-03-07 02:21:09 +00:00
Phil Steitz
7e6d5d5d54
Added test cases corresponding to examples in the User Guide.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141120 13f79535-47bb-0310-9956-ffa450edef68
2004-03-07 00:57:11 +00:00
Phil Steitz
3de23df528
Fixed error in getCumFreq (use custom comparator when one is supplied). Removed tabs.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141118 13f79535-47bb-0310-9956-ffa450edef68
2004-03-07 00:54:31 +00:00
Phil Steitz
e5bc149a2a
Javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141116 13f79535-47bb-0310-9956-ffa450edef68
2004-03-04 04:25:09 +00:00
Tim O'Brien
1ea467cb36
Added JavaDoc to the Complex class, still more work to be done.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141112 13f79535-47bb-0310-9956-ffa450edef68
2004-02-29 19:52:01 +00:00
Tim O'Brien
4ae88357f2
Added Javadoc to the ComplexFormat class
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141111 13f79535-47bb-0310-9956-ffa450edef68
2004-02-29 19:40:39 +00:00
Brent Worden
d948617ae5
PR: 27243
...
Obtained from: Scott Duchin
Submitted by: Brent Worden
Adding Scott's unit test. See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27243 for details.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141109 13f79535-47bb-0310-9956-ffa450edef68
2004-02-28 21:58:33 +00:00
Phil Steitz
e884e834f8
javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141105 13f79535-47bb-0310-9956-ffa450edef68
2004-02-22 22:01:29 +00:00
Phil Steitz
466c8f4211
Updated license to 2.0
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141104 13f79535-47bb-0310-9956-ffa450edef68
2004-02-21 21:35:18 +00:00
Phil Steitz
424d644417
javadoc, error message cleanup.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141103 13f79535-47bb-0310-9956-ffa450edef68
2004-02-20 06:22:39 +00:00
Phil Steitz
f41527455c
Added degree() method, degree checking in derivative computations, made constructor copy coefficient array, cleaned up javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141102 13f79535-47bb-0310-9956-ffa450edef68
2004-02-20 06:17:54 +00:00
Brent Worden
70106770ea
fixed spelling error: cummulative -> cumulative.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141100 13f79535-47bb-0310-9956-ffa450edef68
2004-02-18 04:04:18 +00:00
Phil Steitz
a3c8daf76c
Restored original copyright date.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141099 13f79535-47bb-0310-9956-ffa450edef68
2004-02-18 03:24:20 +00:00
Phil Steitz
31a89ac8db
Restored test code inadvertently deleted with last commit.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141098 13f79535-47bb-0310-9956-ffa450edef68
2004-02-17 04:33:16 +00:00
Phil Steitz
9267ae3bb2
Fixed logic in bean transformer tests to match API.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141097 13f79535-47bb-0310-9956-ffa450edef68
2004-02-16 07:04:04 +00:00
Phil Steitz
11da77c693
Stopped header comments from confusing javadoc tool.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141096 13f79535-47bb-0310-9956-ffa450edef68
2004-02-16 06:32:47 +00:00
Phil Steitz
1d2c37a6ce
Commented out sysouts.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141095 13f79535-47bb-0310-9956-ffa450edef68
2004-02-16 06:30:21 +00:00
Phil Steitz
0edbfb6b89
Added load(double[]) method to EmpiricalDistribution.
...
Contributed by Piotr Kochanski
PR # 26772
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141092 13f79535-47bb-0310-9956-ffa450edef68
2004-02-12 04:35:09 +00:00
Tim O'Brien
9ca4863232
*** empty log message ***
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141090 13f79535-47bb-0310-9956-ffa450edef68
2004-02-08 22:09:28 +00:00
Phil Steitz
21ef26838d
Refactored Frequency to support cummulative frequency counts and percentages. Also eliminated the name property.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141089 13f79535-47bb-0310-9956-ffa450edef68
2004-02-08 19:51:25 +00:00
Phil Steitz
f1e2670f72
Added bound to simulation loop in nextPoisson().
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141088 13f79535-47bb-0310-9956-ffa450edef68
2004-01-31 06:58:46 +00:00
Mark R. Diggory
9698abfb3b
Removing default generated @author Administrator tags from Eclipse
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141080 13f79535-47bb-0310-9956-ffa450edef68
2004-01-29 16:54:05 +00:00
Mark R. Diggory
de37f31a2a
Actually, we should really be switching to Apache license 2.0.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141079 13f79535-47bb-0310-9956-ffa450edef68
2004-01-29 16:52:41 +00:00
Phil Steitz
f6458ee9d0
Replaced unnecessary bin search with direct computation.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141078 13f79535-47bb-0310-9956-ffa450edef68
2004-01-29 06:26:14 +00:00
Phil Steitz
90be3c8e9d
Speed up, clean up.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141077 13f79535-47bb-0310-9956-ffa450edef68
2004-01-29 05:27:54 +00:00
Phil Steitz
36d2a54a37
Javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141076 13f79535-47bb-0310-9956-ffa450edef68
2004-01-29 04:58:36 +00:00
Tim O'Brien
ec5fb0ca3d
Added a simple formatting class for Complex numbers.
...
I had considered just implementing toString() on the complex
class, but I decided aginst it because some fields prefer
"j" to "i". This ComplexFormat class is very straightforward,
will a number of TODOs, it is accompanied by a 10
tests.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141075 13f79535-47bb-0310-9956-ffa450edef68
2004-01-29 04:32:27 +00:00
Mark R. Diggory
19080d7f09
Happy New Year, updating all license years to 2004
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141074 13f79535-47bb-0310-9956-ffa450edef68
2004-01-29 00:49:03 +00:00
Tim O'Brien
204063d317
RealMatrix now throws two more runtime exceptions
...
InvalidMatrixException and MatrixIndexException
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141070 13f79535-47bb-0310-9956-ffa450edef68
2004-01-28 20:15:03 +00:00
Phil Steitz
00cfd0a1ae
Eliminated unecessary first moment computations.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141068 13f79535-47bb-0310-9956-ffa450edef68
2004-01-27 02:43:44 +00:00
Mark R. Diggory
9dbee2f04e
PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24962
...
Obtained from: sergei skarupo
Refactored all sign methods to indicator.
Created new Sign methods per wolfram specs.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141067 13f79535-47bb-0310-9956-ffa450edef68
2004-01-26 19:41:16 +00:00
Phil Steitz
fcde02ecce
Added Normal Distribution implementations and tests contributed by Piotr Kochanski.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141065 13f79535-47bb-0310-9956-ffa450edef68
2004-01-26 03:04:31 +00:00
Phil Steitz
1b96f28e41
Refactored statistical aggregates to separate stored, storeless implementations. Changed internal sample size counters to longs.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141064 13f79535-47bb-0310-9956-ffa450edef68
2004-01-25 21:30:41 +00:00
Phil Steitz
985aad0b1a
javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141063 13f79535-47bb-0310-9956-ffa450edef68
2004-01-18 03:45:02 +00:00
Phil Steitz
cc63455b3e
Replace deprecated method.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141061 13f79535-47bb-0310-9956-ffa450edef68
2004-01-15 07:31:44 +00:00
Phil Steitz
dd670b29cf
Updated copyright date (after BZ #25972 changes).
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141059 13f79535-47bb-0310-9956-ffa450edef68
2004-01-15 05:22:08 +00:00
William Barker
98e2fabf90
Fix URL -> File conversion in the test.
...
I'd forgotten that I had added this to my code when looking at BZ #25972 .
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141056 13f79535-47bb-0310-9956-ffa450edef68
2004-01-11 20:50:11 +00:00
Phil Steitz
d0ac3d2a5f
Modified tests to reflect changes addressing PR #25972 .
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141052 13f79535-47bb-0310-9956-ffa450edef68
2004-01-11 07:26:51 +00:00
Phil Steitz
e8098d425e
Refactored file handling methods to eliminate use of URL.toFile(). Addressing PR #25972 , reported by Bill Barker.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141051 13f79535-47bb-0310-9956-ffa450edef68
2004-01-11 07:24:30 +00:00
Phil Steitz
77a52d9827
Refactored load methods to eliminate use of URL.toFile(). Addressing PR #25972 , reported by Bill Barker.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141050 13f79535-47bb-0310-9956-ffa450edef68
2004-01-11 07:22:14 +00:00
Phil Steitz
cc68314882
Added load(URL). Addressing PR #25972 , reported by Bill Barker.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141049 13f79535-47bb-0310-9956-ffa450edef68
2004-01-11 07:19:52 +00:00