Commit Graph

3511 Commits

Author SHA1 Message Date
Sebastian Bazley 2ea244d3f1 Unused imports
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1197465 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 09:49:50 +00:00
Sebastian Bazley 177eff33cb Missing @Override
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1197464 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 09:49:06 +00:00
Sebastian Bazley 012c767987 Missing @Override
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1197463 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 09:48:27 +00:00
Sebastian Bazley 1be528669f Missing @Deprecated
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1197460 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 09:44:04 +00:00
Gilles Sadowski f250d5eb90 Typo.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1197085 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 12:48:56 +00:00
Sebastien Brisard 984ff74f4b Fixed Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1196935 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 04:02:03 +00:00
Gilles Sadowski 10013c4eea Naming of variable.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1196553 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 12:07:53 +00:00
Luc Maisonobe 9824f20965 Fixed a typo in variable name leading it to be ignored.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1196521 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 09:36:14 +00:00
Gilles Sadowski 5771d38200 MATH-698
Bounds passed as arguments in "optimize" method.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1194989 13f79535-47bb-0310-9956-ffa450edef68
2011-10-29 19:35:36 +00:00
Gilles Sadowski 3ea635a01c Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1194966 13f79535-47bb-0310-9956-ffa450edef68
2011-10-29 18:30:41 +00:00
Gilles Sadowski d8e1809529 MATH-697
Fixed bug in check that the initial value is within bounds.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1194874 13f79535-47bb-0310-9956-ffa450edef68
2011-10-29 11:19:30 +00:00
Gilles Sadowski aecf3993c4 MATH-697
Check that the given starting point is within the bounds.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1190686 13f79535-47bb-0310-9956-ffa450edef68
2011-10-28 23:54:32 +00:00
Gilles Sadowski ae42622ff0 MATH-697
Added consistency check on array sizes.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1190665 13f79535-47bb-0310-9956-ffa450edef68
2011-10-28 23:12:58 +00:00
Gilles Sadowski eb3e19b460 Javadoc and code formatting.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1190657 13f79535-47bb-0310-9956-ffa450edef68
2011-10-28 23:03:16 +00:00
Gilles Sadowski 481e8c1729 MATH-697
Added "optimize" method to allow passing simple bounds.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1190556 13f79535-47bb-0310-9956-ffa450edef68
2011-10-28 20:44:09 +00:00
Gilles Sadowski f7be1dc6ac MATH-413
Removed "setConvergenceChecker"; convergence checker is passed at construction.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1189750 13f79535-47bb-0310-9956-ffa450edef68
2011-10-27 13:34:08 +00:00
Gilles Sadowski 41df7f7f3e Code formatting.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1189695 13f79535-47bb-0310-9956-ffa450edef68
2011-10-27 09:59:34 +00:00
Gilles Sadowski b91a448a9f Code and Javadoc formatting.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1189694 13f79535-47bb-0310-9956-ffa450edef68
2011-10-27 09:53:01 +00:00
Phil Steitz 3a7d733976 Moved "SAFE_MIN" and "EPSILON" from "MathUtils" to "Precision."
JIRA: MATH-689
(Committing on behalf of erans)


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1189593 13f79535-47bb-0310-9956-ffa450edef68
2011-10-27 03:11:54 +00:00
Phil Steitz 2f10501e0a Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1189563 13f79535-47bb-0310-9956-ffa450edef68
2011-10-27 00:43:47 +00:00
Phil Steitz 39970a520e Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1189499 13f79535-47bb-0310-9956-ffa450edef68
2011-10-26 22:05:03 +00:00
Luc Maisonobe 7980a24266 Fixed an event resetting issue in ODE.
When several discrete events occur during the same ODE integration step,
they are handled chronologically or reverse chronologically depending on
the integration direction. If one of the event truncates the step (for
example because its eventOccurred method returns RESET or
RESET_DERIVATIVES for example), the stepAccepted method of the pending
events later in the step were not called. This implied that in the next
step, these events were still referring to data from previous step, they
had lost synchronization with the integrator.

JIRA: MATH-695

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1189086 13f79535-47bb-0310-9956-ffa450edef68
2011-10-26 09:08:22 +00:00
Gilles Sadowski 3e6a882070 MATH-689
Method "log(double base, double x)" moved from "MathUtils" to "FastMath".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1188949 13f79535-47bb-0310-9956-ffa450edef68
2011-10-25 22:26:59 +00:00
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