Commit Graph

3661 Commits

Author SHA1 Message Date
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
Gilles Sadowski 29896d32df MATH-707
Deleted unused and redundant "VectorialConvergenceChecker".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243521 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 14:09:17 +00:00
Gilles Sadowski c045b189f3 Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243517 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 14:00:31 +00:00
Gilles Sadowski 98c3f3b4cf MATH-488
Removed deprecated "MathException".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243473 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 10:35:53 +00:00
Gilles Sadowski d429505103 MATH-488
Removed last occurrences of "MathException" (appearing as a string and in
a commented-out unit test.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243466 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 10:25:09 +00:00
Gilles Sadowski d2734aae66 MATH-459
Removed deprecated "MathRuntimeException".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243460 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 10:10:24 +00:00
Gilles Sadowski 0f2ef2d954 MATH-707
Renamed "SimpleVectorialValueChecker" to "SimpleVectorValueChecker".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243370 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 23:43:48 +00:00
Gilles Sadowski 1b8959c711 MATH-707
"SimpleScalarValueChecker" renamed to "SimpleValueChecker".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243366 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 23:38:24 +00:00
Gilles Sadowski 0bee543107 MATH-707
"SimpleRealPointChecker" and "SimpleVectorialPointChecker" are replaced by
the generic "SimplePointChecker" (instantiated using "PointValuePair" and
"PointVectorValuePair", respectively).


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243365 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 23:29:51 +00:00
Gilles Sadowski 7921608dec MATH-707
Renamed "VectorialPointValuePair" to "PointVectorValuePair" and made it a
subclass of "Pair<double[], double[]>".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243310 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 20:00:31 +00:00
Thomas Neidhart 3390941cd1 Updated changes.xml with fix for MATH-739
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243306 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 19:50:40 +00:00
Thomas Neidhart a436c93ce3 Merged TTest implementation and interface, removed use of MathException.
JIRA: MATH-488, MATH-739

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243304 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 19:44:21 +00:00
Thomas Neidhart 36a3920924 Merged ChiSquareTest implementation and interface, removed use of MathException.
JIRA: MATH-488, MATH-739

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243286 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 18:07:53 +00:00
Sebastien Brisard f994f9d4a9 As discussed on the mailing-list, Author and Date should not be used as svn:keywords.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243264 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 15:28:58 +00:00
Sebastien Brisard eac9648b4f In package o.a.c.m.transform, created enum DctNormalization to be passed to the constructor of FastCosineTransformer (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@1243263 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 15:18:15 +00:00
Gilles Sadowski dca41739a7 MATH-707
Renamed "RealPointValuePair" to "PointValuePair" and made it a subclass
of "Pair<double[], Double>".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243186 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 00:37:23 +00:00
Sebastien Brisard fb761ffb51 In package o.a.c.m.transform
- replaced RealTransformer.transform(double[]) and RealTransformer.inverseTransform(double[]) with RealTransformer.transform(double[], TransformType)
  - replaced RealTransformer.transform(UnivariateFunction, double, double, int) and RealTransformer.inverseTransform(UnivariateFunction, double, double, int) with RealTransformer.transform(UnivariateFunction, double, double, int, TransformType).

See MATH-743

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243110 13f79535-47bb-0310-9956-ffa450edef68
2012-02-11 17:38:30 +00:00
Sebastien Brisard 29e6359399 - Changed enum FastFourierTransformer.DftNormalization to top-level enumeration (MATH-743).
- Moved part of the Javadoc of FastFourierTransformer to this new enum.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1243009 13f79535-47bb-0310-9956-ffa450edef68
2012-02-11 06:24:15 +00:00
Sebastien Brisard dee1c0d70b In o.a.c.m.transform, introduced an enumeration for the type (forward, inverse) of transform asked by the user (MATH-743).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1242703 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 08:46:40 +00:00
Luc Maisonobe 49c39e7d1c Adding missing id.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1242367 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 15:46:25 +00:00
Gilles Sadowski 1513e3db5f Function "atan": Cosmetic changes + "final" keyword.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1242346 13f79535-47bb-0310-9956-ffa450edef68
2012-02-09 14:54:00 +00:00