Commit Graph

1099 Commits

Author SHA1 Message Date
Luc Maisonobe 376834acf1 Added general methods to guess errors on estimated parameters
JIRA: MATH-176

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@613474 13f79535-47bb-0310-9956-ffa450edef68
2008-01-19 22:48:16 +00:00
Luc Maisonobe a1dcceb840 fixed javadoc typos
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@613461 13f79535-47bb-0310-9956-ffa450edef68
2008-01-19 21:45:11 +00:00
Luc Maisonobe d2f1bf4cd6 removed lazy building of the instance
it was not needed since the instance is small
it introduced synchronization problems

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@613448 13f79535-47bb-0310-9956-ffa450edef68
2008-01-19 20:28:40 +00:00
Rahul Akolkar a8be93bdff Fix global search+replace error.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@612535 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 18:24:23 +00:00
Niall Pemberton 0286c95e49 "mathuage" eqyivalent of geek-speak for math devs? Sorry but for ASF licensing you have to communicate like the rest of us!
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@612386 13f79535-47bb-0310-9956-ffa450edef68
2008-01-16 08:46:27 +00:00
Niall Pemberton 768ff5a23d upgrade to commons-parent-7
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@612219 13f79535-47bb-0310-9956-ffa450edef68
2008-01-15 21:04:51 +00:00
Luc Maisonobe f40057449a added an exclusion filter file for findbugs, to prevent false positives from being displayed
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@611643 13f79535-47bb-0310-9956-ffa450edef68
2008-01-13 20:59:58 +00:00
Luc Maisonobe 9305664d2a fixed javadoc typos
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@611631 13f79535-47bb-0310-9956-ffa450edef68
2008-01-13 20:21:20 +00:00
Luc Maisonobe d085445d68 be more restrictive on ignored exceptions for the test
added a long to double conversion to also test the getN() methods

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@611628 13f79535-47bb-0310-9956-ffa450edef68
2008-01-13 20:02:59 +00:00
Luc Maisonobe cc13556bb6 javadoc typo fix
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@611502 13f79535-47bb-0310-9956-ffa450edef68
2008-01-12 22:55:48 +00:00
Luc Maisonobe 8c432e4b57 removed the static qualifier for inner class NaturalComparator,
the class *really* should be static, but this triggers a bug in the clirr plugin

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@611501 13f79535-47bb-0310-9956-ffa450edef68
2008-01-12 22:45:32 +00:00
Luc Maisonobe bf393abf70 replaced array sharing by array copying to remove a findbugs warning
(this is used only for exception, so there should be no performance problems here)

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@611498 13f79535-47bb-0310-9956-ffa450edef68
2008-01-12 22:09:36 +00:00
Luc Maisonobe 0b3bfc1d4a NumberTransformer classes should be Serializable
since they are used as fields of the Serializable TransformerMap class

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@611497 13f79535-47bb-0310-9956-ffa450edef68
2008-01-12 22:07:09 +00:00
Luc Maisonobe 080a51a420 RandomGenerator classes should be Serializable
since they are used as fields of both Serializable RandomAdaptor
and RandomDataImpl classes

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@611495 13f79535-47bb-0310-9956-ffa450edef68
2008-01-12 22:01:00 +00:00
Luc Maisonobe 925880307d replaced serialization to temporary file by serialization to byte array
and simplified the error handling to remove a findbugs warning

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@611492 13f79535-47bb-0310-9956-ffa450edef68
2008-01-12 21:52:16 +00:00
Luc Maisonobe 69c6e7d5f4 replace getClass by the exact class,
to avoid problems if class is extended (findbugs warning)

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@611490 13f79535-47bb-0310-9956-ffa450edef68
2008-01-12 21:36:35 +00:00
Luc Maisonobe c76f6fdc58 UnivariateStatistic classes should be Serializable
since they are used as fields of the Serializable DescriptiveStatistics class

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@611489 13f79535-47bb-0310-9956-ffa450edef68
2008-01-12 21:35:10 +00:00
Luc Maisonobe 9ce7a64492 the internal class NaturalComparator now implements Serializable
to remove a findbugs warning

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@611487 13f79535-47bb-0310-9956-ffa450edef68
2008-01-12 21:31:59 +00:00
Luc Maisonobe 7092368cf1 removed a serialization warning from findbugs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@611481 13f79535-47bb-0310-9956-ffa450edef68
2008-01-12 21:05:49 +00:00
Luc Maisonobe 870f356212 commented out currently unused private code to remove warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@611480 13f79535-47bb-0310-9956-ffa450edef68
2008-01-12 21:04:42 +00:00
Luc Maisonobe 953f48ea27 added serialVersionUID to remove warning
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@611130 13f79535-47bb-0310-9956-ffa450edef68
2008-01-11 10:24:24 +00:00
Luc Maisonobe 43d20a8873 removed warnings about field coming from deprecated base class
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@611129 13f79535-47bb-0310-9956-ffa450edef68
2008-01-11 10:21:52 +00:00
Luc Maisonobe bdc78217fd fixed comments typos
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@610799 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 13:59:09 +00:00
Luc Maisonobe 9f02ffac95 replaced calls to deprecated SummaryStatistics.newInstance() method
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@610798 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 13:57:14 +00:00
Luc Maisonobe d4101572a6 replaced calls to deprecated SummaryStatistics.newInstance() method
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@610795 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 13:53:42 +00:00
Luc Maisonobe 4d498d1bdd removed unneeded import clauses
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@610794 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 13:52:30 +00:00
Luc Maisonobe 692c384857 replaced calls to deprecated DescriptiveStatistics.newInstance()
and SummaryStatistics.newInstance() methods

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@610793 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 13:51:46 +00:00
Luc Maisonobe 9ccfeeb4a1 replaced calls to deprecated DescriptiveStatistics.newInstance() method
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@610792 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 13:50:46 +00:00
Luc Maisonobe 340a732ae2 removed unneeded import clauses
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@610790 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 13:49:11 +00:00
Luc Maisonobe 6a366840f5 replaced calls to deprecated SummaryStatistics.newInstance() method
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@610789 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 13:46:49 +00:00
Luc Maisonobe dc04cc5690 replaced calls to deprecated SummaryStatistics.newInstance() method
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@610788 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 13:45:24 +00:00
Luc Maisonobe 2b3e980421 replaced deprecated ComplexUtils methods
JIRA: MATH-171

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@610787 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 13:39:08 +00:00
Luc Maisonobe 1b95e59609 deprecated tests concerning deprecated methods, to remove numerous warnings
JIRA: MATH-171

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@610786 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 13:37:17 +00:00
Luc Maisonobe 7c7b56e9f3 MATH-164 add a special handling for multiplication of complex
numbers with infinite parts

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@610288 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 07:30:13 +00:00
Phil Steitz a3dc59a94d Added check and rescaling of expected counts to sum to sum of expected
counts if necessary in ChiSquare test.
JIRA: MATH-175
Reported and patched by Carl Anderson.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@610274 13f79535-47bb-0310-9956-ffa450edef68
2008-01-09 05:16:00 +00:00
Niall Pemberton fb4949bd07 Upgrade to commons-parent version 6 release
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@609497 13f79535-47bb-0310-9956-ffa450edef68
2008-01-07 03:15:46 +00:00
Luc Maisonobe e8ba93825d fixed typos
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@608890 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 15:41:38 +00:00
Luc Maisonobe 70e682b211 [MATH-171] updated documentation according to new behavior
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@608885 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 15:21:26 +00:00
Luc Maisonobe 9ebcbd6b6d fixed typos
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@608876 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 14:54:53 +00:00
Luc Maisonobe 05bb73146d fixed typos
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@608871 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 14:47:25 +00:00
Luc Maisonobe 4b4243fc46 fixed typos
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@608870 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 14:45:46 +00:00
Luc Maisonobe dc2a102e3c added SynchronizedSummaryStatistics class (and tests)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@608839 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 13:49:14 +00:00
Luc Maisonobe 91f0d2a12c javadoc typos
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@608819 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 12:46:21 +00:00
Luc Maisonobe dc990d3a97 fixed typo in javadoc link
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@608456 13f79535-47bb-0310-9956-ffa450edef68
2008-01-03 11:35:02 +00:00
Phil Steitz 76bbd68cc7 Clean up reflection exception handling.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@602612 13f79535-47bb-0310-9956-ffa450edef68
2007-12-09 02:23:07 +00:00
Phil Steitz 458abe99c2 Changed Mean.evaluate() to use a two-pass algorithm, improving accuracy
by exploiting the the fact that this method has access to the full
array of data values.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@602306 13f79535-47bb-0310-9956-ffa450edef68
2007-12-08 02:59:53 +00:00
Phil Steitz 8583cdfe79 javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@602305 13f79535-47bb-0310-9956-ffa450edef68
2007-12-08 02:51:23 +00:00
Phil Steitz 37bcdf4123 Deprecated abstract factory methods and made SummaryStatistics
a concrete classes. Pushed implementations up from SummaryStatisticsImpl.
Made implementations of statistics configurable via setters.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@602304 13f79535-47bb-0310-9956-ffa450edef68
2007-12-08 02:48:39 +00:00
Phil Steitz 549132c945 Fixed javadoc typo.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@600790 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 04:23:13 +00:00
Phil Steitz 1cc67cf435 javadoc only.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@600370 13f79535-47bb-0310-9956-ffa450edef68
2007-12-02 20:28:50 +00:00