Commit Graph

213 Commits

Author SHA1 Message Date
Luc Maisonobe 7c7b56e9f3 MATH-164 add a special handling for multiplication of complex
numbers with infinite parts

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@610288 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 07:30:13 +00:00
Phil Steitz a3dc59a94d Added check and rescaling of expected counts to sum to sum of expected
counts if necessary in ChiSquare test.
JIRA: MATH-175
Reported and patched by Carl Anderson.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@610274 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 05:16:00 +00:00
Luc Maisonobe e8ba93825d fixed typos
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@608890 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 15:41:38 +00:00
Luc Maisonobe 70e682b211 [MATH-171] updated documentation according to new behavior
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@608885 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 15:21:26 +00:00
Luc Maisonobe 9ebcbd6b6d fixed typos
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@608876 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 14:54:53 +00:00
Luc Maisonobe 05bb73146d fixed typos
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@608871 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 14:47:25 +00:00
Luc Maisonobe 4b4243fc46 fixed typos
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@608870 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 14:45:46 +00:00
Phil Steitz 458abe99c2 Changed Mean.evaluate() to use a two-pass algorithm, improving accuracy
by exploiting the the fact that this method has access to the full
array of data values.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@602306 13f79535-47bb-0310-9956-ffa450edef68
2007-12-08 02:59:53 +00:00
Phil Steitz 37bcdf4123 Deprecated abstract factory methods and made SummaryStatistics
a concrete classes. Pushed implementations up from SummaryStatisticsImpl.
Made implementations of statistics configurable via setters.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@602304 13f79535-47bb-0310-9956-ffa450edef68
2007-12-08 02:48:39 +00:00
Phil Steitz 2d4fe56383 Deprecated abstract factory methods and made DescriptiveStatistics a concrete
class. Pushed implementations up from DescriptiveStatisticsImpl and deprecated
this class. Made implementations of statistics configurable via setters.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@598133 13f79535-47bb-0310-9956-ffa450edef68
2007-11-26 05:27:05 +00:00
Phil Steitz 8f4b97cdcc Moved misplaced element.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@596176 13f79535-47bb-0310-9956-ffa450edef68
2007-11-19 01:43:14 +00:00
Phil Steitz bdb18d5d10 Merged most functions from ComplexUtils into Complex class, added
static factory method to Complex.
JIRA: MATH-171
Reported and patched by Niall Pemberton


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@596159 13f79535-47bb-0310-9956-ffa450edef68
2007-11-18 23:38:05 +00:00
Brent Worden c84d037e93 set subversion properties on new files.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@590964 13f79535-47bb-0310-9956-ffa450edef68
2007-11-01 10:59:59 +00:00
Brent Worden 06da34fabc MATH-154. Added addAndCheck, mulAndCheck, and subAndCheck MathUtils methods for long integer arguments.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@590577 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 07:23:01 +00:00
Brent Worden 6afeedf161 MATH-170. added SynchronizedDescriptiveStatistics class.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@590564 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 05:38:58 +00:00
Phil Steitz 00f38adf97 s/Bugzilla/JIRA
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@582715 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 06:19:23 +00:00
Luc Maisonobe ea14dd91da fixed numerous warnings in test code (unused fields/results, fields only set to null)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@566833 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 20:36:33 +00:00
Luc Maisonobe 52b98250c2 replaced some references to Jakarta after commons switched as TLP
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@566257 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 16:43:31 +00:00
Niall Pemberton f287c93889 TLP Move change wiki URLs from "wiki.apache.org/jakarta-commons" to "wiki.apache.org/commons"
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@562963 13f79535-47bb-0310-9956-ffa450edef68
2007-08-05 21:10:51 +00:00
Niall Pemberton f4febb7fed Correct missing = signs in due-to
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@561566 13f79535-47bb-0310-9956-ffa450edef68
2007-07-31 21:59:07 +00:00
Niall Pemberton 832bd9cb61 Move Commons TLP changes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@561417 13f79535-47bb-0310-9956-ffa450edef68
2007-07-31 18:13:25 +00:00
Rahul Akolkar 9e66e1f2c9 TLP related blanket changes:
s:jakarta.apache.org/commons:commons.apache.org:
s/commons-user@jakarta.apache.org/user@commons.apache.org/
s/commons-dev@jakarta.apache.org/dev@commons.apache.org/
s/Jakarta Commons/Apache Commons/
s:svn.apache.org/viewcvs/jakarta/commons:svn.apache.org/viewvc/commons:
s:svn.apache.org/viewcvs.cgi/jakarta/commons:svn.apache.org/viewvc/commons:
s:svn.apache.org/viewvc/jakarta/commons:svn.apache.org/viewvc/commons:
s:svn.apache.org/repos/asf/jakarta/commons:svn.apache.org/repos/asf/commons:

I'd appreciate another pair of eyes on this. There are some categories we probably don't want to change ATM (hopefully, none of these snuck in):
 * Historicals (proposals etc.)
 * URLs that shouldn't change (DOCTYPE fragments etc.)
 * Test cases where namespace URLs matter etc. (I'll track any related nightly failures)


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@561230 13f79535-47bb-0310-9956-ffa450edef68
2007-07-31 04:17:09 +00:00
Henri Yandell 6bee60e63a Moving to a css on the Commons site
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@560857 13f79535-47bb-0310-9956-ffa450edef68
2007-07-30 03:57:33 +00:00
Henri Yandell c5ad359270 Fixing the mailing list addresses
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@560804 13f79535-47bb-0310-9956-ffa450edef68
2007-07-29 20:14:22 +00:00
Phil Steitz b8b6c66e1c Modified NormalDistributionImpl.cumulativeProbablity to catch
MaxIterationsExceededException and return 0 or 1, resp. if the argument
is more than 20 standard deviations from the mean.

JIRA: MATH-167


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@558450 13f79535-47bb-0310-9956-ffa450edef68
2007-07-22 02:33:08 +00:00
Luc Maisonobe 78c5894849 slightly improved documentation for random vectors generation
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@553328 13f79535-47bb-0310-9956-ffa450edef68
2007-07-04 20:49:09 +00:00
Phil Steitz 7323a8a8b1 Added two-sample (binned comparison) ChiSquare test
JIRA: MATH-160
Thanks to: Matthias Hummel



git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@550285 13f79535-47bb-0310-9956-ffa450edef68
2007-06-24 21:10:19 +00:00
Phil Steitz 9104ab39e9 Added log function.
JIRA: MATH-158



git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@549299 13f79535-47bb-0310-9956-ffa450edef68
2007-06-20 23:39:50 +00:00
Phil Steitz 35414bc4f4 Increased default epsilon for Gamma, Beta function evaluation.
JIRA: MATH-166
Reported and patched by Lukas Theussl


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@549278 13f79535-47bb-0310-9956-ffa450edef68
2007-06-20 22:24:04 +00:00
Phil Steitz 42a78122d1 Fixed some typos, minor edits.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@537703 13f79535-47bb-0310-9956-ffa450edef68
2007-05-14 04:28:00 +00:00
Luc Maisonobe bb00559975 [MATH-156] use initial guess provided by the caller to BrentSolver.solve(),
thus improving speed

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@536283 13f79535-47bb-0310-9956-ffa450edef68
2007-05-08 18:16:52 +00:00
Brent Worden 409d56d206 MATH-153: Corrected nextInt and nextLong to handle wide value ranges.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@525842 13f79535-47bb-0310-9956-ffa450edef68
2007-04-05 15:19:57 +00:00
Phil Steitz b87e7190d5 Fixed xml parse errors.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@522436 13f79535-47bb-0310-9956-ffa450edef68
2007-03-26 06:20:03 +00:00
Luc Maisonobe 2f2f0713f7 announced Mantissa packages inclusion
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@517853 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 20:26:49 +00:00
Luc Maisonobe c9f8ae6c91 linked new sections to the rest of the user guide
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@517842 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 20:04:22 +00:00
Luc Maisonobe 642cf40deb added a section for the ODE package in the user guide
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@517840 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 20:03:40 +00:00
Luc Maisonobe 9bcae682df added a section for the optimization package in the user guide
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@517839 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 20:03:21 +00:00
Luc Maisonobe c50e1c1ebc added a section for the estimation package in the user guide
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@517838 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 20:02:56 +00:00
Luc Maisonobe 83bd6ba8de added a section for the geometry package in the user guide
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@517837 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 20:02:28 +00:00
Luc Maisonobe 6536c1df10 added a section on transform methods in the user guide
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@517836 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 20:01:41 +00:00
Luc Maisonobe 96784db88a added an entry for Pascal distribution
fixed typos
fixed a code example

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/math/trunk@514875 13f79535-47bb-0310-9956-ffa450edef68
2007-03-05 21:35:31 +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
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 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 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