Commit Graph

1088 Commits

Author SHA1 Message Date
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
Phil Steitz 7f87ad1da7 Changed to extend non-deprecated, now-concrete DescriptiveStatistics.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@600369 13f79535-47bb-0310-9956-ffa450edef68
2007-12-02 20:27:21 +00:00
Phil Steitz ef6b260fe9 Added some descriptive statistics verification tests.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@600358 13f79535-47bb-0310-9956-ffa450edef68
2007-12-02 19:21:02 +00:00
Phil Steitz 8140c9da58 Cleaned up some errors / omissions from r598133
* Regenerated serialization version IDs
* Eliminated unecessary import
* Eliminated lazy initialization
* Changed getPercentile() to use configured implementation
* Added tests for percentile impl injection 


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@600196 13f79535-47bb-0310-9956-ffa450edef68
2007-12-01 21:19:13 +00:00
Phil Steitz 2d4fe56383 Deprecated abstract factory methods and made DescriptiveStatistics a concrete
class. Pushed implementations up from DescriptiveStatisticsImpl and deprecated
this class. Made implementations of statistics configurable via setters.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@598133 13f79535-47bb-0310-9956-ffa450edef68
2007-11-26 05:27:05 +00:00
Phil Steitz 5103a53887 updated clirr plugin version.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@598129 13f79535-47bb-0310-9956-ffa450edef68
2007-11-26 05:12:35 +00:00
Luc Maisonobe 83e9173c2b removed an unneeded import clause
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@598048 13f79535-47bb-0310-9956-ffa450edef68
2007-11-25 20:25:58 +00:00
Phil Steitz 8f4b97cdcc Moved misplaced element.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@596176 13f79535-47bb-0310-9956-ffa450edef68
2007-11-19 01:43:14 +00:00
Phil Steitz bdb18d5d10 Merged most functions from ComplexUtils into Complex class, added
static factory method to Complex.
JIRA: MATH-171
Reported and patched by Niall Pemberton


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@596159 13f79535-47bb-0310-9956-ffa450edef68
2007-11-18 23:38:05 +00:00
Niall Pemberton f033f293ec Update m2 build
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@595590 13f79535-47bb-0310-9956-ffa450edef68
2007-11-16 08:28:36 +00:00
Luc Maisonobe 4255d4cde6 added missing Apache license
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@594279 13f79535-47bb-0310-9956-ffa450edef68
2007-11-12 19:58:39 +00:00
Luc Maisonobe 4fcaff1e77 typo
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@592899 13f79535-47bb-0310-9956-ffa450edef68
2007-11-07 21:07:33 +00:00