135 Commits

Author SHA1 Message Date
Phil Steitz
d062702366 Changed lcm to throw ArithmeticException (instead of returning bogus
value) if the result is too large to store as an integer.
PR # 35431
Submitted by: Jörg Weimar


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@201810 13f79535-47bb-0310-9956-ffa450edef68
2005-06-26 01:19:16 +00:00
Phil Steitz
6ed937e733 Added factory for TTest, ChiSquareTest and TestUtils class with
static methods to create instances and execute tests.
PR #32663



git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@180065 13f79535-47bb-0310-9956-ffa450edef68
2005-06-05 03:58:14 +00:00
Phil Steitz
59c267c22d Add 34042 fix.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@179959 13f79535-47bb-0310-9956-ffa450edef68
2005-06-04 05:37:44 +00:00
Phil Steitz
f66cdb3a59 Update content.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@179955 13f79535-47bb-0310-9956-ffa450edef68
2005-06-04 05:19:07 +00:00
Phil Steitz
4a0814bef4 Formatting, fix errors and typos.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@179954 13f79535-47bb-0310-9956-ffa450edef68
2005-06-04 05:18:17 +00:00
Phil Steitz
a215918685 Fix typos.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@179953 13f79535-47bb-0310-9956-ffa450edef68
2005-06-04 05:17:11 +00:00
Phil Steitz
d7be6b3754 Update content, fix typos.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@179952 13f79535-47bb-0310-9956-ffa450edef68
2005-06-04 05:16:40 +00:00
Phil Steitz
ad94c5d1de Added RandomAdaptor to complete PRNG pluggability framework, updated User Guide.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@179494 13f79535-47bb-0310-9956-ffa450edef68
2005-06-02 03:06:45 +00:00
Phil Steitz
f1a9880905 Added [math] prefix to Bugzilla templates.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@179181 13f79535-47bb-0310-9956-ffa450edef68
2005-05-31 03:04:20 +00:00
Phil Steitz
f6da77e2bc Added setSubMatrix methods to RealMatrix, BigMatrix.
Modified copyIn methods to use setSubMatrix and moved array argument checking
from constructors and copyIn to setSubMatrix.
PR # 35007
Base implementation contributed by Rodrigo di Lorenzo Lopes


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@178982 13f79535-47bb-0310-9956-ffa450edef68
2005-05-29 20:26:11 +00:00
Phil Steitz
27826c40d4 Minor site updates
* Changed scm link to point to cgi
* Edited down content on main page
* Added direct link to svn on nav
* Changed download link to point directly to math page


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@171363 13f79535-47bb-0310-9956-ffa450edef68
2005-05-22 19:29:45 +00:00
Brent Worden
66f5351b0b fixed javadoc comments, added @since tags to new classes and methods, corrected hyperlinks in user guide, add fraction unit tests.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@171283 13f79535-47bb-0310-9956-ffa450edef68
2005-05-22 05:25:44 +00:00
Phil Steitz
cd3a81c0bb Added createXIdentityMatrix methods to MatrixUtils and deprecated getIdentity
methods in RealMatrixImpl, BigMatrixImpl.
Modified RealMatrixImpl, BigMatrixImpl constructors to throw
IllegalArgumentExceptions instead of ArrayIndexOutOfBounds when dimension
arguments are not positive.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@171229 13f79535-47bb-0310-9956-ffa450edef68
2005-05-21 16:29:19 +00:00
Phil Steitz
a4d35ef08b Made PRNG pluggable for classes in the random package.
* Added RandomGeneratorinterface extracted from java.util.random.
* Added and abstract implementation, AbstractRandomGenerator providing default
  implementations of methods based on nextDouble().
* Added a constructor taking a RandomGenerator as an argument to RandomDataImpl
* Changed ValueServer to use a RandomData in its constructor.
* Changes to 1.0 classes should be backward compatible
  (including serialization).


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@170243 13f79535-47bb-0310-9956-ffa450edef68
2005-05-15 18:23:35 +00:00
Phil Steitz
723dd64d2e Fixed order of entries, added due-to in last update.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@169128 13f79535-47bb-0310-9956-ffa450edef68
2005-05-08 04:55:57 +00:00
Phil Steitz
746892442f Ported numerics improvements in commons lang Fraction implementation.
Added utility methods for overflow-checked integer arithmetic and
improved gcd method in MathUtils.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@168072 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 05:14:59 +00:00
Phil Steitz
6a82146702 Fixed error in TTestImpl.homoscedasticTtest. Implementation was
incorrectly using heteroscedastic t statistic. Also improved sensitivity
of test cases.
BZ #34677
Reported by: Gilles Gaillard


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@165583 13f79535-47bb-0310-9956-ffa450edef68
2005-05-02 05:14:49 +00:00
Phil Steitz
e368d0d702 Updated copyright dates.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@161625 13f79535-47bb-0310-9956-ffa450edef68
2005-04-17 05:12:15 +00:00
Phil Steitz
4a4f843f04 Fixed javadoc errors. One-sided t-test significance adjustment was
reversed in javadoc for boolean-valued test methods.
BZ #34448
Reported by: Gilles Gaillard


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@161613 13f79535-47bb-0310-9956-ffa450edef68
2005-04-16 21:49:45 +00:00
Phil Steitz
2eb28c766c Updated to reflect 34448 fix.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@161612 13f79535-47bb-0310-9956-ffa450edef68
2005-04-16 21:42:59 +00:00
Brent Worden
0b61f84404 updating copyright
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@159729 13f79535-47bb-0310-9956-ffa450edef68
2005-04-01 20:49:27 +00:00
Brent Worden
ee310159d9 PR: 34230
Fixed bug in PolynomialSplineFunction to allow evaluation of the function at the last knot point.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@159727 13f79535-47bb-0310-9956-ffa450edef68
2005-04-01 20:45:21 +00:00
Brent Worden
93a6d754cc added weibull distribution
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@157874 13f79535-47bb-0310-9956-ffa450edef68
2005-03-17 03:20:12 +00:00
Phil Steitz
9b4fe9da0a Added subversion links
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@155666 13f79535-47bb-0310-9956-ffa450edef68
2005-02-28 05:12:42 +00:00
Phil Steitz
167aecf38d Created separate javadoc links for 1.0 release, 1.1-dev.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@155665 13f79535-47bb-0310-9956-ffa450edef68
2005-02-28 05:12:03 +00:00
Dirk Verbeeck
2a9f2b6255 convert .cvsignore to svn:ignore
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@155505 13f79535-47bb-0310-9956-ffa450edef68
2005-02-26 13:45:21 +00:00
Dirk Verbeeck
9cdfd53d3b svn:keywords correction
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@155427 13f79535-47bb-0310-9956-ffa450edef68
2005-02-26 13:11:52 +00:00
Brent Worden
19ddf2957e added cauchy distribution
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@155159 13f79535-47bb-0310-9956-ffa450edef68
2005-02-24 03:59:05 +00:00
Brent Worden
0bc811fa7f added rounding methods.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@151480 13f79535-47bb-0310-9956-ffa450edef68
2005-02-05 06:24:20 +00:00
Brent Worden
d53731afbe added fraction class and fraction formatting classes.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@151479 13f79535-47bb-0310-9956-ffa450edef68
2005-02-05 05:49:45 +00:00
Dirk Verbeeck
3bad03d075 change http://nagoya.apache.org/bugzilla
to http://issues.apache.org/bugzilla

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@149300 13f79535-47bb-0310-9956-ffa450edef68
2005-01-31 21:03:02 +00:00
Phil Steitz
d81e3a0765 Prepare for 1.0 release.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141515 13f79535-47bb-0310-9956-ffa450edef68
2004-12-07 03:57:19 +00:00
Phil Steitz
fdbecfc0b9 Updated to reflect PR# 32538 changes.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141514 13f79535-47bb-0310-9956-ffa450edef68
2004-12-06 06:03:01 +00:00
Phil Steitz
231b152acd Upped advertised JDK compatability level to 1.3.
- Complex equals uses Double.doubletoRawLongBits (fixing would make
   equals less sensitive).
 - Beta fails compilation (easy to fix)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141511 13f79535-47bb-0310-9956-ffa450edef68
2004-12-05 23:56:50 +00:00
Phil Steitz
b622f54ef7 Eliminate dup entry added by mistake in last commit.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141508 13f79535-47bb-0310-9956-ffa450edef68
2004-12-05 17:42:36 +00:00
Phil Steitz
a403c7da89 Updated for 1.0 release.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141506 13f79535-47bb-0310-9956-ffa450edef68
2004-12-05 17:21:30 +00:00
Phil Steitz
01c927d650 Fixed spelling.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141502 13f79535-47bb-0310-9956-ffa450edef68
2004-11-09 12:41:37 +00:00
Brent Worden
81b1571ad3 added poisson description to user guide.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141501 13f79535-47bb-0310-9956-ffa450edef68
2004-11-09 02:26:55 +00:00
Phil Steitz
2b1de18a2d Prepare for Rc2.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141500 13f79535-47bb-0310-9956-ffa450edef68
2004-11-08 01:42:49 +00:00
Phil Steitz
1f6963b660 Prepare for RC2.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141499 13f79535-47bb-0310-9956-ffa450edef68
2004-11-08 01:38:17 +00:00
Phil Steitz
78bf73cb68 Fixed broken javadoc link.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141498 13f79535-47bb-0310-9956-ffa450edef68
2004-11-08 01:03:43 +00:00
Phil Steitz
d4638be678 Removed broken link.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141497 13f79535-47bb-0310-9956-ffa450edef68
2004-11-08 00:56:06 +00:00
Phil Steitz
9e6639abd6 Updated to reflect PR 31713 changes.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141495 13f79535-47bb-0310-9956-ffa450edef68
2004-11-07 20:31:23 +00:00
Phil Steitz
e2daf5fd17 Updated to reflect distribution package changes.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141493 13f79535-47bb-0310-9956-ffa450edef68
2004-11-07 05:07:29 +00:00
Phil Steitz
9000bde94d Updated to reflect BigMatrix changes.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141487 13f79535-47bb-0310-9956-ffa450edef68
2004-10-25 05:37:32 +00:00
Phil Steitz
6303d4f979 Fixed typo.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141478 13f79535-47bb-0310-9956-ffa450edef68
2004-10-24 17:52:16 +00:00
Phil Steitz
bcdc50d516 Pr #31860 fix.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141477 13f79535-47bb-0310-9956-ffa450edef68
2004-10-24 06:40:55 +00:00
Phil Steitz
8b5b7b3ba4 Updated to reflect recent changes.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141474 13f79535-47bb-0310-9956-ffa450edef68
2004-10-14 05:10:09 +00:00
Phil Steitz
488ed27c25 Removed data mutators from RealMatrix interface and RealMatrixImpl.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141471 13f79535-47bb-0310-9956-ffa450edef68
2004-10-12 06:19:50 +00:00
Phil Steitz
d99528598e Fix issue attribute name.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@141458 13f79535-47bb-0310-9956-ffa450edef68
2004-10-08 06:25:18 +00:00