Commit Graph

408 Commits

Author SHA1 Message Date
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
Phil Steitz ff14c24084 Added Christopher Schuck to contributors.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141164 13f79535-47bb-0310-9956-ffa450edef68
2004-04-11 16:30:07 +00:00
Phil Steitz 10b612d0d7 Removed obsolete checkstyle properties file.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141163 13f79535-47bb-0310-9956-ffa450edef68
2004-04-11 16:05:20 +00:00
Mark R. Diggory ba660deb30 Removed extend, migrated repository, Apache project metadata and adjusted build settings appropriately.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141162 13f79535-47bb-0310-9956-ffa450edef68
2004-04-09 19:58:06 +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
Mark R. Diggory cbb3d27933 links are not inherited
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141156 13f79535-47bb-0310-9956-ffa450edef68
2004-04-05 21:52:43 +00:00
Phil Steitz d3662d7bf6 Updated to reflect current status.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141155 13f79535-47bb-0310-9956-ffa450edef68
2004-04-05 05:22:00 +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 04af29f63c Forced maven build to fail on test failure.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141153 13f79535-47bb-0310-9956-ffa450edef68
2004-04-04 04:53:16 +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 e20c24d522 Formatting.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141137 13f79535-47bb-0310-9956-ffa450edef68
2004-03-21 20:32:50 +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