Commit Graph

1241 Commits

Author SHA1 Message Date
Luc Maisonobe 4e50bbcb90 Replaced Raw types by Parameterized types where appropriate.
The various ArrayList, HashSet and HashMap used in math have
be restricted to the content they are intended for.
This removes lots of warnings that have appeared after the
switch to Java 5, and improves safety (for example the categories
used by OneWayAnova are guaranteed to be double arrays at compile
time).
Two difficult cases where not handled here: the Frequency class
and the Fitness interface. The first one mixes types and needs to
be studied before any change is attempted. The second one generates
some side effects on the overall package which is still under development.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@657612 13f79535-47bb-0310-9956-ffa450edef68
2008-05-18 19:37:23 +00:00
Luc Maisonobe f8b2fa71fb fixed javadoc links
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@657572 13f79535-47bb-0310-9956-ffa450edef68
2008-05-18 15:20:00 +00:00
Luc Maisonobe ec56c2c5ff added missing newline at end of file
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@657571 13f79535-47bb-0310-9956-ffa450edef68
2008-05-18 15:18:32 +00:00
Luc Maisonobe 21872adbf8 added Mauro's patch to support multiple regression
there is still some work to do on this new feature
JIRA: MATH-203

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@657570 13f79535-47bb-0310-9956-ffa450edef68
2008-05-18 15:05:29 +00:00
Luc Maisonobe 6ebc980cbc changed minimum java platform version to Java5
this change was discussed in the following thread:
http://markmail.org/message/3v5imgkeh72ypm5v

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@657568 13f79535-47bb-0310-9956-ffa450edef68
2008-05-18 15:00:52 +00:00
Phil Steitz dca7fe58ee Updated javadoc links.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@651868 13f79535-47bb-0310-9956-ffa450edef68
2008-04-26 23:15:48 +00:00
Luc Maisonobe 03b9e6771e added a way to handle errors in user-defined switching functions
previously, only the function evaluation could trigger errors,
not the other functions of the interface

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@651514 13f79535-47bb-0310-9956-ffa450edef68
2008-04-25 07:25:58 +00:00
Luc Maisonobe de621a4151 added the getSwitchingFunctions and clearSwitchingfunctions to the integrator interface
JIRA: MATH-202

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@651282 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 14:44:00 +00:00
Luc Maisonobe 9b8972d209 removed references to discovery
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@651280 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 14:40:29 +00:00
Luc Maisonobe bd162ca7d4 announced a whole bunch of deprecation removals
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@651262 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 13:31:19 +00:00
Luc Maisonobe 8c206f6225 removed deprecated methods
this does not belong to commons-math yet, but will probably be merged some day

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@651259 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 13:25:06 +00:00
Luc Maisonobe c29768da8d removed the deprecated getIdentity method
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@651256 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 13:22:14 +00:00
Luc Maisonobe ef5946618c removed deprecated implementations
the implementation is now in the base class, and can be modified by setter injection

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@651254 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 13:20:53 +00:00
Luc Maisonobe 93c0636cb6 removed deprecated exceptions constructors
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@651252 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 13:17:30 +00:00
Luc Maisonobe 4c7e51fd41 removed factories
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@651251 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 13:13:31 +00:00
Luc Maisonobe 6c76ad2d07 removed tests on removed deprecated methods
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@651250 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 13:06:21 +00:00
Luc Maisonobe 5c6f299aec removed deprecated functions that have been moved to the Complex class itself
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@651249 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 12:57:17 +00:00
Luc Maisonobe ed9ea97ac2 changed the field TOO_SMALL from protected to private static
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@651244 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 12:29:41 +00:00
Luc Maisonobe ae31d86b8b changed an internal test class to private static, for the sake of cleanliness
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@651243 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 12:27:14 +00:00
Luc Maisonobe 35a40c78ea removed dependency on discovery
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@651235 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 12:11:21 +00:00
Luc Maisonobe 46dd0a7d93 removed dependency on discovery
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@651234 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 12:10:35 +00:00
Luc Maisonobe cffe7c6cc6 removed deprecated factory methods and classes
they were replaced by setter injection as of 1.2

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@651230 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 12:04:33 +00:00
Luc Maisonobe 5ae0852fe0 replaced deprecated protected real/imaginary fields by private final fields
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@651228 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 12:01:59 +00:00
Luc Maisonobe 7025c49ef3 configured pom for development in branch 2.0
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@651203 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 09:17:37 +00:00
Luc Maisonobe fa012ac9c2 branching for initial work on 2.0
starting from a copy of trunk, shortly after 1.2 release

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@651200 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 09:03:43 +00:00
Brent Worden de2965f24c MATH-201. Fixed truncation error in t-test classes for large t values.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@645193 13f79535-47bb-0310-9956-ffa450edef68
2008-04-06 01:25:08 +00:00
Brent Worden edbf811194 set subversion properties on new files.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@643028 13f79535-47bb-0310-9956-ffa450edef68
2008-03-31 15:39:17 +00:00
Brent Worden 9e8037518e added beginning of genetics framework.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@643027 13f79535-47bb-0310-9956-ffa450edef68
2008-03-31 15:37:16 +00:00
Luc Maisonobe 2c443ab8b0 fixed crashes in AbstractEstimator when some parameters are bound.
getCovariances() and guessParametersErrors() now only give result
about unbound parameters
JIRA: MATH-200

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@642357 13f79535-47bb-0310-9956-ffa450edef68
2008-03-28 20:06:54 +00:00
Luc Maisonobe b736c8bda6 removed warnings
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@640206 13f79535-47bb-0310-9956-ffa450edef68
2008-03-23 13:46:40 +00:00
Luc Maisonobe 5f13efdba8 added an error message for Levenberg-Marquardt
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@640205 13f79535-47bb-0310-9956-ffa450edef68
2008-03-23 13:37:04 +00:00
Luc Maisonobe faead6c3fb detect numerical problems in Q.R decomposition for Levenberg-Marquardt estimator
and report them appropriately
JIRA: MATH-199

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@640204 13f79535-47bb-0310-9956-ffa450edef68
2008-03-23 13:36:03 +00:00
Luc Maisonobe cd5f65c4c7 added an error detection for missing imaginary character while parsing complex string
JIRA: MATH-198

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@640191 13f79535-47bb-0310-9956-ffa450edef68
2008-03-23 12:22:59 +00:00
Henri Yandell 07b329c5fd Fixing the assemblies to say project.version instead of version to stop '2.4.1' leaking through from the JVM properties. Also making it project.artifactId while I'm doing this.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@637007 13f79535-47bb-0310-9956-ffa450edef68
2008-03-14 06:41:17 +00:00
Niall Pemberton b2f0dda11d Upgrade to version 9 of commons-parent
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@635244 13f79535-47bb-0310-9956-ffa450edef68
2008-03-09 14:21:48 +00:00
Brent Worden f1f69b2d78 MATH-193. javadoc and style fixes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@635154 13f79535-47bb-0310-9956-ffa450edef68
2008-03-09 03:54:20 +00:00
Brent Worden 80416d808e replace string concatenation with StringBuffer.append calls.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@635150 13f79535-47bb-0310-9956-ffa450edef68
2008-03-09 03:30:30 +00:00
Luc Maisonobe 7d28e0f53d fixed javadoc typos
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@633991 13f79535-47bb-0310-9956-ffa450edef68
2008-03-05 19:29:38 +00:00
Niall Pemberton ffc1d28311 Rool Math version number to 1.3-SNAPSHOT following 1.2 release
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@633875 13f79535-47bb-0310-9956-ffa450edef68
2008-03-05 15:20:28 +00:00
Niall Pemberton b4f407e7c3 Remove OSGi configuration in maven-jar-plugin (now handled by maven-bundle-plugin configured in commons-parent)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@632827 13f79535-47bb-0310-9956-ffa450edef68
2008-03-02 20:05:49 +00:00
Niall Pemberton 13482b72fb Add Issue Tracking and Download pages generated by commons-build-plugin
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@632817 13f79535-47bb-0310-9956-ffa450edef68
2008-03-02 19:46:00 +00:00
Niall Pemberton 0df8de7691 Upgrade to commons-parent-8 and add configuration properties for OSGi (maven-bundle-plugin) and commons-build-plugin
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@632815 13f79535-47bb-0310-9956-ffa450edef68
2008-03-02 19:37:56 +00:00
Phil Steitz b73432e8d6 Made builtBy attribute configurable.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@628515 13f79535-47bb-0310-9956-ffa450edef68
2008-02-17 16:56:26 +00:00
Phil Steitz ae18893755 Dropped reference to 1.1 release.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@628512 13f79535-47bb-0310-9956-ffa450edef68
2008-02-17 16:55:24 +00:00
Phil Steitz 0473351c85 Added LICENSE.txt to jar, changed jar name to 1.2.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@628511 13f79535-47bb-0310-9956-ffa450edef68
2008-02-17 16:54:58 +00:00
Phil Steitz effdf4250c Dropped extraneous elements causing problems for maven 1.1.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@628510 13f79535-47bb-0310-9956-ffa450edef68
2008-02-17 16:47:39 +00:00
Phil Steitz 1f278be0db Commented out reference to currently defunct nightlies.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@628506 13f79535-47bb-0310-9956-ffa450edef68
2008-02-17 16:27:16 +00:00
Phil Steitz f6a6d7a0be Prepare for 1.2-RC2.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@628429 13f79535-47bb-0310-9956-ffa450edef68
2008-02-17 05:20:25 +00:00
Phil Steitz f1257e2c36 Changed version to RC2, added pointer to build instructions.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@628428 13f79535-47bb-0310-9956-ffa450edef68
2008-02-17 05:19:41 +00:00
Luc Maisonobe 7b7f9388eb fixed a javadoc link that used the wrong method name
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@628352 13f79535-47bb-0310-9956-ffa450edef68
2008-02-16 16:39:03 +00:00