Commit Graph

2437 Commits

Author SHA1 Message Date
Phil Steitz 1105860d5a Hide constructor for utility class.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1054310 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 23:11:57 +00:00
Phil Steitz 938c46195c Fixed checkstyle errors: hidden fields, missing javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1054306 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 22:50:02 +00:00
Phil Steitz 78647e53f5 Fixed checkstyle errors: missing javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1054302 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 22:19:24 +00:00
Phil Steitz 21aec75a5b Fixed checkstyle errors: extra parens, missing javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1054299 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 21:59:14 +00:00
Phil Steitz 1a7d9a0d48 Fixed checkstyle errors: hidden field, missing javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1054298 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 21:45:35 +00:00
Phil Steitz 3cca30313c Fixed checkstyle errors: operator placement, missing javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1054297 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 21:35:42 +00:00
Phil Steitz 4efd7a73c1 Fixed checkstyle errors: hidden fields, missing javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1054289 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 21:06:29 +00:00
Phil Steitz 86d9a10330 Fixed checkstyle errors: missing javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1054287 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 20:37:28 +00:00
Phil Steitz 9b07304735 Fixed checkstyle errors: hidden fields, missing javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1054280 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 20:15:27 +00:00
Phil Steitz d5bbb312cb Removed trailing space.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1054279 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 20:12:54 +00:00
Phil Steitz 8c16f5de53 Removed trailing spaces.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1054276 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 19:44:36 +00:00
Phil Steitz 3df53c9cdb Javadoc only. Added missing @throws tag.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1054275 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 19:36:43 +00:00
Phil Steitz 5f1658ba9f Fixed Checkstyle nits: repeated string, (spurious) hidden field.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1054274 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 19:29:31 +00:00
Phil Steitz 829eacca74 Added missing javadoc comments.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1054187 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 02:41:35 +00:00
Phil Steitz c1af4d2094 Eliminated tabs and trailing spaces. Formatting only.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1054186 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 02:28:46 +00:00
Phil Steitz 593ae5e9e5 * 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/branches/MATH_2_X@1054184 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 01:23:02 +00:00
Mikkel Meyer Andersen 6794d0afe6 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/branches/MATH_2_X@1053924 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 16:07:14 +00:00
Mikkel Meyer Andersen 5474f62fad Added myself in the developers-section in pom.xml
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1053921 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 15:50:44 +00:00
Mikkel Meyer Andersen ebb7da48c4 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/branches/MATH_2_X@1053471 13f79535-47bb-0310-9956-ffa450edef68
2010-12-28 22:19:26 +00:00
Mikkel Meyer Andersen c68de1c974 Fixes MATH-384
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1053282 13f79535-47bb-0310-9956-ffa450edef68
2010-12-28 09:03:40 +00:00
Mikkel Meyer Andersen f237f93ed2 Fixes MATH-385
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1052978 13f79535-47bb-0310-9956-ffa450edef68
2010-12-26 22:51:54 +00:00
Sebastian Bazley 1f8cd503b1 MATH-455 Allow Clirr minSeverity to be overridden on the command-line
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1051256 13f79535-47bb-0310-9956-ffa450edef68
2010-12-20 19:39:41 +00:00
Phil Steitz f05f549658 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/branches/MATH_2_X@1044981 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 00:43:57 +00:00
Phil Steitz 6a5ed3b695 Added nontrivial GLS regression test. JIRA: MATH-408.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1044935 13f79535-47bb-0310-9956-ffa450edef68
2010-12-12 21:46:42 +00:00
Gilles Sadowski 228e1a6025 MATH-459
Deprecation.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1044185 13f79535-47bb-0310-9956-ffa450edef68
2010-12-10 00:36:42 +00:00
Gilles Sadowski 7f813beb16 MATH-457
Deprecation.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1044015 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 16:06:26 +00:00
Phil Steitz dba1070278 Fixed javadoc typos.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1043908 13f79535-47bb-0310-9956-ffa450edef68
2010-12-09 11:53:14 +00:00
Sebastian Bazley 02f6b47886 Update to current version of Clirr
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1043403 13f79535-47bb-0310-9956-ffa450edef68
2010-12-08 13:13:54 +00:00
Gilles Sadowski b9ed39d88c Added remark on future replacement of deprecated methods.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1043058 13f79535-47bb-0310-9956-ffa450edef68
2010-12-07 14:20:37 +00:00
Gilles Sadowski 90005764b8 MATH-453
Removed Javadoc comment referring to non-existent package.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1042610 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 12:52:36 +00:00
Sebastian Bazley 906090e2ba Javadoc typos
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1042510 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 01:54:18 +00:00
Sebastian Bazley 4071c1f739 Remove unnecessary throws clauses from testxxx methods
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1042509 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 01:49:59 +00:00
Sebastian Bazley 62cee956cb Unused imports
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1042508 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 01:45:19 +00:00
Sebastian Bazley 0cbe8f66ac Missing @Overrides
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1042507 13f79535-47bb-0310-9956-ffa450edef68
2010-12-06 01:44:33 +00:00
Sebastian Bazley cb7b95b91d StringBuffer => StringBuilder for local variables
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1042376 13f79535-47bb-0310-9956-ffa450edef68
2010-12-05 15:54:55 +00:00
Sebastian Bazley c32fdff0e0 Add missing @Deprecated annotations
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1042336 13f79535-47bb-0310-9956-ffa450edef68
2010-12-05 12:40:48 +00:00
Gilles Sadowski 1b642b1f28 MATH-451
Deprecation.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1042324 13f79535-47bb-0310-9956-ffa450edef68
2010-12-05 11:56:41 +00:00
Gilles Sadowski 2055773fef MATH-439
Deprecation.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1041220 13f79535-47bb-0310-9956-ffa450edef68
2010-12-02 00:06:21 +00:00
Phil Steitz 4185388b14 Modified NormalDistributionImpl.cumulativeProbability to return 0 or 1,
respectively for values more than 40 standard deviations from the mean.
For these values, the actual probability is indistinguishable from 0 or 1
as a double.  Top coding improves performance for extreme values and prevents
convergence exceptions.

JIRA: MATH-414

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1040471 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 11:55:22 +00:00
Phil Steitz 7cee480b68 Fixed javadoc typo.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1039982 13f79535-47bb-0310-9956-ffa450edef68
2010-11-28 23:52:45 +00:00
Gilles Sadowski b25abb900b MATH-430
Deprecation.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1039575 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 21:57:13 +00:00
Gilles Sadowski 4d3a7d2e81 MATH-430
Deprecation. Replacement available only in "trunk".


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1039484 13f79535-47bb-0310-9956-ffa450edef68
2010-11-26 17:58:14 +00:00
Phil Steitz 88673e5fef Updated changelog for JIRA: MATH-420 (should have been included in r1038873).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1039139 13f79535-47bb-0310-9956-ffa450edef68
2010-11-25 18:49:47 +00:00
Phil Steitz bf98dae677 Added toString() override to StatistictalSummaryValues. JIRA: MATH-420.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1038873 13f79535-47bb-0310-9956-ffa450edef68
2010-11-24 23:35:13 +00:00
Luc Maisonobe 3d93dbf5ce Deprecated the whole ode.jacobians package. It is clumsy and difficult to use. It will
be replaced by a completely rewritten implementation in 3.0, which will be more tightly
bound to the top level ode package

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1037341 13f79535-47bb-0310-9956-ffa450edef68
2010-11-20 21:58:35 +00:00
Luc Maisonobe 22686ad09c Added a normalization feature to transform samples so they have zero mean and unit standard deviation
Jira: MATH-426

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1037332 13f79535-47bb-0310-9956-ffa450edef68
2010-11-20 21:31:21 +00:00
Luc Maisonobe f27e3173c3 replaced all uses of the deprecated FunctionEvaluationException, DerivativeException and MatrixVisitorException
The exceptions have been temporarily declared as extending MathUserException (which is an unchecked exception) and the methods that formerly throwed them now throw MathUserException.
This changed seems to be a smooth way for users to update their code when they want, as it is binary compatible with the previous code and generate deprecation warnings if user functions do use these exceptions

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1037327 13f79535-47bb-0310-9956-ffa450edef68
2010-11-20 20:57:37 +00:00
Luc Maisonobe 9ff1c115ae added back some features from old exception scheme (accessors for patterns and arguments) to the new scheme
this should ease transition for existing user code

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1035475 13f79535-47bb-0310-9956-ffa450edef68
2010-11-15 22:39:25 +00:00
Luc Maisonobe 2fb069185a added new constructors to MathUserException to provide more control to user
added the general message for MathUserException

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1035421 13f79535-47bb-0310-9956-ffa450edef68
2010-11-15 19:40:38 +00:00
Luc Maisonobe e5c461784a reverting change introduced in 1035004:
it was the javadoc that did not correspond to the intended behavior, not the code

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1035073 13f79535-47bb-0310-9956-ffa450edef68
2010-11-14 21:32:57 +00:00