Commit Graph

1128 Commits

Author SHA1 Message Date
Luc Maisonobe 177aef7abc allow using locales with different variants
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@507253 13f79535-47bb-0310-9956-ffa450edef68
2007-02-13 22:06:30 +00:00
Luc Maisonobe 2b25d6352a set eol-style property to native
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@506713 13f79535-47bb-0310-9956-ffa450edef68
2007-02-12 22:35:08 +00:00
Luc Maisonobe 2fe2d9a4aa set eol-style property to native
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@506695 13f79535-47bb-0310-9956-ffa450edef68
2007-02-12 22:17:27 +00:00
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
Henri Yandell f55f1566f0 Maven 2 pom for Math. Tests that use getClass().getResource(String) don't work at the moment, unsure how to fix currently.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@502139 13f79535-47bb-0310-9956-ffa450edef68
2007-02-01 07:03:52 +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 8242bc2644 Setting the maven repo - apologies if this borks anything
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@486363 13f79535-47bb-0310-9956-ffa450edef68
2006-12-12 22:11:41 +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
Henri Yandell 4dd57aafc1 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@480435 13f79535-47bb-0310-9956-ffa450edef68
2006-11-29 07:06:35 +00:00
Henri Yandell c90167235a Fixing the license header. Something is up with this file, in svn diff it has a odd set of bytes on the front of the file. Possibly Windows BOM UTF-8 issue?
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@480433 13f79535-47bb-0310-9956-ffa450edef68
2006-11-29 06:53:26 +00:00
Henri Yandell 78a4ef699a Fixed header. Switched from Windows to Unix line endings as a part of this - not sure if that's problematic or not, but I don't trust that I can hack this to remain windows specific
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@480432 13f79535-47bb-0310-9956-ffa450edef68
2006-11-29 06:51:38 +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
Rahul Akolkar c0b59b0810 Point DOAP files to JIRA.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@472714 13f79535-47bb-0310-9956-ffa450edef68
2006-11-09 00:26:31 +00:00
Rahul Akolkar a68f1cbcc6 Missing SVN properties, possibly some large diffs, no functional change.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@472712 13f79535-47bb-0310-9956-ffa450edef68
2006-11-09 00:14:44 +00:00
Rahul Akolkar 9c19b57f95 Peg Commons at JCL 1.0.4. Have only looked at proper for lack of cycles, can follow up with sandbox and dormant components as they graduate or get revived.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@472702 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 23:39:13 +00:00
Henri Yandell 3da20f561c Switching viewcvs url to viewvc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@430249 13f79535-47bb-0310-9956-ffa450edef68
2006-08-10 05:12:13 +00:00
Henri Yandell 9022c8bc7a Switching viewcvs url to viewvc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@430245 13f79535-47bb-0310-9956-ffa450edef68
2006-08-10 05:09:05 +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
Henri Yandell ddc239c8ed Changing cvs.apache.org to people.apache.org. None of these locations appear to point to an svn or cvs url
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@422397 13f79535-47bb-0310-9956-ffa450edef68
2006-07-16 07:48:38 +00:00
Henri Yandell f05b6e1c3a Changing cvs.apache.org to people.apache.org. None of these locations appear to point to an svn or cvs url
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@422396 13f79535-47bb-0310-9956-ffa450edef68
2006-07-16 07:45:31 +00:00
Niall Pemberton 0bab68b3aa Changes to Math maven site/build:
- removed dependency on commons-build
- correct Jira --> JIRA
- project specific JIRA links (all open Math issues etc)


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@422131 13f79535-47bb-0310-9956-ffa450edef68
2006-07-15 01:58:59 +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 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 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 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 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 08e7d739b9 Changed maven changes plugin template to work with Jira.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@411630 13f79535-47bb-0310-9956-ffa450edef68
2006-06-05 00:59:24 +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
Robert Burrell Donkin 0a83196d6c Corrected site host name.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@408068 13f79535-47bb-0310-9956-ffa450edef68
2006-05-20 18:33:56 +00:00
Henri Yandell 51c7564a7e Switched url from bugzilla to jira
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@406847 13f79535-47bb-0310-9956-ffa450edef68
2006-05-16 05:48:03 +00:00