Commit Graph

1684 Commits

Author SHA1 Message Date
Sebastian Bazley 2774894374 Parameterise raw type
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@764759 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 12:37:37 +00:00
Sebastian Bazley 2ab58c0b82 Remove unnecessary semi-colons
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@764749 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 11:51:40 +00:00
Sebastian Bazley f1280575a2 Unused import
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@764748 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 11:50:38 +00:00
Sebastian Bazley c53f6961e1 Remove unnecessary null checks
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@764746 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 11:47:36 +00:00
Phil Steitz 6206817ffb Fixed some errors, improved content.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@764343 13f79535-47bb-0310-9956-ffa450edef68
2009-04-12 23:55:45 +00:00
Phil Steitz 9f0ea4e9c4 Clarified javadoc, added tests. JIRA: MATH-258
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@764316 13f79535-47bb-0310-9956-ffa450edef68
2009-04-12 19:33:11 +00:00
Phil Steitz 5887cc0faa Fixed internal links and added covariance and correlation section.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@764314 13f79535-47bb-0310-9956-ffa450edef68
2009-04-12 18:52:37 +00:00
Phil Steitz 6bb4309b69 Made method names consistent, added methods to default bias-correction.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@764313 13f79535-47bb-0310-9956-ffa450edef68
2009-04-12 18:51:10 +00:00
Phil Steitz 3b26eea983 Changed method name to be consistent with Covariance, added double[][] compute method.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@764312 13f79535-47bb-0310-9956-ffa450edef68
2009-04-12 18:48:29 +00:00
Phil Steitz 53b912cb49 Fixed incorrect type spec, simplified references.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@764211 13f79535-47bb-0310-9956-ffa450edef68
2009-04-11 15:57:03 +00:00
Phil Steitz d271b3132c Dropped extraneous parens.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@764210 13f79535-47bb-0310-9956-ffa450edef68
2009-04-11 15:33:38 +00:00
Phil Steitz 023345c2c0 Dropped extraneous parens.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@764209 13f79535-47bb-0310-9956-ffa450edef68
2009-04-11 15:32:18 +00:00
Phil Steitz 4095d7a029 Restored some double casts to improve ensure correctness does not depend on order of operations or literal conversion, dropped uneccesary parens.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@764208 13f79535-47bb-0310-9956-ffa450edef68
2009-04-11 15:30:02 +00:00
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