Luc Maisonobe
882493e7b1
added missing license headers (sorry)
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@506614 13f79535-47bb-0310-9956-ffa450edef68
2007-02-12 20:03:22 +00:00
Luc Maisonobe
c768f73cf1
fixed some missing serialVersionUID
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@506601 13f79535-47bb-0310-9956-ffa450edef68
2007-02-12 19:37:49 +00:00
Luc Maisonobe
08042a0c22
use properly the top level exceptions for too specific cases which don't need a devoted exception class
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@506600 13f79535-47bb-0310-9956-ffa450edef68
2007-02-12 19:35:59 +00:00
Luc Maisonobe
ee556907bb
Added and used a specialized exception for arguments outside domains
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@506595 13f79535-47bb-0310-9956-ffa450edef68
2007-02-12 19:28:57 +00:00
Luc Maisonobe
1bd2978235
Added and used a specialized exception for duplicate abscissas in sampled functions
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@506592 13f79535-47bb-0310-9956-ffa450edef68
2007-02-12 19:27:16 +00:00
Luc Maisonobe
21a95478c2
Added and used a specialized exception for continued fraction convergence errors
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@506591 13f79535-47bb-0310-9956-ffa450edef68
2007-02-12 19:23:17 +00:00
Luc Maisonobe
ee71801e77
Added and used a specialized convergence exception for exceeded iteration counts
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@506585 13f79535-47bb-0310-9956-ffa450edef68
2007-02-12 19:17:41 +00:00
Luc Maisonobe
32ea2a389a
- refactored top level of Exception hierarchy,
...
- added getPatern(), getArguments() and getMessage(Locale)
(names chosen for consistency with java.text.MessageFormat)
- deprecated some raw constructors as the top level exception are too
coarse grained and intended only as base classes for easier to use classes
- added several constructors for use by more fine grained derived classes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@506576 13f79535-47bb-0310-9956-ffa450edef68
2007-02-12 18:54:24 +00:00
Luc Maisonobe
d72010f440
added missing files from previous patches (JIRA:MATH-161 and JIRA:MATH-162)
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@496489 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 20:58:51 +00:00
Phil Steitz
cc73bfb42f
Updated contributed sources - Mantissa 7 upgrade. JIRA: MATH-162
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@488828 13f79535-47bb-0310-9956-ffa450edef68
2006-12-19 22:11:07 +00:00
Henri Yandell
f3a8579c4f
Fixed copyright header (committing in parts as the full commit timed out)
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@480443 13f79535-47bb-0310-9956-ffa450edef68
2006-11-29 07:22:34 +00:00
Henri Yandell
baffc24284
Fixed copyright header (committing in parts as the full commit timed out)
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@480442 13f79535-47bb-0310-9956-ffa450edef68
2006-11-29 07:21:22 +00:00
Henri Yandell
c1615d1aa3
Fixed copyright header (committing in parts as the full commit timed out)
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@480440 13f79535-47bb-0310-9956-ffa450edef68
2006-11-29 07:14:12 +00:00
Henri Yandell
47f3a2fd9e
Fixed copyright header (committing in parts as the full commit timed out)
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@480437 13f79535-47bb-0310-9956-ffa450edef68
2006-11-29 07:08:19 +00:00
Phil Steitz
b209e197b3
Formatting only. Eliminated tabs.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@479144 13f79535-47bb-0310-9956-ffa450edef68
2006-11-25 16:43:36 +00:00
Phil Steitz
1d1e19921c
Collection of patches to initial Mantissa sources:
...
- Fixed a problem when switching functions triggered derivatives
discontinuities
- Removed methods and classes that were deprecated in Mantissa
and do not need to be preserved in commons-math as backward compatibility
is not a problem for this newly integrated code
- Changed Vector3D and Rotation to immutable classes for ease of use
- Improved some javadoc in class Rotation
JIRA: MATH-161
Submitted (with patches) by Luc Maisonobe
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@478458 13f79535-47bb-0310-9956-ffa450edef68
2006-11-23 04:17:13 +00:00
Phil Steitz
05195b77ca
Initial commit
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@476930 13f79535-47bb-0310-9956-ffa450edef68
2006-11-19 21:36:15 +00:00
Henri Yandell
3b40592309
Fixing typo as pointed out by Remi Arntzen on commons-dev
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@428255 13f79535-47bb-0310-9956-ffa450edef68
2006-08-03 06:19:28 +00:00
Phil Steitz
08f7775741
Made constructors public in transform package.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@424172 13f79535-47bb-0310-9956-ffa450edef68
2006-07-21 04:32:29 +00:00
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
4d0b96e980
Javadoc fixes.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@419103 13f79535-47bb-0310-9956-ffa450edef68
2006-07-04 21:08:47 +00:00
Phil Steitz
ac13472bb0
Improved javadoc for nextAfter.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@419099 13f79535-47bb-0310-9956-ffa450edef68
2006-07-04 21:01:10 +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
3ebd273440
Suspended setSecureAlgorithm test, since it takes several minutes on Ubuntu.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@418646 13f79535-47bb-0310-9956-ffa450edef68
2006-07-02 20:31:25 +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
445d94e08d
Eliminated tab character.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@411645 13f79535-47bb-0310-9956-ffa450edef68
2006-06-05 03:02:49 +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
b38e48a3f1
Removed jdk 1.4 dependency in FractionFormatTest.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@388870 13f79535-47bb-0310-9956-ffa450edef68
2006-03-26 02:33:49 +00:00
Phil Steitz
99e81635e9
Moved R test sources to src/test.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@385243 13f79535-47bb-0310-9956-ffa450edef68
2006-03-12 04:29:49 +00:00
Phil Steitz
21dbde49c7
Javadoc. Complete change partially included in r385437.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@383458 13f79535-47bb-0310-9956-ffa450edef68
2006-03-06 03:33:00 +00:00
Phil Steitz
4b3c30188e
Eliminated main method.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@383457 13f79535-47bb-0310-9956-ffa450edef68
2006-03-06 03:29:14 +00:00
Phil Steitz
f10c7bda4e
Adding PascalDistributionImpl inadvertently omitted in r381115. Thanks, Gump!
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@382392 13f79535-47bb-0310-9956-ffa450edef68
2006-03-02 14:27:36 +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
61f59a02e6
Simplified code, eliminated unecessary parameters in private methods.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@365298 13f79535-47bb-0310-9956-ffa450edef68
2006-01-02 05:55:30 +00:00
Phil Steitz
1cad2e0d6b
Javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@359173 13f79535-47bb-0310-9956-ffa450edef68
2005-12-27 05:05:35 +00:00
Phil Steitz
159d0b4a90
Coding style changes to match the rest of [math].
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@359120 13f79535-47bb-0310-9956-ffa450edef68
2005-12-26 22:53:57 +00:00
Phil Steitz
25fcfe78f1
Removed dependency on ordering of roots using TestUtils.assertContains.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@359091 13f79535-47bb-0310-9956-ffa450edef68
2005-12-26 20:00:54 +00:00
Phil Steitz
bbd0846756
Added assertContains methods.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@359090 13f79535-47bb-0310-9956-ffa450edef68
2005-12-26 19:59:22 +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
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
Joerg Pietschmann
d147d1ebdd
Preliminary checkin of SoC code.
...
Contributed by: Xiaogang Zhang
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@278634 13f79535-47bb-0310-9956-ffa450edef68
2005-09-04 22:00:27 +00:00
Phil Steitz
01dcb65ae5
Javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@278558 13f79535-47bb-0310-9956-ffa450edef68
2005-09-04 04:59:26 +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
e1062a38bb
added test cases to increase test coverage.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@240383 13f79535-47bb-0310-9956-ffa450edef68
2005-08-27 03:31:40 +00:00
Brent Worden
e3ab7379e2
Merged changes in MATH_1_1 branch to trunk. This includes revision 234481 through revision 240244.
...
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@240245 13f79535-47bb-0310-9956-ffa450edef68
2005-08-26 14:05:45 +00:00
Joerg Pietschmann
154d4c999f
Comment changes ( #36211 )
...
Contributed by: Xiaogang Zhang
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@239953 13f79535-47bb-0310-9956-ffa450edef68
2005-08-24 22:27:44 +00:00
Joerg Pietschmann
b494c9f537
Fix complex square root for zero ( #36266 )
...
Contributed by: Xiaogang Zhang
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@239949 13f79535-47bb-0310-9956-ffa450edef68
2005-08-24 22:06:52 +00:00
Joerg Pietschmann
69d29afc48
Preliminary checkin of SoC code.
...
Contributed by: Xiaogang Zhang
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@239940 13f79535-47bb-0310-9956-ffa450edef68
2005-08-24 21:43:55 +00:00