Commit Graph

298 Commits

Author SHA1 Message Date
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
Phil Steitz 1d2c37a6ce Commented out sysouts.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141095 13f79535-47bb-0310-9956-ffa450edef68
2004-02-16 06:30:21 +00:00
Phil Steitz 0edbfb6b89 Added load(double[]) method to EmpiricalDistribution.
Contributed by Piotr Kochanski
PR # 26772


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141092 13f79535-47bb-0310-9956-ffa450edef68
2004-02-12 04:35:09 +00:00
Tim O'Brien 9ca4863232 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141090 13f79535-47bb-0310-9956-ffa450edef68
2004-02-08 22:09:28 +00:00
Phil Steitz 21ef26838d Refactored Frequency to support cummulative frequency counts and percentages. Also eliminated the name property.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141089 13f79535-47bb-0310-9956-ffa450edef68
2004-02-08 19:51:25 +00:00
Phil Steitz f1e2670f72 Added bound to simulation loop in nextPoisson().
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141088 13f79535-47bb-0310-9956-ffa450edef68
2004-01-31 06:58:46 +00:00
Mark R. Diggory 9698abfb3b Removing default generated @author Administrator tags from Eclipse
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141080 13f79535-47bb-0310-9956-ffa450edef68
2004-01-29 16:54:05 +00:00
Mark R. Diggory de37f31a2a Actually, we should really be switching to Apache license 2.0.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141079 13f79535-47bb-0310-9956-ffa450edef68
2004-01-29 16:52:41 +00:00
Phil Steitz f6458ee9d0 Replaced unnecessary bin search with direct computation.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141078 13f79535-47bb-0310-9956-ffa450edef68
2004-01-29 06:26:14 +00:00
Phil Steitz 90be3c8e9d Speed up, clean up.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141077 13f79535-47bb-0310-9956-ffa450edef68
2004-01-29 05:27:54 +00:00
Phil Steitz 36d2a54a37 Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141076 13f79535-47bb-0310-9956-ffa450edef68
2004-01-29 04:58:36 +00:00
Tim O'Brien ec5fb0ca3d Added a simple formatting class for Complex numbers.
I had considered just implementing toString() on the complex
class, but I decided aginst it because some fields prefer
"j" to "i".  This ComplexFormat class is very straightforward,
will a number of TODOs, it is accompanied by a 10
tests.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141075 13f79535-47bb-0310-9956-ffa450edef68
2004-01-29 04:32:27 +00:00
Mark R. Diggory 19080d7f09 Happy New Year, updating all license years to 2004
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141074 13f79535-47bb-0310-9956-ffa450edef68
2004-01-29 00:49:03 +00:00
Tim O'Brien 204063d317 RealMatrix now throws two more runtime exceptions
InvalidMatrixException and MatrixIndexException


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141070 13f79535-47bb-0310-9956-ffa450edef68
2004-01-28 20:15:03 +00:00
Phil Steitz 00cfd0a1ae Eliminated unecessary first moment computations.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141068 13f79535-47bb-0310-9956-ffa450edef68
2004-01-27 02:43:44 +00:00
Mark R. Diggory 9dbee2f04e PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24962
Obtained from: sergei skarupo

Refactored all sign methods to indicator.
Created new Sign methods per wolfram specs.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141067 13f79535-47bb-0310-9956-ffa450edef68
2004-01-26 19:41:16 +00:00
Phil Steitz fcde02ecce Added Normal Distribution implementations and tests contributed by Piotr Kochanski.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141065 13f79535-47bb-0310-9956-ffa450edef68
2004-01-26 03:04:31 +00:00
Phil Steitz 1b96f28e41 Refactored statistical aggregates to separate stored, storeless implementations. Changed internal sample size counters to longs.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141064 13f79535-47bb-0310-9956-ffa450edef68
2004-01-25 21:30:41 +00:00
Phil Steitz 985aad0b1a javadoc.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141063 13f79535-47bb-0310-9956-ffa450edef68
2004-01-18 03:45:02 +00:00
Phil Steitz cc63455b3e Replace deprecated method.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141061 13f79535-47bb-0310-9956-ffa450edef68
2004-01-15 07:31:44 +00:00
Phil Steitz dd670b29cf Updated copyright date (after BZ #25972 changes).
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141059 13f79535-47bb-0310-9956-ffa450edef68
2004-01-15 05:22:08 +00:00
William Barker 98e2fabf90 Fix URL -> File conversion in the test.
I'd forgotten that I had added this to my code when looking at BZ #25972.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141056 13f79535-47bb-0310-9956-ffa450edef68
2004-01-11 20:50:11 +00:00
Phil Steitz d0ac3d2a5f Modified tests to reflect changes addressing PR #25972.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141052 13f79535-47bb-0310-9956-ffa450edef68
2004-01-11 07:26:51 +00:00
Phil Steitz e8098d425e Refactored file handling methods to eliminate use of URL.toFile(). Addressing PR #25972, reported by Bill Barker.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141051 13f79535-47bb-0310-9956-ffa450edef68
2004-01-11 07:24:30 +00:00
Phil Steitz 77a52d9827 Refactored load methods to eliminate use of URL.toFile(). Addressing PR #25972, reported by Bill Barker.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141050 13f79535-47bb-0310-9956-ffa450edef68
2004-01-11 07:22:14 +00:00
Phil Steitz cc68314882 Added load(URL). Addressing PR #25972, reported by Bill Barker.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141049 13f79535-47bb-0310-9956-ffa450edef68
2004-01-11 07:19:52 +00:00
Joerg Pietschmann 54309a11ca Added documentation.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141048 13f79535-47bb-0310-9956-ffa450edef68
2003-12-27 15:22:34 +00:00
Mark R. Diggory f608f7503c Additional Matrix Multiply test
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141046 13f79535-47bb-0310-9956-ffa450edef68
2003-11-23 20:34:41 +00:00
Mark R. Diggory b84b723efa Patch to correct error in matrix multiply
and the addition od toString method.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141045 13f79535-47bb-0310-9956-ffa450edef68
2003-11-23 20:16:17 +00:00
Mark R. Diggory 4fc6b5e54e New additions of CholeskySolver contributed by Stefan Koeberle
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141044 13f79535-47bb-0310-9956-ffa450edef68
2003-11-23 19:53:40 +00:00
Brent Worden 04094833d5 Here's my idea for approximating derivatives. It follows the decorator layout of commons-collections. The main interface point is the UnivariateRealFunctionUtils type which is responisble for creating decorated UnivariateRealFunction objects. To demostrate the how the decorators could be used, I added the UnivariateRealFunctionUtilsTest class which computes a local maximum of a function using derivative decorators and the default solver.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141043 13f79535-47bb-0310-9956-ffa450edef68
2003-11-22 05:59:31 +00:00
Mark R. Diggory 8406e7ae61 extends MathException....
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141042 13f79535-47bb-0310-9956-ffa450edef68
2003-11-20 04:26:38 +00:00
Mark R. Diggory 4683ebbf93 I've thought about this and I like the idea of getting some of this code available in the cvs for experimentation, I'm going ahead and adding it for others to look at and consider.
This directory will not get compiled into the regular build process or future distributions. We can work on an ant script to provide easy build of this if others think it neccessary.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141041 13f79535-47bb-0310-9956-ffa450edef68
2003-11-20 04:22:17 +00:00
Mark R. Diggory 3c0ef74e44 JUnit testing of serialization of all StorelessUnivariates
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141039 13f79535-47bb-0310-9956-ffa450edef68
2003-11-19 13:35:10 +00:00
Mark R. Diggory 29aba171ed Additional tooling for simple JUnit testing of serialization.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141038 13f79535-47bb-0310-9956-ffa450edef68
2003-11-19 13:26:42 +00:00
Mark R. Diggory c468a07aa6 Added Serialization Interface to all Implementations
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141036 13f79535-47bb-0310-9956-ffa450edef68
2003-11-19 03:28:25 +00:00
Mark R. Diggory 0718895962 Exposed MathException handling in Distributions by adding thows MathException to methods where MathExceptions are caught and replaced with Double.NaN. Added Serialization Interface to Distributions, BivariateRegression and TestStatistic
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141035 13f79535-47bb-0310-9956-ffa450edef68
2003-11-19 03:22:54 +00:00
Mark R. Diggory 0810e249ac fix for wrong results and stack overflow error from BivariateRegression
PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24747
Obtained from:
Submitted by:	Sergei Skarupo, Brent Worden 
Reviewed by:	Mark Diggory


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141034 13f79535-47bb-0310-9956-ffa450edef68
2003-11-18 15:07:12 +00:00
Mark R. Diggory 7374ff2c48 Older versions of the txt files that currently exist in this directory.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141028 13f79535-47bb-0310-9956-ffa450edef68
2003-11-15 20:02:46 +00:00
Dirk Verbeeck 3619649ce9 PR: http://www.mail-archive.com/commons-dev@jakarta.apache.org/msg29959.html
Submitted by:	Matt Cliff
  Reviewed by:	Mark Diggory


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141026 13f79535-47bb-0310-9956-ffa450edef68
2003-11-15 19:04:28 +00:00
Dirk Verbeeck b033502afa reapply DefaultTransformer update
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141025 13f79535-47bb-0310-9956-ffa450edef68
2003-11-15 19:02:45 +00:00
Dirk Verbeeck 90017dc7e7 remove logging
Reviewed by:	Mark Diggory


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141024 13f79535-47bb-0310-9956-ffa450edef68
2003-11-15 18:59:10 +00:00
Dirk Verbeeck 14bbddbc4c remove old files
Reviewed by:	Mark Diggory


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141023 13f79535-47bb-0310-9956-ffa450edef68
2003-11-15 18:56:16 +00:00
Dirk Verbeeck 8864381a96 Applied Brent Wardens Bug fixes to Complex implementation and tests.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141022 13f79535-47bb-0310-9956-ffa450edef68
2003-11-15 18:52:31 +00:00
Dirk Verbeeck d916ecceb2 PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24598
Submitted by:	Brent Worden
  Reviewed by:	Mark Diggory


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141021 13f79535-47bb-0310-9956-ffa450edef68
2003-11-15 18:47:09 +00:00
Dirk Verbeeck c9a0955115 PR: http://www.mail-archive.com/commons-dev@jakarta.apache.org/msg29959.html
Submitted by:	Matt Cliff
  Reviewed by:	Mark Diggory


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141020 13f79535-47bb-0310-9956-ffa450edef68
2003-11-15 18:44:52 +00:00
Dirk Verbeeck e5833affa1 Reapply changes (mdiggory 2003/11/10 09:43:34)
Moving Distributions to higher level location from o.a.c.m.stat.distirbutions to o.a.c.m.distirbutions
Changing Names of Univariates to DescriptiveStatistics and replacing Interface with Abstract Factory Implementation
Moving BeanTransformer and ListUnivariate implmenetations to test directory.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141016 13f79535-47bb-0310-9956-ffa450edef68
2003-11-15 16:01:42 +00:00