Commit Graph

168 Commits

Author SHA1 Message Date
Phil Steitz 075008dcd4 Modified getSumSquaredErrors method in SimpleRegression to always
return a non-negative result.
JIRA: MATH-85
Reported by Mark Osborn
Patched by Luc Maisonobe


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@419439 13f79535-47bb-0310-9956-ffa450edef68
2006-07-06 05:10:49 +00:00
Phil Steitz 00b139a1c4 Fixed bad issue attribute.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@419434 13f79535-47bb-0310-9956-ffa450edef68
2006-07-06 04:47:23 +00:00
Phil Steitz 0303fffa15 Added Fast Fourier transform
JIRA: MATH-140
Contributed by Xiaogang Zhang


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@419098 13f79535-47bb-0310-9956-ffa450edef68
2006-07-04 20:58:54 +00:00
Phil Steitz 7ec35cf7f5 Added a nextAfter method in MathUtils to return the next
machine-representable number in a specified direction from a given
floating point number.  Used this to ensure that MathUtils.round does
not return incorrect results for numbers with bad IEEE754 
representations.
JIRA: MATH-151
Reported by Buza Zoltán
Patch submitted by Luc Maisonobe


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@418934 13f79535-47bb-0310-9956-ffa450edef68
2006-07-04 08:09:25 +00:00
Phil Steitz 269822c061 Changed issue ids from BZ to Jira.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@411810 13f79535-47bb-0310-9956-ffa450edef68
2006-06-05 15:11:28 +00:00
Phil Steitz 9ebfb870a2 Modified ProperFractionFormat to reject embedded minus signs.
JIRA: MATH-60
Reported by Nhung Nnguyen


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@411647 13f79535-47bb-0310-9956-ffa450edef68
2006-06-05 03:06:52 +00:00
Phil Steitz a43a4ea63d Added Pascal distribution implementation.
JIRA: MATH-148
Contributed by Joni Salonen


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@411636 13f79535-47bb-0310-9956-ffa450edef68
2006-06-05 01:28:04 +00:00
Phil Steitz 4d603413a3 Changed Bugzilla -> Jira.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@408091 13f79535-47bb-0310-9956-ffa450edef68
2006-05-20 20:30:46 +00:00
Phil Steitz 49a15fe6cb Added Todd Parnell as contributor.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@382397 13f79535-47bb-0310-9956-ffa450edef68
2006-03-02 14:53:53 +00:00
Phil Steitz e6e3bee13f Added Pascal distribution contributed in BZ #38766.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@381115 13f79535-47bb-0310-9956-ffa450edef68
2006-02-26 16:14:03 +00:00
Brent Worden b38463a5e3 PR: 38091
ComplexFormat was not formatting double values with the provided NumberFormat.  Instead, the real part format was always used.


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@365680 13f79535-47bb-0310-9956-ffa450edef68
2006-01-03 16:47:38 +00:00
Phil Steitz 8daa059adb Changed wiki link.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@360517 13f79535-47bb-0310-9956-ffa450edef68
2006-01-01 18:43:50 +00:00
Joerg Pietschmann 372cc5eb5c Fix doc regressions caused by marging back the 1.1 branch.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@359311 13f79535-47bb-0310-9956-ffa450edef68
2005-12-27 22:50:49 +00:00
Phil Steitz a793820331 Merged userguide updates from MATH_1_1 release branch.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@358646 13f79535-47bb-0310-9956-ffa450edef68
2005-12-22 22:14:02 +00:00
Phil Steitz c5768f0660 Merged (final) src changes from MATH_1_1 release branch r321516-358399
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@358631 13f79535-47bb-0310-9956-ffa450edef68
2005-12-22 21:16:32 +00:00
Phil Steitz 87a3ee1f19 Added issue tracking page.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@358355 13f79535-47bb-0310-9956-ffa450edef68
2005-12-21 19:33:36 +00:00
Phil Steitz 3d70c862db Updated to reflect 1.1 release.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@358039 13f79535-47bb-0310-9956-ffa450edef68
2005-12-20 17:08:16 +00:00
Phil Steitz c911b5aaf8 Updated to reflect 1.1 release.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@358027 13f79535-47bb-0310-9956-ffa450edef68
2005-12-20 16:13:22 +00:00
Phil Steitz 82bb367f1f Added reminders for tabs, svn props.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@348902 13f79535-47bb-0310-9956-ffa450edef68
2005-11-25 07:00:50 +00:00
Joerg Pietschmann ab63431fbe Fix typo (http://marc.theaimsgroup.com/?l=jakarta-commons-user&m=113088082306294&w=2)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@330198 13f79535-47bb-0310-9956-ffa450edef68
2005-11-02 06:27:53 +00:00
Phil Steitz 86fa786c16 Merging bug fixes in r267517:r321515 from MATH_1_1 branch.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@322442 13f79535-47bb-0310-9956-ffa450edef68
2005-10-16 03:29:14 +00:00
Phil Steitz a888d20dc6 Eliminated *here* links.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@278559 13f79535-47bb-0310-9956-ffa450edef68
2005-09-04 05:04:53 +00:00
Phil Steitz cab4468cb6 Improved contribution-related documentation.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@278557 13f79535-47bb-0310-9956-ffa450edef68
2005-09-04 04:37:37 +00:00
Phil Steitz fe3ac4361e Merged changes from MATH_1_1 branch, r240245:r267516
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@267527 13f79535-47bb-0310-9956-ffa450edef68
2005-09-04 00:38:15 +00:00
Brent Worden fd07147f86 Merged changes in MATH_1_1 branch to trunk. This includes revision 232577 through revision 234481.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@239294 13f79535-47bb-0310-9956-ffa450edef68
2005-08-23 02:27:17 +00:00
Phil Steitz 11796d4ed1 Added numerical integration classes contributed by Xiaogang Zhang.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@232588 13f79535-47bb-0310-9956-ffa450edef68
2005-08-14 06:52:31 +00:00
Brent Worden 4eb8044ae7 PR: 35904
Changed rounding methods to not rely on BigDecimal conversions which was causing numerical error.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@231029 13f79535-47bb-0310-9956-ffa450edef68
2005-08-09 13:10:26 +00:00
Phil Steitz 22bbd54444 Changed description of submatrix change, version reference.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@208892 13f79535-47bb-0310-9956-ffa450edef68
2005-07-03 06:47:09 +00:00
Phil Steitz 0c2ac07ae3 Roll back changes inadverently made in R201919.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@201985 13f79535-47bb-0310-9956-ffa450edef68
2005-06-27 13:10:25 +00:00
Phil Steitz 30f22d9481 Eliminated tabs.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@201919 13f79535-47bb-0310-9956-ffa450edef68
2005-06-26 22:39:42 +00:00
Phil Steitz 7209fa9fb5 Added description for 1.1 release.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@201908 13f79535-47bb-0310-9956-ffa450edef68
2005-06-26 21:28:29 +00:00
Phil Steitz 33e3fd583f Formmatting, changed a couple of 'updates' to 'fixes'.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@201896 13f79535-47bb-0310-9956-ffa450edef68
2005-06-26 19:26:00 +00:00
Phil Steitz a5c011a640 Changed Fraction(double) to correctly handle near-integral arguments.
PR # 35434
Submitted by: Jörg Weimar


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@201813 13f79535-47bb-0310-9956-ffa450edef68
2005-06-26 01:52:37 +00:00
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