2881 Commits

Author SHA1 Message Date
Phil Steitz
43d8274039 Added correlated vector generation example.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1067588 13f79535-47bb-0310-9956-ffa450edef68
2011-02-06 05:34:22 +00:00
Sebastian Bazley
80e44be308 MATH-506 - revert r1067433 as it is incomplete; more discussion needed
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1067435 13f79535-47bb-0310-9956-ffa450edef68
2011-02-05 12:54:25 +00:00
Sebastian Bazley
2a8db688b1 MATH-506 The static field ChiSquareTestImpl.distribution serves no purpose.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1067433 13f79535-47bb-0310-9956-ffa450edef68
2011-02-05 12:46:36 +00:00
Gilles Sadowski
cc53a6aa67 MATH-442
Waiting for paperwork.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1067278 13f79535-47bb-0310-9956-ffa450edef68
2011-02-04 20:43:41 +00:00
Gilles Sadowski
b8478df284 Bitten again by "Arrays.copyOf".
Added more general methods in "MathUtils".
Replaced call to "Arrays" by the equivalent from "MathUtils".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1067247 13f79535-47bb-0310-9956-ffa450edef68
2011-02-04 18:08:29 +00:00
Gilles Sadowski
74bcc0b170 MATH-442
Original code provided by Dietmar Wolz.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1067216 13f79535-47bb-0310-9956-ffa450edef68
2011-02-04 16:36:08 +00:00
Gilles Sadowski
95080b966f Another unit test.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1067018 13f79535-47bb-0310-9956-ffa450edef68
2011-02-03 22:45:06 +00:00
Gilles Sadowski
719fc75901 Javadoc fix.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1066775 13f79535-47bb-0310-9956-ffa450edef68
2011-02-03 10:40:19 +00:00
Sebastian Bazley
4fcfb53d8f Drop unused last parameter
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1066393 13f79535-47bb-0310-9956-ffa450edef68
2011-02-02 09:44:55 +00:00
Sebastian Bazley
84074bf247 No point catching and then calling fail - just let JUnit do the work
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1066303 13f79535-47bb-0310-9956-ffa450edef68
2011-02-02 01:57:12 +00:00
Sebastian Bazley
eb221effa3 No point catching and then calling fail - just let JUnit do the work
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1066301 13f79535-47bb-0310-9956-ffa450edef68
2011-02-02 01:43:25 +00:00
Sebastian Bazley
b8152e7e41 No point catching and then calling fail - just let JUnit do the work
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1066299 13f79535-47bb-0310-9956-ffa450edef68
2011-02-02 01:37:49 +00:00
Sebastian Bazley
a5f5a93841 Fix broken tests: add missing fail() calls
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1066297 13f79535-47bb-0310-9956-ffa450edef68
2011-02-02 01:23:51 +00:00
Sebastian Bazley
062ff19214 Use actual array sizes rather than magic numbers
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1066279 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 23:56:36 +00:00
Sebastian Bazley
221899f3ce Tidy up test
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1066178 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 19:53:01 +00:00
Sebastian Bazley
76f4c46b44 Tidy up test
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1066176 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 19:52:05 +00:00
Sebastian Bazley
d063c84cbf Tidy up test
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1066173 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 19:45:20 +00:00
Sebastian Bazley
058bb97d72 Missing @Override
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1066172 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 19:42:06 +00:00
Sebastian Bazley
2ad336c059 Remove unnecessary throws clauses
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1066171 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 19:41:34 +00:00
Sebastian Bazley
72e13fcccc Don't waste precious ; !
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1066170 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 19:36:42 +00:00
Sebastian Bazley
b050cc3822 Unnecessary casts
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1066169 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 19:35:42 +00:00
Sebastian Bazley
ae7dc2aa99 MATH-505 TestUtils is thread-hostile - tests no longer needed
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1066156 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 19:25:21 +00:00
Sebastian Bazley
c109e906d3 MATH-505 TestUtils is thread-hostile
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1066129 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 18:46:33 +00:00
Sebastian Bazley
c5b908a195 MATH-505 TestUtils is thread-hostile
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1066128 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 18:41:37 +00:00
Gilles Sadowski
21ece86385 MATH-503
Step function.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1066018 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 12:01:03 +00:00
Sebastian Bazley
80fea20c49 Make private immutable fields final
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1065894 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 02:15:57 +00:00
Sebastian Bazley
622b2d0107 Unused import
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1065877 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 00:44:18 +00:00
Sebastian Bazley
707313c389 Unused import
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1065876 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 00:43:31 +00:00
Sebastian Bazley
fb96c0ee17 Unused imports
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1065875 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 00:43:07 +00:00
Phil Steitz
f301516390 Added section on Exceptions.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1065874 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 00:23:48 +00:00
Sebastian Bazley
828e3db622 Arrays might as well be final
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1065873 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 00:12:58 +00:00
Phil Steitz
c5641a2343 Eliminated author attribute.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1065851 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 23:22:51 +00:00
Phil Steitz
0cf2844e58 Made reference to component name consistent.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1065848 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 23:20:11 +00:00
Sebastian Bazley
f922f947ee Cannot use inheritDoc if there is nothing to inherit from
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1065763 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 20:42:00 +00:00
Sebastian Bazley
a64940bdc2 Unused import
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1065760 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 20:41:05 +00:00
Gilles Sadowski
2a76512db9 Javadoc update.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1065614 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 13:48:50 +00:00
Gilles Sadowski
36656ded2d Added utility method "copyOf" in "MathUtils".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1065595 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 13:13:38 +00:00
Phil Steitz
09d782ad0c Moved some issues from 2.2 to 3.0.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1065487 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 05:57:22 +00:00
Gilles Sadowski
6fe6e487ff MATH-503
Added sigmoid and generalized logistic functions.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1065146 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 23:38:39 +00:00
Gilles Sadowski
ec822cf7d4 Added functions.
Replaced hard-coded numbers by a named constant.
Changed display format for ratios.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1063931 13f79535-47bb-0310-9956-ffa450edef68
2011-01-27 00:31:26 +00:00
Sebastian Bazley
e56bea66fd Allow a single JUnit test to be run if the test.entry property is defined
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1063393 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 18:36:52 +00:00
Sebastian Bazley
dc0bf055a7 Use single report method to make changes to the base time easier
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1063077 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 00:28:46 +00:00
Sebastian Bazley
a333e580cd Add header line
Allow run count to be specified as system property
Use nanoTime for more accurate measurement
Scale time by number of runs

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1063064 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 23:39:22 +00:00
Sebastian Bazley
a45c81334c Trailing spaces
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1063038 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 22:34:35 +00:00
Sebastian Bazley
1361211c4e Tab police
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1063037 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 22:33:11 +00:00
Sebastian Bazley
1659159855 Allow for specific atan2 and toRadians off-by-one errors
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1063032 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 22:26:31 +00:00
Gilles Sadowski
7b09face70 Output timing info as a ratio with respect to StrictMath benchmark result.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1063019 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 22:15:44 +00:00
Luc Maisonobe
a3f6c210e3 fixed scalb for very large powers
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1062928 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 19:13:33 +00:00
Sebastian Bazley
2f7074cff0 Add numeric docs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1062925 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 19:08:57 +00:00
Sebastian Bazley
8c7b9a1495 Allow a single test to be run
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1062924 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 19:07:57 +00:00