Commit Graph

3731 Commits

Author SHA1 Message Date
Luc Maisonobe ee5bc06a05 removed obsolete files not referenced anymore
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1294106 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 11:08:33 +00:00
Sebastien Brisard cb3f287375 BigReal.divide(BigReal) now throws MathArithmeticException (see MATH-755).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1294043 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 06:32:59 +00:00
Sebastien Brisard 3553ded10b BigFraction.divide(BigFraction) now throws MathArithmeticException (see MATH-755).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1294027 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 04:38:45 +00:00
Sebastien Brisard 4705c4f924 Removed "throws ArithmeticException" from the signature of FieldElement<T>.divide(T), as this contract was too restrictive, and indeed broken by nearly all implementations of FieldElement<T>. See MATH-755.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1293898 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 17:58:07 +00:00
Luc Maisonobe f63bfec50c reverted vetoed code change about cloning literal arrays
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1293646 13f79535-47bb-0310-9956-ffa450edef68
2012-02-25 16:42:02 +00:00
Gilles Sadowski 822bace4ce Preparing for release 3.0.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1293447 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 21:53:05 +00:00
Gilles Sadowski f9a9cde5fb Changed branching, such that the code complies with the definition
referred to in the doc. [Spotted by D. Hendriks.]


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1292741 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 11:26:36 +00:00
Gilles Sadowski 15a28dad20 MATH-746
Removed strict equality special case.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1292572 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 23:04:32 +00:00
Gilles Sadowski 4e07135f7f Replace accented character with html entity in order to avoid problems
on certain systems.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1292557 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 22:35:47 +00:00
Gilles Sadowski 520cb7e078 MATH-746
Listed some of the new features.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1292318 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 14:37:57 +00:00
Gilles Sadowski 5bccf687e8 Removed spurious initialization.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1292294 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 14:02:08 +00:00
Gilles Sadowski 23a6bab0c8 MATH-746
Disabled a "FindBugs" check.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1292270 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 13:05:25 +00:00
Gilles Sadowski 64e0d5d213 Removed usage of non-localized error message. Changed exception type.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1292251 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 12:20:04 +00:00
Gilles Sadowski 7cc598eeb5 MATH-746
Disabled a "FindBugs" check.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1292245 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 11:41:59 +00:00
Thomas Neidhart 6ab9a515b6 Updated user guide for stat.inference and filter package.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1291972 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 19:51:08 +00:00
Gilles Sadowski a1e5517637 First stab at release description.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1291896 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 16:28:58 +00:00
Gilles Sadowski 829bb2b714 Fixed links and some formatting in user guide.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1291882 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 15:54:44 +00:00
Gilles Sadowski 66ea7501d4 Base package name: Changed "math" -> "math3" in userguide links.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1291806 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 14:31:56 +00:00
Gilles Sadowski bc2588f16d Added section on "exceptions".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1291794 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 14:16:51 +00:00
Gilles Sadowski f1314b1019 Replaced svn tags by $Id$.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1291762 13f79535-47bb-0310-9956-ffa450edef68
2012-02-21 13:20:07 +00:00
Gilles Sadowski ed6ddfd713 MATH-698
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1290910 13f79535-47bb-0310-9956-ffa450edef68
2012-02-19 00:09:56 +00:00
Gilles Sadowski 6afb7fa54f MATH-698
Made "CMAESOptimizer" a subclass of "BaseAbstractMultivariateSimpleBoundsOptimizer".
The original code does not support mixing finite and infinite bounds (no constraints)
on the variables; a check for this incompatibility is thus performed, throwing a
"MathUnsuppportedException" if failing.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1290909 13f79535-47bb-0310-9956-ffa450edef68
2012-02-19 00:01:22 +00:00
Gilles Sadowski a1fcf167b2 Fixed exception type.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1245807 13f79535-47bb-0310-9956-ffa450edef68
2012-02-17 23:25:58 +00:00
Thomas Neidhart a1a3b8bc2e Updated findbugs-exclude-list due to renamed classes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1245178 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 21:14:15 +00:00
Thomas Neidhart ef6887f870 Changed StorelessCovariance according to suggestions from psteitz.
JIRA: MATH-449

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1245133 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 19:41:42 +00:00
Luc Maisonobe abb99f4d0d Fixed javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1245062 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 16:18:26 +00:00
Luc Maisonobe 18e7e2ce91 Removed unneeded clone.
The clone did not protect the array used, only the reference ones.
JIRA: MATH-650

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1245061 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 16:17:14 +00:00
Gilles Sadowski 470f0a8726 Fixed (de-)serialization bug.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1245003 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 14:47:18 +00:00
Gilles Sadowski 0019c2c828 MATH-444
"artifactId" value (in POM file) changed to "commons-math3".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1245000 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 14:42:13 +00:00
Sebastien Brisard 763d05593f "print" statement no longer useful.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1244996 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 14:29:57 +00:00
Gilles Sadowski 24eb3834d1 MATH-746
Comment out "print" statement.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1244992 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 14:22:30 +00:00
Gilles Sadowski 88b7d7f6fc MATH-712
In prevision of the 3.0 release: Removed "throw" clauses and "print"
statements used for debugging.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1244975 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 13:44:43 +00:00
Sebastien Brisard 09d99f030d Checkstyle is skipped for o.a.c.m3.optimization.direct.BOBYQAOptimizer (MATH-746): added
// CHECkSTYLE: resume all
at the end of the file for security.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1244857 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 06:52:09 +00:00
Sebastien Brisard 0c919d42ac Checkstyle is skipped for o.a.c.m3.optimization.direct.BOBYQAOptimizer (MATH-746).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1244855 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 06:43:33 +00:00
Gilles Sadowski 2812744c9c MATH-707
Renamed "UnivariateRealOptimizer" -> "UnivariateOptimizer".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1244787 13f79535-47bb-0310-9956-ffa450edef68
2012-02-15 23:24:33 +00:00
Luc Maisonobe a13692080e Use literal arrays for FastMath pre-computed tables.
JIRA: MATH-650

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1244725 13f79535-47bb-0310-9956-ffa450edef68
2012-02-15 21:05:50 +00:00
Luc Maisonobe 36c3ea4738 Moved resources for error messages translations out of META-INF.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1244705 13f79535-47bb-0310-9956-ffa450edef68
2012-02-15 20:47:20 +00:00
Luc Maisonobe 825e095cbf Improved errors messages consistency and added tests for translations.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1244703 13f79535-47bb-0310-9956-ffa450edef68
2012-02-15 20:46:30 +00:00
Luc Maisonobe 86c44f1b88 Fixed reversed parameters in an error message.
Thanks to Dennis Hendriks for pointing this out.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1244699 13f79535-47bb-0310-9956-ffa450edef68
2012-02-15 20:45:49 +00:00
Thomas Neidhart ab65490f56 Updated findbugs exclude filter, deleted references to removed classes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1244674 13f79535-47bb-0310-9956-ffa450edef68
2012-02-15 19:44:08 +00:00
Thomas Neidhart a5cf43289f Added javadoc for StorelessCovariance, code cleanup.
JIRA: MATH-449 patch provided by Patrick Meyer

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1244667 13f79535-47bb-0310-9956-ffa450edef68
2012-02-15 19:22:59 +00:00
Sebastien Brisard c0e8de1ff0 Fixed Javadoc warnings.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1244375 13f79535-47bb-0310-9956-ffa450edef68
2012-02-15 06:30:05 +00:00
Thomas Neidhart 3dbfbeb0a8 Fixed wrong javadoc reference.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1244130 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 17:10:25 +00:00
Sebastien Brisard 20af7650fc Simplified unit tests following changes proposed in MATH-743 (should have been committed with r1243595).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1244127 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 17:05:54 +00:00
Gilles Sadowski 696be68b5d MATH-444
Base package name change: "o.a.c.math" -> "o.a.c.math3"


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1244107 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 16:17:55 +00:00
Gilles Sadowski 98bfd27d63 MATH-744
"Double.MAX_EXPONENT" and "Float.MAX_EXPONENT" are not available in Java 5.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243944 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 14:34:11 +00:00
Gilles Sadowski 8a83581eaf MATH-744
Fixed "doubleValue()" and "floatValue()" when numerator and denominator are
larger than the range of the corresponding primitive type.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243912 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 13:16:57 +00:00
Gilles Sadowski 57a0248da2 Fixed non-compilable tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243876 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 11:06:24 +00:00
Sebastien Brisard 274e2aa33f In package o.a.c.m.transform, created enum DstNormalization to be passed to the constructor of FastSineTransformer (instead of boolean parameter).
Made constructor public, and removed factory methods.
See MATH-743

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243595 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 16:35:46 +00:00
Gilles Sadowski 1d67ef4bed Made code comply with Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243529 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 14:22:21 +00:00