Sebastian Bazley
6d6649ef69
MATH-482 FastMath.max(50.0f, -50.0f) => -50.0f; should be +50.0f
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1060060 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 19:55:01 +00:00
Sebastian Bazley
30d4ad8606
Unused import
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1059983 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 16:52:23 +00:00
Gilles Sadowski
d052e159a9
MATH-475
...
Updated the Javadoc to make clear that 2 adjacent floating point numbers
are considered equal whatever the allowed tolerance.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1059909 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 13:06:13 +00:00
Gilles Sadowski
5cd31fd1be
"Commons Math" instead of "Commons-Math"
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1058644 13f79535-47bb-0310-9956-ffa450edef68
2011-01-13 16:12:50 +00:00
Gilles Sadowski
3a5a2a4da2
Update.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1058602 13f79535-47bb-0310-9956-ffa450edef68
2011-01-13 15:13:38 +00:00
Sebastian Bazley
a4b1948b7c
MATH-471 MathUtils.equals(double, double) does not work properly for floats
...
- add equivalent (float, float) methods and basic tests
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1058397 13f79535-47bb-0310-9956-ffa450edef68
2011-01-13 02:57:57 +00:00
Gilles Sadowski
0e1dc43ecd
MATH-470
...
"Un-deprecate" unit test.
Javadoc clean up.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1058110 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 12:35:38 +00:00
Sebastian Bazley
ff3c66cbc7
Javadoc grammar
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1058072 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 11:07:42 +00:00
Phil Steitz
41f6eaa8e3
Updated changelog to reflect fixes for MATH-384, MATH-385.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1056747 13f79535-47bb-0310-9956-ffa450edef68
2011-01-08 17:50:54 +00:00
Phil Steitz
8ea8869f01
Commented out long-running test case.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1056580 13f79535-47bb-0310-9956-ffa450edef68
2011-01-08 01:04:04 +00:00
Gilles Sadowski
258918de6b
MATH-459
...
Removed usage of "o.a.c.m.MathRuntimeException".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1056554 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 22:59:46 +00:00
Gilles Sadowski
f35ac8ee99
Unused "import".
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1056516 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 21:19:19 +00:00
Sebastian Bazley
4fc0d428b8
The private fields can now be made final
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1056502 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 20:55:34 +00:00
Gilles Sadowski
c8e8d8de18
MATH-422
...
Removed setters. Removed coresponding unit tests.
Added a "getInstance" method so that some tests can still work.
Removed a seemingly unnecessary call to the "clone" method.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1056493 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 20:33:12 +00:00
Sebastian Bazley
fa4135a048
MATH-466 Fix the same problem in the 3rd class
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1056417 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 17:51:44 +00:00
Sebastian Bazley
787d654a60
MATH-466 - update Javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1056412 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 17:47:14 +00:00
Gilles Sadowski
618f2f80ca
MATH-466
...
Throwing exceptions when preconditions are violated.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1056391 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 17:00:57 +00:00
Luc Maisonobe
7578f0f6a0
Fixed an awkward statement that triggered a false positive warning
...
JIRA: MATH-467
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1056035 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 19:43:30 +00:00
Gilles Sadowski
bef6c18699
MATH-458
...
Removed the checked "MathException" from the interpolator interfaces.
Updated all affected classes.
"LoessInterpolator": Replaced usage of "MathException" with specific
exceptions.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1055931 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 16:20:51 +00:00
Gilles Sadowski
81d30ccd16
MATH-468
...
Forgot to commit that file!
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1055929 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 16:17:25 +00:00
Gilles Sadowski
dd199c3ef8
MATH-468
...
Utility methods to check that an argument is not NaN nor infinite.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1055911 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 15:30:23 +00:00
Sebastian Bazley
6acc4ae36d
Add serialVersionUID
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1055903 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 14:52:43 +00:00
Sebastian Bazley
707c93a25f
Suppress NPE warning
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1055902 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 14:52:00 +00:00
Sebastian Bazley
ee61e5660f
Raw type
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1055901 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 14:51:30 +00:00
Sebastian Bazley
9dd33b3ce0
Unused imports
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1055900 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 14:51:16 +00:00
Sebastian Bazley
af55bc0057
Unnecessary casts
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1055885 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 14:11:32 +00:00
Sebastian Bazley
5024bce8ae
Unused imports
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1055882 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 14:07:32 +00:00
Sebastian Bazley
fa3025dac8
Javadoc - no such param
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1055881 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 14:05:51 +00:00
Gilles Sadowski
2399c99f9e
Unnecessary "return".
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1055864 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 13:21:17 +00:00
Gilles Sadowski
fc20a308d7
MATH-461
...
"RealVectorFormat", "ComplexFormat", "Vector3DFormat" do not inherit anymore
from the Java standard "Format". Removed methods that were mandated by this base
class (because they were not compatible with the new policy that CM should only
throw unchecked exceptions).
"CompositeFormat" now contains only static methods: Made it a utility class
(i.e. with a "private" constructor).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1055835 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 11:32:07 +00:00
Phil Steitz
0441b7cc6d
Fixed javadoc typos.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1054702 13f79535-47bb-0310-9956-ffa450edef68
2011-01-03 18:36:40 +00:00
Phil Steitz
73d52a51f8
Added filter for spurious dead store warning.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1054344 13f79535-47bb-0310-9956-ffa450edef68
2011-01-02 02:56:35 +00:00
Phil Steitz
3be3e7c290
Modified constructor added in the fix for JIRA: MATH-384 to copy, rather than reference the input array.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1054342 13f79535-47bb-0310-9956-ffa450edef68
2011-01-02 01:46:22 +00:00
Phil Steitz
0958d5c296
Javadoc. Added missing param tag.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1054340 13f79535-47bb-0310-9956-ffa450edef68
2011-01-02 01:18:04 +00:00
Phil Steitz
5f455507ee
Javadoc. Drop extaneous params..
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1054333 13f79535-47bb-0310-9956-ffa450edef68
2011-01-02 00:34:58 +00:00
Phil Steitz
f554371027
Added package description.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1054315 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 23:22:24 +00:00
Phil Steitz
c10e1c8419
Fixed checkstyle errors: hidden fields, missing javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1054306 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 22:50:02 +00:00
Phil Steitz
66b2b5ca7d
Fixed checkstyle errors: missing javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1054302 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 22:19:24 +00:00
Phil Steitz
c2d4022d3a
Fixed checkstyle errors: extra parens, missing javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1054299 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 21:59:14 +00:00
Phil Steitz
d19ccac2a9
Fixed checkstyle errors: hidden field, missing javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1054298 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 21:45:35 +00:00
Phil Steitz
57d660e718
Fixed checkstyle errors: operator placement, missing javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1054297 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 21:35:42 +00:00
Phil Steitz
c369824de7
Fixed checkstyle errors: hidden fields, missing javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1054289 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 21:06:29 +00:00
Phil Steitz
411de7c005
Fixed checkstyle errors: missing javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1054287 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 20:37:28 +00:00
Phil Steitz
3728db280a
Fixed checkstyle errors: hidden fields, missing javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1054280 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 20:15:27 +00:00
Phil Steitz
a86b4b6182
Javadoc only. Added missing @throws tag.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1054275 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 19:36:43 +00:00
Phil Steitz
7ab5efee5d
Added missing javadoc comments.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1054187 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 02:41:35 +00:00
Phil Steitz
c96c12f797
* Added erfc
...
* Top-coded both erf and erfc to return extreme values when true values
are indistinguishable from extrema
* Added tests against reference data
JIRA: MATH-465, MATH-364
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1054184 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 01:23:02 +00:00
Mikkel Meyer Andersen
75bf8e330e
Removed myself from the contributors-section in pom.xml (previously added myself to the developers-section)
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1053923 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 16:06:19 +00:00
Mikkel Meyer Andersen
a4ac4aad19
Added myself in the developers-section in pom.xml
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1053920 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 15:49:17 +00:00
Mikkel Meyer Andersen
01acf585de
svn properties set for files created in connection with MATH-431
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1053918 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 15:38:18 +00:00