Phil Steitz
2559dc40db
Documented and fixed NaN handling.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141346 13f79535-47bb-0310-9956-ffa450edef68
2004-06-29 06:06:13 +00:00
Phil Steitz
f776bd2be9
javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141345 13f79535-47bb-0310-9956-ffa450edef68
2004-06-29 05:42:51 +00:00
Phil Steitz
ee290a0a4a
Added tests for StatisticalSummaryValues.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141344 13f79535-47bb-0310-9956-ffa450edef68
2004-06-29 02:21:33 +00:00
Phil Steitz
043e97c9fe
Implemented equals and hashcode.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141343 13f79535-47bb-0310-9956-ffa450edef68
2004-06-29 02:18:22 +00:00
Phil Steitz
d7bc4a2d8e
javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141342 13f79535-47bb-0310-9956-ffa450edef68
2004-06-29 02:14:17 +00:00
Phil Steitz
6e21d23996
Improved javadoc, simplified implemenentation.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141341 13f79535-47bb-0310-9956-ffa450edef68
2004-06-27 19:37:51 +00:00
Phil Steitz
0ad427869d
Added tests for second, third, fourth moments.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141340 13f79535-47bb-0310-9956-ffa450edef68
2004-06-27 19:33:38 +00:00
Phil Steitz
1916ebe30a
Added tests to make sure n=0 results in NaN, n=1 returns 0.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141339 13f79535-47bb-0310-9956-ffa450edef68
2004-06-26 23:34:22 +00:00
Phil Steitz
6a3874abd5
Improved javadoc, simplified implementation.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141338 13f79535-47bb-0310-9956-ffa450edef68
2004-06-26 23:33:27 +00:00
Phil Steitz
eebb5b0c45
Added test to ensure NaN is returned for n=0, and 0 for n=1.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141337 13f79535-47bb-0310-9956-ffa450edef68
2004-06-26 22:42:37 +00:00
Phil Steitz
653035b434
Improved javadoc, simplified implementation, ensured NaN is returned when n=0.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141336 13f79535-47bb-0310-9956-ffa450edef68
2004-06-26 22:41:27 +00:00
Phil Steitz
51ca427022
Added more tests for bad input data.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141335 13f79535-47bb-0310-9956-ffa450edef68
2004-06-26 22:09:07 +00:00
Phil Steitz
2e54805bf5
Removed dead code.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141334 13f79535-47bb-0310-9956-ffa450edef68
2004-06-26 22:08:02 +00:00
Phil Steitz
7cee8c8a98
Removed dead code.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141333 13f79535-47bb-0310-9956-ffa450edef68
2004-06-26 21:20:21 +00:00
Brent Worden
b62121fdab
regenerated Ant script using relative paths.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141332 13f79535-47bb-0310-9956-ffa450edef68
2004-06-24 20:45:04 +00:00
Brent Worden
c28fd51e88
Fixed javadoc, checkstyle, and link warnings. Made some corrections and additions to the user guide.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141331 13f79535-47bb-0310-9956-ffa450edef68
2004-06-23 16:26:18 +00:00
Brent Worden
8d1b142b00
regenerated Ant script; dependencies were removed.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141330 13f79535-47bb-0310-9956-ffa450edef68
2004-06-23 13:43:23 +00:00
Phil Steitz
8a52cbfdf8
Dropped [collections] dependency.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141329 13f79535-47bb-0310-9956-ffa450edef68
2004-06-20 16:54:22 +00:00
Phil Steitz
f64734e872
Changed implementation to use TreeMap directly, eliminating [collections] depenency.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141328 13f79535-47bb-0310-9956-ffa450edef68
2004-06-20 16:53:17 +00:00
Phil Steitz
1b8645f8d1
Javadoc, formatting.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141327 13f79535-47bb-0310-9956-ffa450edef68
2004-06-20 02:54:05 +00:00
Phil Steitz
328e70e319
Fixed license header, added missing javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141326 13f79535-47bb-0310-9956-ffa450edef68
2004-06-20 01:50:18 +00:00
Phil Steitz
a2e44f7732
Added tests for special values, quantile range checking.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141325 13f79535-47bb-0310-9956-ffa450edef68
2004-06-19 21:16:12 +00:00
Phil Steitz
78ec9dc5b5
Enforced bounds on quantile, improved javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141324 13f79535-47bb-0310-9956-ffa450edef68
2004-06-19 21:14:54 +00:00
Phil Steitz
a39d48f1e5
Javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141323 13f79535-47bb-0310-9956-ffa450edef68
2004-06-18 22:11:33 +00:00
Phil Steitz
80af9ad497
Added tests for special values.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141322 13f79535-47bb-0310-9956-ffa450edef68
2004-06-18 22:10:35 +00:00
Phil Steitz
3a385a5aa0
Made increment, evaluate consistent wrt NaN, improved javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141321 13f79535-47bb-0310-9956-ffa450edef68
2004-06-18 22:09:53 +00:00
Phil Steitz
2b28400f98
Uncommented previously failing tests.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141320 13f79535-47bb-0310-9956-ffa450edef68
2004-06-18 13:31:01 +00:00
Phil Steitz
fe63fc7a81
Added tests for special values.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141319 13f79535-47bb-0310-9956-ffa450edef68
2004-06-18 13:24:46 +00:00
Phil Steitz
d3322d7d6c
Made increment and evaluate methods consistent wrt NaN values, improved javadoc, formatting.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141318 13f79535-47bb-0310-9956-ffa450edef68
2004-06-18 13:24:06 +00:00
Phil Steitz
e5ea3a0485
Added tests for special values.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141317 13f79535-47bb-0310-9956-ffa450edef68
2004-06-18 07:04:20 +00:00
Phil Steitz
e90f31a26c
Improved javadoc, implementation.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141316 13f79535-47bb-0310-9956-ffa450edef68
2004-06-18 07:03:40 +00:00
Phil Steitz
0b501b4ac6
Added tests for special values.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141315 13f79535-47bb-0310-9956-ffa450edef68
2004-06-18 06:33:27 +00:00
Phil Steitz
528614edae
Improved efficiency and javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141314 13f79535-47bb-0310-9956-ffa450edef68
2004-06-18 06:32:07 +00:00
Phil Steitz
4a92f7c65e
Formatting only. Eliminated tabs.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141313 13f79535-47bb-0310-9956-ffa450edef68
2004-06-18 04:59:06 +00:00
Phil Steitz
91912d3f7e
Javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141312 13f79535-47bb-0310-9956-ffa450edef68
2004-06-18 04:14:27 +00:00
Phil Steitz
a3d72f7906
Added tests to ensure NaN is returned for n<4
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141311 13f79535-47bb-0310-9956-ffa450edef68
2004-06-18 01:43:32 +00:00
Phil Steitz
f1ba9cea7c
Improved javadoc.
...
Eliminated unecessary / unused data members.
Made increment() and clear() throw IllegalStatException when the
statistic is based on an external moment.
Ensured that Double.NaN is returned for n < 4.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141310 13f79535-47bb-0310-9956-ffa450edef68
2004-06-18 01:42:47 +00:00
Phil Steitz
b43afdc66a
Eliminated no-op increments which will throw once *silent* increment does.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141309 13f79535-47bb-0310-9956-ffa450edef68
2004-06-18 01:30:52 +00:00
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