Commit Graph

274 Commits

Author SHA1 Message Date
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