Commit Graph

1721 Commits

Author SHA1 Message Date
Luc Maisonobe b6703d294c added a transformer between Nordsieck form and multistep form
for state history in multistep ODE integrators
(this will help implementing adaptive stepsize multistep integrators)

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@763692 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09 15:23:11 +00:00
Luc Maisonobe e94434768e removed unused import statements
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@763689 13f79535-47bb-0310-9956-ffa450edef68
2009-04-09 15:20:53 +00:00
Luc Maisonobe 0cb711643d added a threshold for comparisons in Simplex solver
Jira: MATH-246

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@763412 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 21:41:47 +00:00
Brent Worden 24f51faee2 MATH-197. added rejection method to poisson random variates to help with large lamda values.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@762194 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 01:25:34 +00:00
Luc Maisonobe 28738e0405 fixed findbugs warnings and added more explanation about the corresponding behavior in javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@762136 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 19:10:44 +00:00
Luc Maisonobe 5acb8b11b5 added missing javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@762132 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 18:49:01 +00:00
Luc Maisonobe f6e3a9545f Fixed inconsistent access to multidimensional array in FastFourierTransformer
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@762131 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 18:38:32 +00:00
Luc Maisonobe 4e5126c676 fixed typo in error message
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@762126 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 17:51:01 +00:00
Sebastian Bazley 92ba1a91e1 Cannot be null here
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@762123 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 17:21:56 +00:00
Sebastian Bazley 1dcb726032 Make private static fields final.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@762121 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 17:10:23 +00:00
Sebastian Bazley c2716700dd Remove unnecessary casts and unnecessary semi-colons
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@762119 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 16:57:52 +00:00
Sebastian Bazley e1abece416 Remove unnecessary casts, unnecessary throws and unnecessary semi-colons
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@762118 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 16:55:59 +00:00
Luc Maisonobe a2b1aa1695 Greatly improved multiplication speed for sparse matrices
Jira: MATH-248

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@762117 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 16:53:35 +00:00
Sebastian Bazley 7dcc9d15c5 Remove unnecessary casts
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@762116 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 16:48:53 +00:00
Luc Maisonobe 7822849ae5 Fixed threading issues with MathException and MathRuntimeException
Jira: MATH-253

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@762107 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 15:33:06 +00:00
Luc Maisonobe 48fcbcf982 Fixed threading issues with UnivariateRealSolverUtils factory
Jira: MATH-254

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@762102 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 15:16:03 +00:00
Luc Maisonobe aa357e433b fixed typo
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@762100 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 15:07:27 +00:00
Luc Maisonobe a66d215406 Reduced visibility of MessagesResources_fr.contents field to private
JIRA: MATH-255

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@762096 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 14:36:09 +00:00
Luc Maisonobe e61119d98b added Fraction.toString()
Jira: MATH-256

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@762095 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 14:29:03 +00:00
Luc Maisonobe 07c5922ca3 added missing @Override annotations
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@762087 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 14:20:18 +00:00
Sebastian Bazley 37ea6e2ad7 Make private static fields final, as they are not changed currently.
[If they were mutable, this would make the class thread-hostile.]

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@762011 13f79535-47bb-0310-9956-ffa450edef68
2009-04-04 21:08:13 +00:00
Sebastian Bazley 907b316799 Might as well make the variable final as it is private and not changed
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@762009 13f79535-47bb-0310-9956-ffa450edef68
2009-04-04 21:05:01 +00:00
Phil Steitz 3fb0b72a90 Replaced JDK 1.6 constant.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@761994 13f79535-47bb-0310-9956-ffa450edef68
2009-04-04 19:41:21 +00:00
Luc Maisonobe 58a3d3b28e fixed a serialization warning
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@761325 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 15:30:39 +00:00
Luc Maisonobe 1125b705e4 moved multistep integrator and step interpolator base classes to their corresponding generic package
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@761323 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 15:29:45 +00:00
Luc Maisonobe 3c50c4d885 fixed a missing absolute value in a test threshold
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@761213 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 09:05:56 +00:00
Luc Maisonobe f5618f7717 removed the constraint on low degree polynomials
when building Chebyshev, Hermite, Laguerre or Legendre polynomials

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@760901 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 14:29:18 +00:00
Luc Maisonobe 3664a2cc7f Added add/subtract/multiply/divide functions with integer parameters to Fraction
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@760867 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 12:15:29 +00:00
Luc Maisonobe 80419081ac optimized some fraction operations (mainly pow)
replaced pow(BigFraction) by pow(double) as it already converted the argument to double upon entry
added tests for pow

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@760016 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 15:48:56 +00:00
Luc Maisonobe 40223343f0 Added some utility functions to compute powers with integral types (int, long, BigInteger)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@760014 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 15:43:14 +00:00
Luc Maisonobe e143317c7d added a test parsing very large integers
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@759728 13f79535-47bb-0310-9956-ffa450edef68
2009-03-29 17:10:09 +00:00
Luc Maisonobe 99b46033f5 Fixed a comparison error when two different fractions evaluate to the
same double due to limited precision.
Jira: MATH-252


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@759725 13f79535-47bb-0310-9956-ffa450edef68
2009-03-29 16:51:48 +00:00
Luc Maisonobe 312b1ca42e added proper and improper formats for BigFraction (both parsing and display)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@759718 13f79535-47bb-0310-9956-ffa450edef68
2009-03-29 16:33:53 +00:00
Luc Maisonobe 6a5a46783f removed an unneeded call to reduce()
(the constructor already reduces the fraction)

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@759678 13f79535-47bb-0310-9956-ffa450edef68
2009-03-29 13:12:19 +00:00
Luc Maisonobe 2fa13fe8c5 removed BigFraction.clone() as the class is guaranteed to be immutable
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@759677 13f79535-47bb-0310-9956-ffa450edef68
2009-03-29 13:11:13 +00:00
Luc Maisonobe 17f0dd2da5 Added a BigFraction class that does not overflow when big numerators or denominators are used.
Jira: MATH-251

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@759543 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 18:24:11 +00:00
Luc Maisonobe e449af6e51 fixed an error in Simplex algorithm when several ambiguous solutions exist
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@759045 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 07:56:04 +00:00
Luc Maisonobe d11d984705 fixed javadoc error
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@758924 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 23:39:11 +00:00
Luc Maisonobe 7edb7e34f8 removed spurious import clause
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@758923 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 23:38:37 +00:00
Luc Maisonobe 61e775706d added an implementation of Dantzig's simplex algorithm
to solve constrained linear optimization problems
JIRA: MATH-246

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@758920 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 23:25:30 +00:00
Luc Maisonobe b2db570b31 fixed checkstyle and findbugs errors
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@758912 13f79535-47bb-0310-9956-ffa450edef68
2009-03-26 23:00:27 +00:00
Luc Maisonobe 5404d5e1a2 updated documentation after changes in the optimization framework
JIRA: MATH-177

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@758074 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 22:56:49 +00:00
Luc Maisonobe 96db008f3b improved consistency in class naming with respect to functions in the analysis package
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@758060 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 22:17:13 +00:00
Luc Maisonobe 2c84116a4c added an implementation of a non-linear conjugate gradient optimizer
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@758059 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 22:16:21 +00:00
Luc Maisonobe ed8fc4a03a updated general algorithms with latest interfaces definitions
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@758058 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 22:15:08 +00:00
Luc Maisonobe d99003bc0f updated univariate algorithms with latest interfaces definitions
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@758056 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 22:14:03 +00:00
Luc Maisonobe c03fbc71a6 updated direct algorithms with latest interfaces definitions
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@758054 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 22:13:27 +00:00
Luc Maisonobe 891bb84cd0 added new simple convergence checkers implementations
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@758053 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 22:12:32 +00:00
Luc Maisonobe 2d116267b4 improved consistency in class naming with respect to functions in the analysis package
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@758052 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 22:11:16 +00:00
Luc Maisonobe fa4c993e5d removed spurious exception in optimization
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@758051 13f79535-47bb-0310-9956-ffa450edef68
2009-03-24 22:10:16 +00:00