Commit Graph

3488 Commits

Author SHA1 Message Date
Gilles Sadowski 6ed1d06677 MATH-696
Default implementation for "addToEntry" and "multiplyEntry".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1188941 13f79535-47bb-0310-9956-ffa450edef68
2011-10-25 21:57:15 +00:00
Gilles Sadowski d0be1f663e MATH-689
Moved "round" methods over to class "Precision".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1188915 13f79535-47bb-0310-9956-ffa450edef68
2011-10-25 21:16:46 +00:00
Gilles Sadowski 597b0209e9 MATH-621
Javadoc.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1188614 13f79535-47bb-0310-9956-ffa450edef68
2011-10-25 11:31:39 +00:00
Sebastien Brisard a9cf068da8 1. Minor changes to Javadoc of SYMMLQ implementation, following Pr. M. A. Saunders review.
2. Added Michael Saunders as a contributor in the POM.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1188549 13f79535-47bb-0310-9956-ffa450edef68
2011-10-25 07:37:08 +00:00
Gilles Sadowski 9ca170c67f MATH-621
Several variables (passed around as function arguments but changed in-place)
replaced by instance fields.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1188383 13f79535-47bb-0310-9956-ffa450edef68
2011-10-24 21:09:32 +00:00
Sebastien Brisard bf6a142540 Fixed SVN properties
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1187709 13f79535-47bb-0310-9956-ffa450edef68
2011-10-22 13:01:07 +00:00
Sebastien Brisard 17f788387d Implementation of the SYMMLQ iterative linear solver, based on Pr. Saunders FORTRAN impl.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1187657 13f79535-47bb-0310-9956-ffa450edef68
2011-10-22 06:36:31 +00:00
Gilles Sadowski 246167dc96 MATH-621
Removed seemingly unnecessary code: labelled block ("L120"), and conditional
that always evaluates to true (for the current set of unit tests).


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1186574 13f79535-47bb-0310-9956-ffa450edef68
2011-10-20 00:06:54 +00:00
Gilles Sadowski e0f684748b MATH-621
Reordering of operations leads to unit tests failures.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1185917 13f79535-47bb-0310-9956-ffa450edef68
2011-10-18 23:12:14 +00:00
Gilles Sadowski 682d3afe65 MATH-690
New "copySign" method.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1185841 13f79535-47bb-0310-9956-ffa450edef68
2011-10-18 20:30:42 +00:00
Gilles Sadowski 74ab566575 MATH-621
Local variables defined at initialization.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1185687 13f79535-47bb-0310-9956-ffa450edef68
2011-10-18 14:34:13 +00:00
Gilles Sadowski a565dd0af1 MATH-685
Method "addToEntry" in "RealVector".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1185398 13f79535-47bb-0310-9956-ffa450edef68
2011-10-17 22:10:42 +00:00
Gilles Sadowski 976c85755d "add", "multiply", "compose" instances of "DifferentiableUnivariateRealFunction".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1185351 13f79535-47bb-0310-9956-ffa450edef68
2011-10-17 20:03:50 +00:00
Gilles Sadowski 9227754177 Added "derivative".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1185184 13f79535-47bb-0310-9956-ffa450edef68
2011-10-17 14:05:53 +00:00
Gilles Sadowski 5aaf1adc15 Added a test method that uses "PerfTestUtils" to do the benchmark.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1184958 13f79535-47bb-0310-9956-ffa450edef68
2011-10-17 00:02:23 +00:00
Gilles Sadowski 9d18b5f85d Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1184942 13f79535-47bb-0310-9956-ffa450edef68
2011-10-16 22:00:45 +00:00
Gilles Sadowski 6f81d04ef7 Added "derivative".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1184941 13f79535-47bb-0310-9956-ffa450edef68
2011-10-16 21:49:02 +00:00
Gilles Sadowski 9092e81cae Added "derivative".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1184933 13f79535-47bb-0310-9956-ffa450edef68
2011-10-16 21:04:19 +00:00
Gilles Sadowski f258ecdf91 Added "derivative".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1183776 13f79535-47bb-0310-9956-ffa450edef68
2011-10-16 00:51:42 +00:00
Phil Steitz 2d9e88f2d6 Replaced temporary matrices / entry mutators with double[][] arrays to speed computation in loops. JIRA: MATH-612. Reported and patched by Christopher Nix.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1183507 13f79535-47bb-0310-9956-ffa450edef68
2011-10-14 21:29:05 +00:00
Phil Steitz 1f21fb3fc3 Replaced temporary matrices / entry mutators with double[][] arrays to speed computation in loops. JIRA: MATH-612. Reported and patched by Christopher Nix.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1183505 13f79535-47bb-0310-9956-ffa450edef68
2011-10-14 21:22:00 +00:00
Phil Steitz 868e6bdb39 Replaced temporary matrices / entry mutators with double[][] arrays to speed computation in loops. JIRA: MATH-612. Reported and patched by Christopher Nix.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1183504 13f79535-47bb-0310-9956-ffa450edef68
2011-10-14 21:18:33 +00:00
Gilles Sadowski 852879bd56 Added "derivative".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1183373 13f79535-47bb-0310-9956-ffa450edef68
2011-10-14 14:50:38 +00:00
Luc Maisonobe dacfe6588c Fixed javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1183300 13f79535-47bb-0310-9956-ffa450edef68
2011-10-14 11:04:17 +00:00
Gilles Sadowski a5d473fe2f MATH-690
Removed "sign(float)" and "sign(double)" from "MathUtils"; replaced uses by
calls to "signum" in "FastMath".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1183138 13f79535-47bb-0310-9956-ffa450edef68
2011-10-13 22:21:04 +00:00
Gilles Sadowski 41c29f826d MATH-690
Removed "sinh" and "cosh" from "MathUtils"; replaced uses with calls to
equivalent in "FastMath".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1183128 13f79535-47bb-0310-9956-ffa450edef68
2011-10-13 21:58:30 +00:00
Gilles Sadowski 54364e6b57 MATH-675
Improved test implementation and increased coverage for "isMonotonic"
function.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1183119 13f79535-47bb-0310-9956-ffa450edef68
2011-10-13 21:45:39 +00:00
Sebastien Brisard 0b3440441b Renamed ArithmeticsUtils to ArithmeticUtils (MATH-689)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1182787 13f79535-47bb-0310-9956-ffa450edef68
2011-10-13 11:20:48 +00:00
Sebastien Brisard 6a5fe463ea Finished moving methods from MathUtils to ArithmeticsUtils (MATH-689)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1182658 13f79535-47bb-0310-9956-ffa450edef68
2011-10-13 05:29:28 +00:00
Sebastien Brisard d8866aedf4 Created ArithmeticsUtilsTest. Moved some tests from MathUtilsTest to ArithmeticsUtilsTest (MATH-689).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1182215 13f79535-47bb-0310-9956-ffa450edef68
2011-10-12 06:21:22 +00:00
Sebastien Brisard 6cb2b3c612 Created ArithmeticsUtils class (MATH-689), and corresponding unit tests. Moved some methods from MathUtils to ArithmeticsUtils.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1182213 13f79535-47bb-0310-9956-ffa450edef68
2011-10-12 06:17:23 +00:00
Gilles Sadowski d092e09531 MATH-689
Moved array utilities from "MathUtils" to "MathArrays".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1182147 13f79535-47bb-0310-9956-ffa450edef68
2011-10-11 23:37:57 +00:00
Gilles Sadowski d64c7a3bfb MATH-689
Moved array utilities from "MathUtils" to "MathArrays".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1182137 13f79535-47bb-0310-9956-ffa450edef68
2011-10-11 23:10:46 +00:00
Gilles Sadowski 63a3a9d080 MATH-689
Moved arrays utilities from "MathUtils" to "MathArrays".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1182134 13f79535-47bb-0310-9956-ffa450edef68
2011-10-11 22:55:08 +00:00
Gilles Sadowski 519e4d2e7f MATH-689
Moved "equals..." and "compareTo" methods from "MathUtils" over to a new
"Precision" class.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1181282 13f79535-47bb-0310-9956-ffa450edef68
2011-10-10 22:35:54 +00:00
Gilles Sadowski 015f45e2fd Lowered access level.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1181245 13f79535-47bb-0310-9956-ffa450edef68
2011-10-10 21:20:30 +00:00
Luc Maisonobe 5e6389761c Fixed an integer overflow in OpenMapRealMatrix.
JIRA: MATH-679

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1181181 13f79535-47bb-0310-9956-ffa450edef68
2011-10-10 19:56:03 +00:00
Gilles Sadowski 004b8958d7 MATH-688
Replaced fractions with contant fields.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1181175 13f79535-47bb-0310-9956-ffa450edef68
2011-10-10 19:50:53 +00:00
Sebastian Bazley 3a63eea7d4 Recover table Javadoc lost when tables extrtacted from FastMath source file
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1180764 13f79535-47bb-0310-9956-ffa450edef68
2011-10-10 02:33:30 +00:00
Gilles Sadowski 60657ea039 Lowered access level.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1180646 13f79535-47bb-0310-9956-ffa450edef68
2011-10-09 16:40:33 +00:00
Gilles Sadowski 848dfc6f31 Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1180642 13f79535-47bb-0310-9956-ffa450edef68
2011-10-09 16:30:28 +00:00
Gilles Sadowski a7fea11074 Javadoc link to reference.
Remark on numerical accuracy added as code comment.
Added unit tests.
Added normalized sinc function.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1180588 13f79535-47bb-0310-9956-ffa450edef68
2011-10-09 12:04:40 +00:00
Phil Steitz 394a367edc Fixed javadoc typos.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1180381 13f79535-47bb-0310-9956-ffa450edef68
2011-10-08 14:25:58 +00:00
Phil Steitz d9ca459114 Fixed javadoc typos.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1180316 13f79535-47bb-0310-9956-ffa450edef68
2011-10-08 05:23:06 +00:00
Phil Steitz 8c1df65ae6 Simplified javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1180315 13f79535-47bb-0310-9956-ffa450edef68
2011-10-08 05:13:16 +00:00
Phil Steitz 1ae0c80950 Fixed null handling in varargs for sortInPlace, improved javadoc, addeed tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1180314 13f79535-47bb-0310-9956-ffa450edef68
2011-10-08 05:03:54 +00:00
Sebastien Brisard bce28db653 Fixed trailing whitespace.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1180313 13f79535-47bb-0310-9956-ffa450edef68
2011-10-08 04:37:54 +00:00
Sebastien Brisard 76f7373367 Added FieldElement.negate() and FieldElement.reciprocal() (MATH-686).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1180312 13f79535-47bb-0310-9956-ffa450edef68
2011-10-08 04:21:00 +00:00
Gilles Sadowski d0633b818e MATH-650
Large literal arrays factored out of "FastMath".
Slight efficiency improvement of "resource" alternative.
Output result in "FastMathLoadCheck".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1180294 13f79535-47bb-0310-9956-ffa450edef68
2011-10-08 02:02:07 +00:00
Gilles Sadowski 0eee4b6f14 Layout and doc minor fixes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1180232 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 20:54:06 +00:00