Commit Graph

2699 Commits

Author SHA1 Message Date
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
Mikkel Meyer Andersen 794f28c200 Starting point for fixing MATH-431. Still some validation tests and documentation are missing.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1053836 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 09:52:00 +00:00
Mikkel Meyer Andersen 392f47dfed Purified tests introduced in MATH-385 such that NaNs and infinites are handled properly
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1053472 13f79535-47bb-0310-9956-ffa450edef68
2010-12-28 22:19:34 +00:00
Mikkel Meyer Andersen 38155d7ef3 Fixes MATH-384
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1053283 13f79535-47bb-0310-9956-ffa450edef68
2010-12-28 09:03:53 +00:00
Mikkel Meyer Andersen 0f004b25f7 Fixes MATH-385
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1053032 13f79535-47bb-0310-9956-ffa450edef68
2010-12-27 09:51:56 +00:00
Gilles Sadowski c78bc17c2d MATH-461
Created unchecked exception "MathParseException".
Removed occurrence of old "MathRuntimeException".
Modified unit tests to not use the base class "parseObject" method because its
signature contains a checked exception).
Upgraded tests to Junit4 (MATH-423).


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1052341 13f79535-47bb-0310-9956-ffa450edef68
2010-12-23 17:58:11 +00:00
Sebastian Bazley 57a03e8674 MATH-455 Allow Clirr minSeverity to be overridden on the command-line
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1051259 13f79535-47bb-0310-9956-ffa450edef68
2010-12-20 19:41:40 +00:00
Phil Steitz f85dc5760b Added a getUniqueCount() method to Frequency to return the number of unique
values included in the frequency table.

Reported and patched by Patrick Meyer
JIRA: MATH-414

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1044981 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 00:43:57 +00:00
Phil Steitz 49792e27a5 Added nontrivial GLS regression test. JIRA: MATH-408.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1044935 13f79535-47bb-0310-9956-ffa450edef68
2010-12-12 21:46:42 +00:00
Gilles Sadowski b6f9254645 MATH-447
Made all new exception classes inherit from "MathRuntimeException".
Changed accordingly all tests that relied on catching the standard
Java exception (e.g. "MathIllegalArgumentEception" is not a subclass
of "IllegalArgumentEception" anymore).
Replaced occurrences of the old "MathRuntimeException" by the
appropriate exception from the "exception" package (MATH-459).



git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1044186 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 00:50:50 +00:00
Phil Steitz d393072e58 Fixed javadoc typos.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1043908 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 11:53:14 +00:00
Sebastian Bazley 5d2b33bd45 Update Clirr to 2.2.3
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1043411 13f79535-47bb-0310-9956-ffa450edef68
2010-12-08 13:37:46 +00:00
Gilles Sadowski 5a9079f2ec MATH-454
Pass the number of allowed function evaluations as a parameter to the
"optimize" methods.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1043078 13f79535-47bb-0310-9956-ffa450edef68
2010-12-07 15:01:37 +00:00
Gilles Sadowski 142d2c918a MATH-438
Removed deprecated methods.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1043075 13f79535-47bb-0310-9956-ffa450edef68
2010-12-07 14:58:08 +00:00
Gilles Sadowski 34c5d96df7 MATH-425
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1043066 13f79535-47bb-0310-9956-ffa450edef68
2010-12-07 14:40:16 +00:00
Gilles Sadowski d54330b9bc MATH-452
Made all static variables (accuracies) "private".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1042596 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 11:56:26 +00:00
Sebastian Bazley 71d916f096 Javadoc typos
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1042513 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 02:10:44 +00:00
Sebastian Bazley 47de37f805 Add missing @Deprecated annotation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1042512 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 02:08:01 +00:00
Sebastian Bazley bef875a3ba Unused
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1042511 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 02:07:10 +00:00