Commit Graph

1128 Commits

Author SHA1 Message Date
Luc Maisonobe 9fec47b79b added checks for integer overflows during double to Fraction conversion
JIRA: MATH-182

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@617482 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 12:02:12 +00:00
Luc Maisonobe 630d9afa3c still javadoc ...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@617418 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 09:47:34 +00:00
Luc Maisonobe 70118be7ee announced fix for MATH-181
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@617415 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 09:46:59 +00:00
Luc Maisonobe e9c302ba77 fixed javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@617411 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 09:43:22 +00:00
Luc Maisonobe ef1d23ecc2 replaced maxDenominatorDigit by maxDenominator in constructor
it is more straightforward and avoid an exception
JIRA: MATH-181

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@617407 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 09:39:14 +00:00
Luc Maisonobe c000595d82 removing unneeded call to reduce()
(convergents are already reduced by construction)

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@617399 13f79535-47bb-0310-9956-ffa450edef68
2008-02-01 09:34:13 +00:00
Luc Maisonobe 20cc568180 fixed an array type error
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@615975 13f79535-47bb-0310-9956-ffa450edef68
2008-01-28 18:19:13 +00:00
Luc Maisonobe 25bda2581a added new constructors for Fractions
JIRA: MATH-181

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@615856 13f79535-47bb-0310-9956-ffa450edef68
2008-01-28 11:57:55 +00:00
Phil Steitz 87cbe1675e Javadoc only. Added missing </p>'s
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@615734 13f79535-47bb-0310-9956-ffa450edef68
2008-01-28 06:10:03 +00:00
Phil Steitz 6956f544e6 Removed JDK 1.5-dependent code.
JIRA: MATH-173


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@615555 13f79535-47bb-0310-9956-ffa450edef68
2008-01-27 04:22:10 +00:00
Phil Steitz 41eb3cb7b7 Added one-way ANOVA implementation.
JIRA: MATH-173
Contributed by Bob MacCallum.


git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@615531 13f79535-47bb-0310-9956-ffa450edef68
2008-01-26 22:42:43 +00:00
Luc Maisonobe 39c77b17fd add change notice
JIRA: MATH-179

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@614321 13f79535-47bb-0310-9956-ffa450edef68
2008-01-22 21:02:53 +00:00
Luc Maisonobe 09e2f3940c added Niall's patch for improved double constructor test
added test for construction failure (golden-ratio)
JIRA: MATH-179

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@614320 13f79535-47bb-0310-9956-ffa450edef68
2008-01-22 20:58:20 +00:00
Luc Maisonobe db70272e68 removed duplicated "The"
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@613877 13f79535-47bb-0310-9956-ffa450edef68
2008-01-21 13:11:24 +00:00
Phil Steitz ab33051cba Fixed section title.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@613781 13f79535-47bb-0310-9956-ffa450edef68
2008-01-21 06:56:10 +00:00
Luc Maisonobe a6a8cd68ab added missing javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@613677 13f79535-47bb-0310-9956-ffa450edef68
2008-01-20 21:08:35 +00:00
Phil Steitz 36bf638c50 Made title a little less ambitious than s/Jakarta// left it.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@613649 13f79535-47bb-0310-9956-ffa450edef68
2008-01-20 18:52:22 +00:00
Luc Maisonobe 8247ce625c fixed missing javadoc tags
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@613637 13f79535-47bb-0310-9956-ffa450edef68
2008-01-20 18:04:48 +00:00
Luc Maisonobe f1f1c1c979 added missing package file
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@613634 13f79535-47bb-0310-9956-ffa450edef68
2008-01-20 17:34:17 +00:00
Luc Maisonobe 81e5bb6166 changed public fields to private and added accessors
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@613633 13f79535-47bb-0310-9956-ffa450edef68
2008-01-20 17:30:18 +00:00
Luc Maisonobe c645488d32 set up svn:keywords property
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@613620 13f79535-47bb-0310-9956-ffa450edef68
2008-01-20 17:10:11 +00:00
Luc Maisonobe d18ba52734 added missing package file
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@613610 13f79535-47bb-0310-9956-ffa450edef68
2008-01-20 17:02:33 +00:00
Luc Maisonobe 90c94c81ec fixed a parameter name
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@613605 13f79535-47bb-0310-9956-ffa450edef68
2008-01-20 16:49:26 +00:00
Luc Maisonobe 8dd8ece63c added missing @exception tags
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@613604 13f79535-47bb-0310-9956-ffa450edef68
2008-01-20 16:47:22 +00:00
Luc Maisonobe 28e9474e06 replaced tab characters
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@613603 13f79535-47bb-0310-9956-ffa450edef68
2008-01-20 16:39:28 +00:00
Luc Maisonobe 540babda6c wrap lines *after* operator, to keep checkstyle happy
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@613600 13f79535-47bb-0310-9956-ffa450edef68
2008-01-20 16:35:54 +00:00
Luc Maisonobe ab1f56eacb fixed array type from String[] to Object[] according to base class
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@613587 13f79535-47bb-0310-9956-ffa450edef68
2008-01-20 16:06:50 +00:00
Luc Maisonobe 4ed5ea3874 fixed an exception type in javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@613577 13f79535-47bb-0310-9956-ffa450edef68
2008-01-20 15:52:12 +00:00
Luc Maisonobe 90400c773c fixed keywords used in @version tags to match checkstyle-enforced rule
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@613570 13f79535-47bb-0310-9956-ffa450edef68
2008-01-20 15:03:24 +00:00
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