Commit Graph

5526 Commits

Author SHA1 Message Date
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
Phil Steitz a9c7bad42a Eliminated author tags.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141110 13f79535-47bb-0310-9956-ffa450edef68
2004-02-29 18:50:10 +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 8b80de72bb Modified jar goal to include Apache License and notice in the jar. Fixed copyright notices. Reformatted xml.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141108 13f79535-47bb-0310-9956-ffa450edef68
2004-02-28 19:43:40 +00:00
Phil Steitz 94f23a61b5 Added copyright notice and reference to 2.0 license.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141107 13f79535-47bb-0310-9956-ffa450edef68
2004-02-28 17:47:37 +00:00
Stephen Colebourne 7eb00dc788 Change to Apache License 2.0
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141106 13f79535-47bb-0310-9956-ffa450edef68
2004-02-25 19:28:40 +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
Mark R. Diggory f6b9a428ca Adding Commons Site Look & Feel configuration to all jakarta-commons/<project>/project.properties
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141101 13f79535-47bb-0310-9956-ffa450edef68
2004-02-18 04:11:35 +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