357 Commits

Author SHA1 Message Date
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
Mark R. Diggory
1177050dc6 Happy New Year
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141073 13f79535-47bb-0310-9956-ffa450edef68
2004-01-29 00:36:22 +00:00
Mark R. Diggory
214a7aa4fc A maven.xml file with a custom goal for cutting math releases. Does snapshot resolution prior to cutting release.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141072 13f79535-47bb-0310-9956-ffa450edef68
2004-01-29 00:14:09 +00:00
Tim O'Brien
dda3ec944a Project dependencies for commons-collctions and commons-lang were pointing to the SNAPSHOT of both. When this was iriginally done, it was agreed that pointing to a SNAPSHOT was not an option for a release. Now that compatible version of these to component have been released, the versions have been updated. Commons Math now depends on collections 2.1 and lang 2.0.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141071 13f79535-47bb-0310-9956-ffa450edef68
2004-01-28 21:05:55 +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
Tim O'Brien
8647ea1d57 Added .clover and junit temp output to the cvsignore
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141069 13f79535-47bb-0310-9956-ffa450edef68
2004-01-28 20:14:19 +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
f1d4fdb488 Added Piotr Kochanski to contributors.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141066 13f79535-47bb-0310-9956-ffa450edef68
2004-01-26 03:09:15 +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
Mark R. Diggory
5a5d8eee65 shortDescription ends up going into META-INF properties file. Punctuation makes this break for some reason.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141062 13f79535-47bb-0310-9956-ffa450edef68
2004-01-17 18:16:01 +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
c0f2bcdaf7 Added data generation doc.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141060 13f79535-47bb-0310-9956-ffa450edef68
2004-01-15 07:29:38 +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
Phil Steitz
7061290656 Removed completed tasks section, restored future tasks, added conf intervals.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141058 13f79535-47bb-0310-9956-ffa450edef68
2004-01-15 05:18:51 +00:00
Phil Steitz
1cb445f506 Removed completed/obsolete tasks, added RealMatrix refactoring task.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141057 13f79535-47bb-0310-9956-ffa450edef68
2004-01-14 07:36:35 +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
28c13b61ba Fixed source formatting.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141055 13f79535-47bb-0310-9956-ffa450edef68
2004-01-11 19:35:22 +00:00
Phil Steitz
afc57189df Fixed capitalization.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141054 13f79535-47bb-0310-9956-ffa450edef68
2004-01-11 19:34:31 +00:00
Phil Steitz
8637f023f2 Added humble self to developers.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141053 13f79535-47bb-0310-9956-ffa450edef68
2004-01-11 07:42:20 +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
Henri Yandell
97e088c88c fixed ids, but unable to find Apache id for Albert Chou
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141047 13f79535-47bb-0310-9956-ffa450edef68
2003-12-23 03:55: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
Robert Burrell Donkin
6410d97b9b Correct typo in documentation. Submitted by Doug Bateman.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141040 13f79535-47bb-0310-9956-ffa450edef68
2003-11-19 23:22:00 +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
Brent Worden
85a8b141a3 change email address.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141037 13f79535-47bb-0310-9956-ffa450edef68
2003-11-19 07:06:47 +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
1b45cc8196 Test commit.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141033 13f79535-47bb-0310-9956-ffa450edef68
2003-11-17 20:56:13 +00:00
Mark R. Diggory
29881fdfa9 Test commit.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141032 13f79535-47bb-0310-9956-ffa450edef68
2003-11-17 20:55:34 +00:00
Mark R. Diggory
6124dbede2 Site Logo :-)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141031 13f79535-47bb-0310-9956-ffa450edef68
2003-11-17 05:38:09 +00:00
Mark R. Diggory
8eea85e167 Adding more external javadoc links.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141030 13f79535-47bb-0310-9956-ffa450edef68
2003-11-15 20:59:34 +00:00
Mark R. Diggory
d1249493e4 Adjusted Contibutors and Developers lists.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141029 13f79535-47bb-0310-9956-ffa450edef68
2003-11-15 20:57:46 +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