Commit Graph

438 Commits

Author SHA1 Message Date
Thomas Neidhart 0b1a5c1415 Added MATH-828 to changes.xml.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1369616 13f79535-47bb-0310-9956-ffa450edef68
2012-08-05 16:32:52 +00:00
Thomas Neidhart b68fc58a61 Added MATH-836 to changes.xml.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1369359 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 16:22:52 +00:00
Gilles Sadowski 63a48705a4 MATH-835
Avoid overflow.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1367593 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 14:58:01 +00:00
Gilles Sadowski 72779b2300 MATH-622
Default is now to print 10 fractional digits.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1366821 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 12:05:48 +00:00
Gilles Sadowski 6b537b20f9 Update "changes" file.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1366401 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 14:59:43 +00:00
Thomas Neidhart 01e1e93d6a Added MATH-831 to changes.xml.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1364779 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 20:07:29 +00:00
Gilles Sadowski 159ca6ebb9 MATH-827
Deprecated "LegendreGaussIntegrator" (superseded by
"IterativeLegendreGaussIntegrator").


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1364452 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 22:30:01 +00:00
Thomas Neidhart 072851608e [MATH-578] Improve performance of quantile evaluation in Percentile for special cases.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1364318 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 15:00:52 +00:00
Gilles Sadowski 6953c29492 MATH-797
Attribution.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1364200 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 00:57:41 +00:00
Gilles Sadowski 9a0794de0f MATH-764
MATH-823
Allow explicit setting of RNG (parameter of the constructor).
Removed dependency on "RandomDataImpl" for the "sample" method.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1363604 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 00:43:45 +00:00
Thomas Neidhart cb719d1fa8 Add math-235 to changes.xml.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1363118 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 21:08:51 +00:00
Gilles Sadowski 3ba28fe49d MATH-768
Provided access to methods for finding complex roots of a polynomial in
"LaguerreSolver" class.
Added utility for converting an array of doubles to an array of "Complex"
objects.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1361793 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 20:50:13 +00:00
Thomas Neidhart 8b71139a74 [MATH-822] Added new constructors in EigenDecomposition. Thanks to Jared Becksfort for the report.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1361587 13f79535-47bb-0310-9956-ffa450edef68
2012-07-14 21:19:36 +00:00
Gilles Sadowski d182f07d6a MATH-798
Added overridden "fit" method where one can specify the maximum number of
function evaluations.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1357353 13f79535-47bb-0310-9956-ffa450edef68
2012-07-04 18:00:02 +00:00
Sebastien Brisard 2881c10609 MATH-807: in o.a.c.m3.util.IterationManager, created a new constructor which allows for the specification of a o.a.c.m3.util.Incrementor.MaxCountExceededCallback, to be called when the maximum number of iterations is reached.
Updated the javadoc of iterative linear solvers accordingly.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1353141 13f79535-47bb-0310-9956-ffa450edef68
2012-06-23 15:12:34 +00:00
Luc Maisonobe e8a6708cfd Added Hermite interpolator.
This class implements the Hermite polynomial interpolation method, which
can match function derivatives in addition to function value at sampling
points. The implementation is done for vector-valued functions.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1351257 13f79535-47bb-0310-9956-ffa450edef68
2012-06-18 10:01:12 +00:00
Gilles Sadowski 6ffc68337f MATH-804
Parameterized "CurveFitter" with the type of the fitting function. Updated subclasses
"PolynomialFitter", "HarmonicFitter", "GaussianFitter" accordingly.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1348613 13f79535-47bb-0310-9956-ffa450edef68
2012-06-10 15:12:57 +00:00
Luc Maisonobe 118e94b5e9 Fixed a problem when building rotations from two pairs of vectors.
In very rare cases, due to numerical inaccuracies the computed quaternion
was not normalized (some examples went as high as 1.0e8) and even after
normalization, the quaternion was plain wrong.

JIRA: MATH-801

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1346513 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 18:26:02 +00:00
Sebastien Brisard bbf926511f In LocalizedFormats, removed ALPHA and BETA which are no longer used (MATH-796).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1345472 13f79535-47bb-0310-9956-ffa450edef68
2012-06-02 09:46:23 +00:00
Thomas Neidhart 8ed5527ee0 [MATH-644] added fix to changes.xml.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1344941 13f79535-47bb-0310-9956-ffa450edef68
2012-05-31 23:38:16 +00:00
Sebastien Brisard ebb3d84410 Added MATH-791 to the list of changes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1344574 13f79535-47bb-0310-9956-ffa450edef68
2012-05-31 06:13:33 +00:00
Luc Maisonobe 129e53d466 Use inline computation for OrderedTuple hash code.
JIRA: MATH-793

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1343920 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 18:59:54 +00:00
Thomas Neidhart 3a08bfa6d8 [MATH-718] Use modified Lentz-Thompson algorithm for continued fraction evaluation.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1341171 13f79535-47bb-0310-9956-ffa450edef68
2012-05-21 19:55:30 +00:00
Luc Maisonobe dd6cefb0cc Fixed a wrong assumption on BSP tree attributes.
The assumption was that the attribute was always a boolean when boundary
was empty. This assumption was false when emptiness resulted from a
collapsed boundary. Boolean attributes occur only at leaf nodes, so it
is the cut sub-hyperplane that needed to be checked.

JIRA: MATH-780

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1337929 13f79535-47bb-0310-9956-ffa450edef68
2012-05-13 15:51:56 +00:00
Luc Maisonobe 39b3fd1877 Put serialization back for PointValuePair and PointVectorValuePair.
JIRA: MATH-787

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1337849 13f79535-47bb-0310-9956-ffa450edef68
2012-05-13 11:16:45 +00:00
Thomas Neidhart 28a2839927 [MATH-627] avoid superfluous null checks in (Array)RealVector, thanks to Arno Ploese.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1334198 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 21:42:16 +00:00
Thomas Neidhart 3c4cb189cc [MATH-781] use epsilon criteria when deciding to drop columns after phase 1.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1333146 13f79535-47bb-0310-9956-ffa450edef68
2012-05-02 18:28:37 +00:00
Sebastian Bazley 5e7c719322 Restore closing tag accidentally deleted in r1328492
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1328499 13f79535-47bb-0310-9956-ffa450edef68
2012-04-20 21:03:21 +00:00
Luc Maisonobe de12e28789 Added a workaround for an OpenJDK issue on sparc solaris.
The compiler has issues with very small double constants, despite they
are perfectly legal Java and representable in IEEE754.

JIRA: MATH-721

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1328492 13f79535-47bb-0310-9956-ffa450edef68
2012-04-20 20:15:11 +00:00
Thomas Neidhart ebadb558aa [MATH-779] Fixed iterator() method in ListPopulation to return an iterator of the unmodifiable list, thanks to Reid Hochstedler.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1325427 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 18:32:53 +00:00
Thomas Neidhart b9ca51f09f [MATH-776] Use same range check in ctor as in setter for ElitisticListPopulation.
Thanks to Reid Hochstedler

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1308454 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 18:46:42 +00:00
Thomas Neidhart 4142992080 Added FixedElapsedTime stopping condition.
JIRA: MATH-773 contributed by Reid Hochstedler

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1308151 13f79535-47bb-0310-9956-ffa450edef68
2012-04-01 16:46:01 +00:00
Sebastien Brisard 361d9d469f Updated changes.xml following resolution of MATH-756.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1306759 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 09:04:24 +00:00
Sebastian Bazley 9ca9ea19c4 DOcument how to use with CP release-notes profile
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1306406 13f79535-47bb-0310-9956-ffa450edef68
2012-03-28 15:15:20 +00:00
Sebastian Bazley eece0ae4aa Only need one copy of the NOTE:; fix the VM template reference
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1306299 13f79535-47bb-0310-9956-ffa450edef68
2012-03-28 13:03:18 +00:00
Gilles Sadowski f0e1231764 New "<release>" XML tag.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1306242 13f79535-47bb-0310-9956-ffa450edef68
2012-03-28 10:21:22 +00:00
Sebastian Bazley c93578f658 Part of r1296359.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1296360 13f79535-47bb-0310-9956-ffa450edef68
2012-03-02 18:26:28 +00:00
Sebastian Bazley abe3e2edd5 Fix up release notes to use locations and names expected by parent pom
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1296359 13f79535-47bb-0310-9956-ffa450edef68
2012-03-02 18:23:09 +00:00