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
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
0c6b77b4eb
Added Frequency example showing cumPct for a value between stored values.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141119 13f79535-47bb-0310-9956-ffa450edef68
2004-03-07 00:56:14 +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
08d7f9228a
Filled in missing Frequency section.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141117 13f79535-47bb-0310-9956-ffa450edef68
2004-03-06 20:43:00 +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
Phil Steitz
e6c5757f99
Filled in missing content in univariate statistics section.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141115 13f79535-47bb-0310-9956-ffa450edef68
2004-03-03 02:32:25 +00:00
Mark R. Diggory
be15008b64
Switching to usage of menu's dtd to insert commons navigation items, using common-menus entity to reference commons menues in navigation.xml, sorting is done by Maven.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141114 13f79535-47bb-0310-9956-ffa450edef68
2004-03-02 03:27:48 +00:00
Phil Steitz
11202c19df
Added more content to statistics and distributions user guide.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141113 13f79535-47bb-0310-9956-ffa450edef68
2004-02-29 21:25:08 +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