Commit Graph

61 Commits

Author SHA1 Message Date
Sebastian Bazley 9f00f6a002 Use UTF-8 encoding for copying resources to avoid platform dependency
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@766092 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 17:29:21 +00:00
Luc Maisonobe 17f0dd2da5 Added a BigFraction class that does not overflow when big numerators or denominators are used.
Jira: MATH-251

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@759543 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 18:24:11 +00:00
Luc Maisonobe 61e775706d added an implementation of Dantzig's simplex algorithm
to solve constrained linear optimization problems
JIRA: MATH-246

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@758920 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 23:25:30 +00:00
Luc Maisonobe 8bf548c5e8 Fixed an error in computing gcd and lcm for some extreme values at integer range boundaries.
JIRA: MATH-243

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@746511 13f79535-47bb-0310-9956-ffa450edef68
2009-02-21 13:54:25 +00:00
Luc Maisonobe 39a80bf2cd Added a MathUtils method to check equality given some error bounds
JIRA: MATH-247

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@746506 13f79535-47bb-0310-9956-ffa450edef68
2009-02-21 13:36:08 +00:00
Luc Maisonobe 304ae29268 applied Cyril Briquet's patch (with slight changes) to improve FastFourierTransform efficiency
JIRA: MATH-216

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@740400 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 19:59:20 +00:00
William Barker bca493b0ea Adding me to the list
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@738375 13f79535-47bb-0310-9956-ffa450edef68
2009-01-28 06:01:02 +00:00
Luc Maisonobe efb60f8449 fixed wrong subversion directory
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@737149 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 19:04:21 +00:00
Luc Maisonobe 2e405f1724 fixed various minor bugs identified by checkstyle and findbugs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@735501 13f79535-47bb-0310-9956-ffa450edef68
2009-01-18 16:57:29 +00:00
Luc Maisonobe e60e3de474 Added a new minimization package with an implementation of the Brent algorithm
contributed by Gilles Sadowski.
The implementation needs some testing as it seems to never use the parabola fitting
and only relying on golden section. This may be due to the refactoring I did on
the original patch.
Jira: MATH-177

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@735475 13f79535-47bb-0310-9956-ffa450edef68
2009-01-18 15:39:35 +00:00
Luc Maisonobe d1b140e2b6 updated findbugs plugin version
fixed exclusion rule for some false positives

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@731746 13f79535-47bb-0310-9956-ffa450edef68
2009-01-05 22:17:12 +00:00
Luc Maisonobe c4126f3174 added nth root computation for complex numbers
JIRA: MATH-236

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@729639 13f79535-47bb-0310-9956-ffa450edef68
2008-12-27 16:23:43 +00:00
Luc Maisonobe 11d8f0ec5f Added support for sparse real matrices
JIRA: MATH-230

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@726460 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 15:04:22 +00:00
Luc Maisonobe 578a219a0f Added an int/double hash map (OpenIntToDoubleHashMap) with much smaller
memory overhead than standard java.util.Map (open addressing and no boxing)

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@726459 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 14:56:50 +00:00
Luc Maisonobe 1021f180e5 Added support for multi-dimensional Fourier transform.
JIRA: MATH-152

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@724198 13f79535-47bb-0310-9956-ffa450edef68
2008-12-07 20:48:00 +00:00
Luc Maisonobe 9fc12bd85c added support for Zipf distribution
JIRA: MATH-178

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@724014 13f79535-47bb-0310-9956-ffa450edef68
2008-12-06 17:11:07 +00:00
Luc Maisonobe dc2767c461 added Ted Dunning to the list of contributors (for probability density functions)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@693607 13f79535-47bb-0310-9956-ffa450edef68
2008-09-09 20:59:01 +00:00
Niall Pemberton 3c72402b42 Upgrade to latest clirr plugin version 2.2.2 (fixes problem downloading the old artifact from the repo)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@687302 13f79535-47bb-0310-9956-ffa450edef68
2008-08-20 12:56:47 +00:00
Luc Maisonobe b47b287663 Support for one dimensional vectors has been added to the linear algebra
package with a RealVector interface, a RealVectorImpl default implementation
using a single double array to store elements and a RealVectorFormat class for
input/output.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@680166 13f79535-47bb-0310-9956-ffa450edef68
2008-07-27 19:15:22 +00:00
Niall Pemberton 51a7a27740 change commons-parent to version 11
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@678500 13f79535-47bb-0310-9956-ffa450edef68
2008-07-21 17:45:31 +00:00
Luc Maisonobe 815cb8949d putting the <project> tag on one line as recommended by the commons wiki
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@667869 13f79535-47bb-0310-9956-ffa450edef68
2008-06-14 19:30:44 +00:00
Niall Pemberton beae2e9891 COMMONSSITE-30 - fix the checkstyle configuration to work for multi-module and review/update <reporting> plugin version numbers for the poms being changed.
- pom's need to use ${basedir} for configuration files as the multi-module profile is run from commons-parent, so if not specified it can't find those files
 - the checkstyle configuration file needs to use ${checkstyle.header.file} for the headerFile property and  <headerFile> element added to the plugin config in the pom.xml
 - fix m1 checkstyle config to reflect the above where appropriate (specify header file property)


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@659441 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 06:14:37 +00:00
Luc Maisonobe c9661749db changed groupId from commons-math to org.apache.commons
as suggested in http://markmail.org/message/hxdsteovws7lalsa

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@657736 13f79535-47bb-0310-9956-ffa450edef68
2008-05-19 07:13:41 +00:00
Luc Maisonobe 6ebc980cbc changed minimum java platform version to Java5
this change was discussed in the following thread:
http://markmail.org/message/3v5imgkeh72ypm5v

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@657568 13f79535-47bb-0310-9956-ffa450edef68
2008-05-18 15:00:52 +00:00
Luc Maisonobe 35a40c78ea removed dependency on discovery
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@651235 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 12:11:21 +00:00
Luc Maisonobe 7025c49ef3 configured pom for development in branch 2.0
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@651203 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 09:17:37 +00:00
Niall Pemberton b2f0dda11d Upgrade to version 9 of commons-parent
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@635244 13f79535-47bb-0310-9956-ffa450edef68
2008-03-09 14:21:48 +00:00
Niall Pemberton ffc1d28311 Rool Math version number to 1.3-SNAPSHOT following 1.2 release
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@633875 13f79535-47bb-0310-9956-ffa450edef68
2008-03-05 15:20:28 +00:00
Niall Pemberton b4f407e7c3 Remove OSGi configuration in maven-jar-plugin (now handled by maven-bundle-plugin configured in commons-parent)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@632827 13f79535-47bb-0310-9956-ffa450edef68
2008-03-02 20:05:49 +00:00
Niall Pemberton 0df8de7691 Upgrade to commons-parent-8 and add configuration properties for OSGi (maven-bundle-plugin) and commons-build-plugin
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@632815 13f79535-47bb-0310-9956-ffa450edef68
2008-03-02 19:37:56 +00:00
Phil Steitz b73432e8d6 Made builtBy attribute configurable.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@628515 13f79535-47bb-0310-9956-ffa450edef68
2008-02-17 16:56:26 +00:00
Phil Steitz f6a6d7a0be Prepare for 1.2-RC2.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@628429 13f79535-47bb-0310-9956-ffa450edef68
2008-02-17 05:20:25 +00:00
Phil Steitz ba57ea6c80 Preparing for 1.2-RC1.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@620408 13f79535-47bb-0310-9956-ffa450edef68
2008-02-11 04:52:17 +00:00
Phil Steitz 5af7bd0c31 Updated changes.xml file location.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@620155 13f79535-47bb-0310-9956-ffa450edef68
2008-02-09 17:06:24 +00:00
Luc Maisonobe 67e1e4b48e updated junit version
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@618067 13f79535-47bb-0310-9956-ffa450edef68
2008-02-03 19:31:03 +00:00
Niall Pemberton 1c6411cdee Update m2 build:
- add findbugs-exclude-filter.xml to source distro
 - exclude Cobertura javascript files with license issues
 - remove NOTICE/LICENSE file resources (already in commons-parent pom)
 - update copyright year in NOTICE file to 2008

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@617741 13f79535-47bb-0310-9956-ffa450edef68
2008-02-02 02:10:35 +00:00
Niall Pemberton aa3cfee09b MATH-180 - Add support for OSGi to the m2 build
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@617551 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 16:31:43 +00:00
Phil Steitz 41eb3cb7b7 Added one-way ANOVA implementation.
JIRA: MATH-173
Contributed by Bob MacCallum.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@615531 13f79535-47bb-0310-9956-ffa450edef68
2008-01-26 22:42:43 +00:00
Niall Pemberton 0286c95e49 "mathuage" eqyivalent of geek-speak for math devs? Sorry but for ASF licensing you have to communicate like the rest of us!
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@612386 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 08:46:27 +00:00
Niall Pemberton 768ff5a23d upgrade to commons-parent-7
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@612219 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 21:04:51 +00:00
Luc Maisonobe f40057449a added an exclusion filter file for findbugs, to prevent false positives from being displayed
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@611643 13f79535-47bb-0310-9956-ffa450edef68
2008-01-13 20:59:58 +00:00
Niall Pemberton fb4949bd07 Upgrade to commons-parent version 6 release
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@609497 13f79535-47bb-0310-9956-ffa450edef68
2008-01-07 03:15:46 +00:00
Phil Steitz 5103a53887 updated clirr plugin version.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@598129 13f79535-47bb-0310-9956-ffa450edef68
2007-11-26 05:12:35 +00:00
Niall Pemberton f033f293ec Update m2 build
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@595590 13f79535-47bb-0310-9956-ffa450edef68
2007-11-16 08:28:36 +00:00
Henri Yandell d762008115 Changing name to 'Commons Xxx'
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@568979 13f79535-47bb-0310-9956-ffa450edef68
2007-08-23 13:38:00 +00:00
Phil Steitz a7cc642717 Updated commons parent version to 4.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@567499 13f79535-47bb-0310-9956-ffa450edef68
2007-08-19 23:06:31 +00:00
Phil Steitz 980c3ae6f1 Temporarily disabled clirr compatibility check.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@562983 13f79535-47bb-0310-9956-ffa450edef68
2007-08-05 23:08:30 +00:00
Phil Steitz 04328af1fc Removed coberta coverage check. Was causing install to fail
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@562981 13f79535-47bb-0310-9956-ffa450edef68
2007-08-05 23:00:03 +00:00
Phil Steitz 720bc3396e Step coberta back down to 2.0 - was causing build failures.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@562980 13f79535-47bb-0310-9956-ffa450edef68
2007-08-05 22:52:35 +00:00
Brett Porter f8b552a1d4 don't need to use SSL for a read-only connection
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@562975 13f79535-47bb-0310-9956-ffa450edef68
2007-08-05 21:59:36 +00:00