Commit Graph

444 Commits

Author SHA1 Message Date
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
Phil Steitz 3064e53dab Implemented addValue(double) using DynaBeans.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141191 13f79535-47bb-0310-9956-ffa450edef68
2004-04-24 21:43:26 +00:00
Phil Steitz 576505a290 Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141190 13f79535-47bb-0310-9956-ffa450edef68
2004-04-24 21:41:02 +00:00
Phil Steitz 683a027239 Replace deprecated TreeBag with collections 3.0 version.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141189 13f79535-47bb-0310-9956-ffa450edef68
2004-04-24 18:51:01 +00:00
Brent Worden 0505d2a32b Added exceptions to javadoc comments.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141187 13f79535-47bb-0310-9956-ffa450edef68
2004-04-23 19:50:27 +00:00
Brent Worden 96840a4a34 Added some parameter javadoc comments.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141186 13f79535-47bb-0310-9956-ffa450edef68
2004-04-23 19:30:47 +00:00
Brent Worden aa676aa690 Added javadoc comments replete with Mathworld references.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141185 13f79535-47bb-0310-9956-ffa450edef68
2004-04-23 18:51:03 +00:00
Brent Worden c952896cfa Removed some TODO comments.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141184 13f79535-47bb-0310-9956-ffa450edef68
2004-04-23 18:20:12 +00:00
Brent Worden c82f497b9a Fixed a TODO by addid a isStrictlyIncreasing method. This can be refactored later into a more reusable location.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141183 13f79535-47bb-0310-9956-ffa450edef68
2004-04-23 18:16:06 +00:00
Mark R. Diggory 8975e90c9a BeanListUnivariateImpl was misplaced during the move.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141181 13f79535-47bb-0310-9956-ffa450edef68
2004-04-20 21:02:35 +00:00
Mark R. Diggory 5afef994a9 Sorry, placed it in the wrong directory
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141180 13f79535-47bb-0310-9956-ffa450edef68
2004-04-20 21:02:21 +00:00
Mark R. Diggory d01b3bb2f9 BeanListUnivariateImpl was misplaced during the move.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141179 13f79535-47bb-0310-9956-ffa450edef68
2004-04-20 21:01:35 +00:00
Phil Steitz 75d34c629d Added missing fail stmnts, fixed index error
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141178 13f79535-47bb-0310-9956-ffa450edef68
2004-04-12 12:00:41 +00:00
Phil Steitz 9f1299ec95 Fixed error in copyright notic.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141177 13f79535-47bb-0310-9956-ffa450edef68
2004-04-12 05:26:10 +00:00
Phil Steitz 2e884beb2b Added tests for AbstractUnivariateStatistic.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141176 13f79535-47bb-0310-9956-ffa450edef68
2004-04-12 05:23:16 +00:00
Phil Steitz f5a510d4f0 Reordered checks in test() method to avoid NPE.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141175 13f79535-47bb-0310-9956-ffa450edef68
2004-04-12 05:22:11 +00:00
Phil Steitz cbb93d0d77 Eliminated tabs.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141174 13f79535-47bb-0310-9956-ffa450edef68
2004-04-12 04:22:09 +00:00
Phil Steitz bbe1c785a7 Added tests for indicator functions.
Contributed by: Christopher Schuck
Pr #28343


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141173 13f79535-47bb-0310-9956-ffa450edef68
2004-04-12 04:03:39 +00:00
Phil Steitz f7057c3ffa Moved univariate statistical aggregates into univariate package.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141172 13f79535-47bb-0310-9956-ffa450edef68
2004-04-12 02:27:50 +00:00
Phil Steitz 6e8426b2c5 Moved BivariateRegression to multivariate subpackage.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141171 13f79535-47bb-0310-9956-ffa450edef68
2004-04-11 21:52:28 +00:00
Phil Steitz c51d98d8bd Fixed imports.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141170 13f79535-47bb-0310-9956-ffa450edef68
2004-04-11 20:42:33 +00:00
Phil Steitz f7794b5b99 Moved TestStatisticTest to new inference package.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141169 13f79535-47bb-0310-9956-ffa450edef68
2004-04-11 20:30:46 +00:00
Phil Steitz 60c2400e71 Fixed package declarations.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141168 13f79535-47bb-0310-9956-ffa450edef68
2004-04-11 20:25:16 +00:00
Phil Steitz 2a9568f095 Created inference package, moved statistical tests there.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141167 13f79535-47bb-0310-9956-ffa450edef68
2004-04-11 20:19:14 +00:00
Phil Steitz 99352b4f1d Improved verification logic in test().
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141166 13f79535-47bb-0310-9956-ffa450edef68
2004-04-11 19:39:10 +00:00
Phil Steitz b6d8e5669e Javadoc. Fixed broken / malformed links.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141165 13f79535-47bb-0310-9956-ffa450edef68
2004-04-11 19:00:45 +00:00
Brent Worden 1c5a146255 Newton's method using the new differentiable interface.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141161 13f79535-47bb-0310-9956-ffa450edef68
2004-04-08 21:19:17 +00:00
Brent Worden 2898b78067 Added serveral javadoc comments. Added constructors to the matrix exception classes to mimic the existing math exceptions.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141160 13f79535-47bb-0310-9956-ffa450edef68
2004-04-08 20:46:01 +00:00
Phil Steitz 4cec2e0c71 Added preMultiply(Matrix) tests and modified preMultiply(double[]) tests to
match new interface.
Added R-verified determinant tests.
Added R-verified lu decompostion tests and tests verifying
that lu decompositions satisfy the lu matrix equation.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141159 13f79535-47bb-0310-9956-ffa450edef68
2004-04-08 07:08:22 +00:00
Phil Steitz a387134c0d Added RealMatrix preMultiply(RealMatrix).
Modified preMultiply(double[]) to return a double[].


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141158 13f79535-47bb-0310-9956-ffa450edef68
2004-04-08 07:02:55 +00:00
Phil Steitz 3a35f193cc Modified luDecompose to require that the matrix be square.
Added RealMatrix preMultiply(RealMatrix).
Modified preMultiply(double[]) to return a double[].
Renamed private pivot[] array to permutation[].
Exposed lu decomposition matrix and associated permutation
array as protected properties.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141157 13f79535-47bb-0310-9956-ffa450edef68
2004-04-08 07:01:17 +00:00
Phil Steitz 95af96d821 Improved Javadoc and fixed comparison error in indicator(short).
Contributed by: Christopher Schuck
Pr #28194


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141154 13f79535-47bb-0310-9956-ffa450edef68
2004-04-05 03:47:49 +00:00
Phil Steitz b465bb15ef Add tests to verify InvalidMatrixException is thrown by inverse() for singular or non-square matrices.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141152 13f79535-47bb-0310-9956-ffa450edef68
2004-04-03 22:19:24 +00:00
Phil Steitz 70b35ebdcc Javadoc fixes, advertise correct exception in inverse().
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141151 13f79535-47bb-0310-9956-ffa450edef68
2004-04-03 22:18:04 +00:00
Phil Steitz bba015b90b Removed misleading javadoc comment on derivative value constraints.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141150 13f79535-47bb-0310-9956-ffa450edef68
2004-04-03 03:05:33 +00:00
Phil Steitz 6f44b39611 Removed InterpolatorTest, replaced by SplineInterpolatorTest.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141149 13f79535-47bb-0310-9956-ffa450edef68
2004-04-02 21:43:35 +00:00
Phil Steitz 5f543b9e93 Removed CubicSplineFunction, replaced by PolynomialSplineFunction.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141148 13f79535-47bb-0310-9956-ffa450edef68
2004-04-02 21:39:21 +00:00
Phil Steitz ba1a9adff1 Modified tests to use derivative methods.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141147 13f79535-47bb-0310-9956-ffa450edef68
2004-04-02 21:34:41 +00:00
Phil Steitz 4ceb3413fb Added method to check that two double arrays are equal.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141146 13f79535-47bb-0310-9956-ffa450edef68
2004-04-02 21:30:08 +00:00
Phil Steitz 36fcb5c54d Fixed implementation, improved documentation.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141145 13f79535-47bb-0310-9956-ffa450edef68
2004-04-02 21:16:21 +00:00
Phil Steitz 0a46550083 Modified constructor to copy input coefficients array.
Changed evaluation to use Horner's method.
Exposed coefficients as read-only property
Implemented DifferentiableUnivariateRealFunction interfaces
Dropped redundant firstDerivative, secondDerivative methods


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141144 13f79535-47bb-0310-9956-ffa450edef68
2004-04-02 21:08:48 +00:00
Phil Steitz e7ef3aa7ab Initial commit
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141143 13f79535-47bb-0310-9956-ffa450edef68
2004-04-02 20:59:52 +00:00
Phil Steitz dff74f5748 Initial commit. Replaces InterpolatorTest.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141142 13f79535-47bb-0310-9956-ffa450edef68
2004-04-02 20:58:59 +00:00
Phil Steitz 2203f75783 Initial commit.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141141 13f79535-47bb-0310-9956-ffa450edef68
2004-04-02 20:58:11 +00:00
Phil Steitz f3676b5011 Javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141140 13f79535-47bb-0310-9956-ffa450edef68
2004-03-21 22:39:56 +00:00
Phil Steitz 2457c77035 Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141139 13f79535-47bb-0310-9956-ffa450edef68
2004-03-21 21:57:19 +00:00
Phil Steitz a6da5c1c93 Removed unused import. Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141138 13f79535-47bb-0310-9956-ffa450edef68
2004-03-21 21:56:26 +00:00
Phil Steitz b8561416a7 Override getTolerance() to work with correct target value.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141136 13f79535-47bb-0310-9956-ffa450edef68
2004-03-21 04:29:20 +00:00
Phil Steitz 2adb974fd0 Added another test, fixed reference to target values.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141135 13f79535-47bb-0310-9956-ffa450edef68
2004-03-21 04:26:54 +00:00
Phil Steitz f4c6535eca Adjusted target values for product, log sum and variance based on exact computations using BigDecimal, comparison to R. Changed percentile targets to match implemented algorithm.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141134 13f79535-47bb-0310-9956-ffa450edef68
2004-03-21 04:24:17 +00:00
Phil Steitz d39adf6803 Javadoc only. Added reference link.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141133 13f79535-47bb-0310-9956-ffa450edef68
2004-03-21 00:23:29 +00:00
Phil Steitz f630d0f9ae Corrected javadoc, minor improvment to computation.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141132 13f79535-47bb-0310-9956-ffa450edef68
2004-03-21 00:22:26 +00:00
Phil Steitz f5ae32413a Corrected javadoc, minor improvment to computation.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141131 13f79535-47bb-0310-9956-ffa450edef68
2004-03-20 23:55:19 +00:00
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