Phil Steitz
dc9278a2aa
Removed trailing spaces.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@811685 13f79535-47bb-0310-9956-ffa450edef68
2009-09-05 17:36:48 +00:00
Luc Maisonobe
abb6fb94bd
fixed misleading number formats in error messages for adaptive stepsize integrators
...
JIRA: MATH-291
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@811328 13f79535-47bb-0310-9956-ffa450edef68
2009-09-04 09:44:54 +00:00
Luc Maisonobe
c4ed905d02
replaced a catch for Exception by a catch for NumberFormatException
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@810243 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 21:14:35 +00:00
Luc Maisonobe
f21c639f0a
removed unused imports
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@810239 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 21:04:38 +00:00
Luc Maisonobe
0283b0c935
tighten checkstyle rules for hidden fields
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@810238 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 21:02:59 +00:00
Luc Maisonobe
de33e91191
handle an impossible case consistently with other parts of the library
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@810206 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 20:05:22 +00:00
Luc Maisonobe
0234e46518
tighten rules for constants naming conventions
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@810196 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 19:47:46 +00:00
Luc Maisonobe
a3217e90b9
tighten checkstyle rules for switch statements
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@810179 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 19:12:50 +00:00
Luc Maisonobe
5444ff3879
Added a check for utility class constructor which must be private to prevent instantiation
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@810173 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 19:03:19 +00:00
Luc Maisonobe
a43d721f85
tighten checkstyle rules for import statements
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@809744 13f79535-47bb-0310-9956-ffa450edef68
2009-08-31 20:59:15 +00:00
Luc Maisonobe
0dff051c05
added missing javadoc parameter
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@809725 13f79535-47bb-0310-9956-ffa450edef68
2009-08-31 20:12:54 +00:00
Phil Steitz
dd63599d2a
Added first batch of weighted statistics
...
* mean
* sum
* product
* variance
JIRA: MATH-287
Thanks to Matthew Rowles
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@809448 13f79535-47bb-0310-9956-ffa450edef68
2009-08-31 01:56:09 +00:00
Luc Maisonobe
b91ed85747
translated new messages and added variable part in format
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@809404 13f79535-47bb-0310-9956-ffa450edef68
2009-08-30 19:21:29 +00:00
Phil Steitz
e89db38df8
Added normalizeArray method to MathUtils.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@809394 13f79535-47bb-0310-9956-ffa450edef68
2009-08-30 18:10:16 +00:00
Phil Steitz
ad6960636a
Refer to simplex solver in issues related to this component.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@809393 13f79535-47bb-0310-9956-ffa450edef68
2009-08-30 18:03:16 +00:00
Luc Maisonobe
57b29f4a43
removed unused import
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@808313 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 08:06:43 +00:00
Luc Maisonobe
62c09640bb
added tests for both the <= and the >= versions of the constraints
...
one leads to 0 as a solution, the other one leads to no feasible solution
JIRA: MATH-290
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@808312 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 08:05:01 +00:00
Luc Maisonobe
24e9fc91c7
removed an unused argument in a private method
...
JIRA: MATH-289
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@808311 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 07:57:51 +00:00
Luc Maisonobe
b22b39f46b
fixed weird spacing as per last patch from Ben
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@807929 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 08:54:42 +00:00
Luc Maisonobe
b01fcc31b9
fixed an error with negative constraints and unfeasible solution
...
JIRA: MATH-290
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@807923 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 08:43:27 +00:00
Luc Maisonobe
38983e8207
fixed an error induced by zero entries in simplex solver
...
JIRA: MATH-288
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@807738 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 18:07:13 +00:00
Luc Maisonobe
dbdff0758b
fixed an error leading the simplex solver to compute the right solution but return another one
...
JIRA: MATH-286
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@806753 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 23:07:42 +00:00
Sebastian Bazley
3f9613be38
Typo
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@804673 13f79535-47bb-0310-9956-ffa450edef68
2009-08-16 11:50:14 +00:00
Phil Steitz
d14c3d60d4
Removed reference to maven 1 build.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@804554 13f79535-47bb-0310-9956-ffa450edef68
2009-08-16 02:52:32 +00:00
Phil Steitz
5e8f77110c
Fixed broken link, dropped reference to deprecated package.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@804489 13f79535-47bb-0310-9956-ffa450edef68
2009-08-15 17:19:04 +00:00
Luc Maisonobe
8fe6a83eb6
Prevent infinite loops in multi-directional direct optimization method when the start point is exactly at the optimal point
...
JIRA: MATH-283
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@804328 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 19:23:27 +00:00
Sebastian Bazley
dacb1a18d7
Unnecessary ;
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@800113 13f79535-47bb-0310-9956-ffa450edef68
2009-08-02 17:23:54 +00:00
Sebastian Bazley
0917d0986b
Missing @Override markers
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@800112 13f79535-47bb-0310-9956-ffa450edef68
2009-08-02 17:23:37 +00:00
Sebastian Bazley
30f5dcb3a9
Unnecessary casts
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@800111 13f79535-47bb-0310-9956-ffa450edef68
2009-08-02 17:23:05 +00:00
Sebastian Bazley
57cbd07fd1
Add AL header
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@800107 13f79535-47bb-0310-9956-ffa450edef68
2009-08-02 17:11:38 +00:00
William Barker
002197aae6
remove references to deleted style sheet
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@799967 13f79535-47bb-0310-9956-ffa450edef68
2009-08-02 01:06:03 +00:00
Phil Steitz
dd7f5de4a7
Removed vestigal m1 file.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@799933 13f79535-47bb-0310-9956-ffa450edef68
2009-08-01 21:43:45 +00:00
Phil Steitz
b050719a9d
Dropped vestigal m1 file.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@799931 13f79535-47bb-0310-9956-ffa450edef68
2009-08-01 21:35:31 +00:00
Phil Steitz
420f72ee63
Added test-jar.xml to source distro, cleaned up.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@799930 13f79535-47bb-0310-9956-ffa450edef68
2009-08-01 21:34:50 +00:00
Phil Steitz
c968053bea
Added missing reference to genetics package.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@799924 13f79535-47bb-0310-9956-ffa450edef68
2009-08-01 20:57:47 +00:00
Luc Maisonobe
a0627bc5d7
changed test threshold, it was too tight for JRockit
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@799913 13f79535-47bb-0310-9956-ffa450edef68
2009-08-01 19:41:25 +00:00
Luc Maisonobe
0cf09657de
fixed an error in RealMatrix javadoc
...
JIRA: MATH-281
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@799906 13f79535-47bb-0310-9956-ffa450edef68
2009-08-01 19:01:59 +00:00
Luc Maisonobe
ce6e21ae42
moved test java and resources directories for compliance with maven standard directory layout
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@799874 13f79535-47bb-0310-9956-ffa450edef68
2009-08-01 14:44:08 +00:00
Luc Maisonobe
e67ba60a59
moved main java directory for compliance with maven standard directory layout
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@799870 13f79535-47bb-0310-9956-ffa450edef68
2009-08-01 14:30:25 +00:00
Luc Maisonobe
12fd78c5b0
moved assembly directory for compliance with maven standard directory layout
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@799866 13f79535-47bb-0310-9956-ffa450edef68
2009-08-01 14:23:42 +00:00
Luc Maisonobe
d94e177662
cleaned more subversion properties
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@799857 13f79535-47bb-0310-9956-ffa450edef68
2009-08-01 13:07:12 +00:00
Luc Maisonobe
f7730c09f2
added a protection against infinite loops that occur with some JVM (Sun before 1.4, JRockit, ...)
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@799849 13f79535-47bb-0310-9956-ffa450edef68
2009-08-01 12:15:19 +00:00
Luc Maisonobe
253c7d3b94
fixed properties
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@799736 13f79535-47bb-0310-9956-ffa450edef68
2009-07-31 20:11:06 +00:00
Luc Maisonobe
12eee5ea78
added forgotten Apache header
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@799644 13f79535-47bb-0310-9956-ffa450edef68
2009-07-31 15:51:17 +00:00
Phil Steitz
2f6664b623
Added description for 2.0 release.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@799445 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 21:21:55 +00:00
Phil Steitz
67ca596d6a
Updated menu to include 2.0 javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@798738 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 00:36:40 +00:00
Phil Steitz
19838971de
Updated download page for 2.0 release.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@797833 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 20:56:06 +00:00
Phil Steitz
e302655c61
Dropped unenlightening reference.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@797802 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 17:23:35 +00:00
Phil Steitz
2dc148477f
Fixed javadoc link.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@797801 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 17:22:06 +00:00
Phil Steitz
e827b4f2d7
Dropped reference to non-existent method.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@797800 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 17:21:28 +00:00
Luc Maisonobe
39e1afecdd
removed a print
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@797799 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 17:08:08 +00:00
Luc Maisonobe
f65ae79732
removed a print
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@797797 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 17:01:48 +00:00
Luc Maisonobe
43a609a740
improved test coverage
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@797795 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 16:51:58 +00:00
Luc Maisonobe
2194603459
improved test coverage
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@797792 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 16:41:58 +00:00
Luc Maisonobe
cfd7b30418
improved test coverage
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@797791 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 16:26:23 +00:00
Luc Maisonobe
afb42aaf58
improved test coverage
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@797790 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 16:21:52 +00:00
Luc Maisonobe
1a7da0d08a
removed unused function
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@797789 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 16:18:17 +00:00
Luc Maisonobe
cc245b6568
added tests for recent changes
...
improved coverage
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@797787 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 16:14:42 +00:00
Luc Maisonobe
270d18280c
make sure at least one run in the multistart univariate optimizer uses the complete search domain
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@797786 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 16:13:55 +00:00
Luc Maisonobe
4e2dd4df1f
fixed an error in multistart univariate optimizer:
...
the optima found were sorted according to the independant variable x,
not according to the function value y
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@797785 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 16:12:25 +00:00
Luc Maisonobe
48d014dac1
limited accuracy of numbers in string comparisons
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@797744 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 11:09:14 +00:00
Luc Maisonobe
00589c9975
improved test coverage
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@797742 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 10:58:56 +00:00
Luc Maisonobe
648a02f0b4
the new base class does not call setSeed,
...
defensive programming against too early calls to setSeed are not useful anymore
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@797246 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 22:21:46 +00:00
Luc Maisonobe
441880be46
removed a javadoc paragraph that is not true anymore
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@797237 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 21:44:55 +00:00
Luc Maisonobe
257578b72b
improved test coverage
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@796553 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 21:54:47 +00:00
Luc Maisonobe
0c2dd848f7
fixed javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@796552 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 21:51:30 +00:00
Luc Maisonobe
f42fe54595
added an implementation of the Mersenne twister pseudo random number generator
...
the implementation comes from Mantissa and was a translation of the 2002 version
in C by the algorithm authors, which was published under a BSD license
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@796546 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 21:38:55 +00:00
Luc Maisonobe
c705d93e2b
added a base class for bits streams based modern pseudo random generators
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@796545 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 21:33:31 +00:00
Luc Maisonobe
05d4f8539c
added new seeding methods for random generators
...
this will allow implementing some modern and efficient generators
that require a lots of bits for seeding in the form of complete integer arrays
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@796543 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 21:32:38 +00:00
Luc Maisonobe
5fd4a00932
improved test coverage
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@796040 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 22:01:30 +00:00
Luc Maisonobe
b6d4e8649a
fixed an index error triggering ArrayIndexOutOfBoundException for an add after a clear
...
if size has grown
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@796021 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 21:27:12 +00:00
Luc Maisonobe
36e2a9ee50
added tests for the synchronized version of multivariate summary statistics
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@796004 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 20:52:52 +00:00
Luc Maisonobe
be3c1e1170
delegate creation of tested class to a factory so that the derived class
...
SynchronizedDescriptiveStatisticsTest can override it and ... really test
SynchronizedDescriptiveStatistics
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@796003 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 20:51:56 +00:00
Luc Maisonobe
7b6cd406a2
improved test coverage
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795996 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 20:29:07 +00:00
Luc Maisonobe
9d5d0da39b
checked serialization of TransformerMap and added a test for it
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795994 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 20:23:47 +00:00
Luc Maisonobe
bf740630ae
checked serialization of EuclideanIntegerPoint and added a tests suite for the class
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795984 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 20:13:24 +00:00
Luc Maisonobe
4cf9d99208
optimizers should not be serializable
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795978 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 19:57:08 +00:00
Luc Maisonobe
77b5519151
checked serialization of DefaultTransformer and added a test for it
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795975 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 19:50:12 +00:00
Luc Maisonobe
d7f7b629b8
removed automatically generated TODO comment
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795974 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 19:35:35 +00:00
Luc Maisonobe
6135415f31
convergence checkers should not be serializable
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795972 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 19:34:06 +00:00
Luc Maisonobe
cb545b5bc0
checked serialization of BigReal and added a tests suite for the class
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795963 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 19:23:43 +00:00
Luc Maisonobe
ac01fdfb7a
handle serialization of BigRealField (which is a singleton) properly and test it
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795912 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 16:51:09 +00:00
Luc Maisonobe
04749a6a81
handle serialization of ComplexField (which is a singleton) properly and test it
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795911 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 16:48:30 +00:00
Luc Maisonobe
417766430e
handle serialization of FractionField (which is a singleton) properly and test it
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795909 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 16:45:08 +00:00
Luc Maisonobe
fbd46106cb
handle serialization of BigFractionField (which is a singleton) properly and test it
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795908 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 16:42:55 +00:00
Luc Maisonobe
9c7a059486
removed TODO item: the solvers tests are quite different, an abstract test class seems overkill here
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795904 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 16:32:34 +00:00
Luc Maisonobe
3c186cacbb
added test for Fraction serialization
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795903 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 16:29:46 +00:00
Luc Maisonobe
d1d32776df
added test for BigFraction serialization
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795900 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 16:27:45 +00:00
Luc Maisonobe
56b70eb138
added new tests for multistart optimizers
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795608 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 20:05:34 +00:00
Luc Maisonobe
28bb294968
changing multistart behaviour to rely on search domain boundary rather than on start point
...
the only implementation of the raw minimizer ignores the start point so the multistart optimizer always found the same point before the change
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795607 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 20:04:56 +00:00
Luc Maisonobe
40cfef3b2a
moved velocity template to a default directory where the maven-changes-plugin look for it
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795599 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 19:29:40 +00:00
Luc Maisonobe
f71a6ee1e9
fixed an error identified by findbugs
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795591 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 18:36:46 +00:00
Luc Maisonobe
dfc9f5705d
removed obsolete files
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795586 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 18:23:21 +00:00
Luc Maisonobe
5aefb611dd
added Apache header to some files that didn't have it
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795585 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 18:22:53 +00:00
Luc Maisonobe
8c75ef6f16
fixed a change entry after several layer of changes have occurred
...
to avoid confusing users
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795570 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 16:47:21 +00:00
Phil Steitz
acb0019f8a
Added release notes velocity template.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795545 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 14:13:31 +00:00
Luc Maisonobe
8717704d9a
Changed the default max growth factor for multistep methods using Nordsieck representation.
...
The previous value (10.0) was far too big and lead to numerical instability at high orders
because the last component of the Nordsieck vector, which has a low accuracy, could be
multiplied by 10^k which was ... huge.
These integrators are at least usable now!
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@795407 13f79535-47bb-0310-9956-ffa450edef68
2009-07-18 18:21:36 +00:00
Luc Maisonobe
56a4d632c5
Changed the return type of the various interpolation algorithms to the
...
specific implementation of UnivariateRealFunction each one uses
(thanks to Gilles for reporting the problem and providing the patch)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@794709 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 15:09:02 +00:00
Phil Steitz
3addbb3243
Added AggregateSummaryStatistics.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@794492 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 02:06:59 +00:00
Phil Steitz
88a8df3f9d
Fixed types.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@794489 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 01:54:32 +00:00
Phil Steitz
8be748c00d
Cleanup / complete AggregateSummaryStatistics implementation
...
* Fully synchronized access to aggregating SummaryStatistics instance
* Exposed all SummaryStatistics stats
* Improved test coverage
* Improved javadoc
JIRA: MATH-224
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@792365 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 00:53:32 +00:00
Phil Steitz
727570392c
Made long conversion conistent. Improved test coverage. JIRA: MATH-224.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@791931 13f79535-47bb-0310-9956-ffa450edef68
2009-07-07 18:29:08 +00:00
Luc Maisonobe
ea0ea82673
added a test case and documentation for the new contract about roots bracketing in univariate real solvers (roots exactly at endpoints are now accepted)
...
JIRA: MATH-280
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@791833 13f79535-47bb-0310-9956-ffa450edef68
2009-07-07 13:39:20 +00:00
Luc Maisonobe
b9d8c68e2f
fixed a bracketing issue due to inconsistent checks
...
JIRA: MATH-280
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@791766 13f79535-47bb-0310-9956-ffa450edef68
2009-07-07 09:19:46 +00:00
Luc Maisonobe
4eb0c8f29e
removed compilation/findbugs warnings about type safety
...
the changes include API changes (replacing Object by Comparable<?>).
The class itself is still not generic as this would prevent mixing types which is a desired feature here that is checked in the unit tests
JIRA: MATH-261
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@791733 13f79535-47bb-0310-9956-ffa450edef68
2009-07-07 07:44:52 +00:00
Luc Maisonobe
2caa986e25
fixed missing @return tag
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@791728 13f79535-47bb-0310-9956-ffa450edef68
2009-07-07 07:17:50 +00:00
Luc Maisonobe
852a75dfe4
removed tabs
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@791724 13f79535-47bb-0310-9956-ffa450edef68
2009-07-07 07:08:54 +00:00
Luc Maisonobe
f0ad546c7f
removed tabs
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@791723 13f79535-47bb-0310-9956-ffa450edef68
2009-07-07 07:07:23 +00:00
Phil Steitz
71f41f90fe
Added static direct aggregation method to AggregateSummaryStatistics. JIRA: MATH-224.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@791687 13f79535-47bb-0310-9956-ffa450edef68
2009-07-07 03:03:56 +00:00
Phil Steitz
4ce932e3cd
Exposed second moment.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@791685 13f79535-47bb-0310-9956-ffa450edef68
2009-07-07 03:01:34 +00:00
Luc Maisonobe
935eec022d
compute state variation avoiding cancellation in a critical subtraction to preserve accuracy
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@791248 13f79535-47bb-0310-9956-ffa450edef68
2009-07-05 14:06:00 +00:00
Luc Maisonobe
1805ad4cac
javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@791247 13f79535-47bb-0310-9956-ffa450edef68
2009-07-05 14:02:41 +00:00
Luc Maisonobe
e4a8fdfdf1
Added a check for too few data in linear regression
...
JIRA: MATH-279
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@791244 13f79535-47bb-0310-9956-ffa450edef68
2009-07-05 13:29:37 +00:00
Luc Maisonobe
720a0b2626
added scalar multiply to the Complex class
...
JIRA: MATH-277
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@791237 13f79535-47bb-0310-9956-ffa450edef68
2009-07-05 12:53:13 +00:00
Luc Maisonobe
e4a5900147
fixed package documentation that still referenced mantissa
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@790381 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 21:04:20 +00:00
Luc Maisonobe
6d10d47af1
fixed javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@790380 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 21:03:38 +00:00
Luc Maisonobe
c22eec05d3
optimized matrix update loop
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@790374 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 20:57:20 +00:00
Luc Maisonobe
5129af7587
fixed another set of warnings identified by recent findbugs versions
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@790372 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 20:48:19 +00:00
Luc Maisonobe
c92046ecc9
removed import
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@790370 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 20:41:17 +00:00
Luc Maisonobe
121f832ef9
fixed another set of warnings identified by recent findbugs versions
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@790368 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 20:31:50 +00:00
Luc Maisonobe
1a303e82db
removed tabs
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@790366 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 20:29:59 +00:00
Luc Maisonobe
63d0a79ce2
fixed a number of warnings identified by findbugs eclipse plugin version 1.3.9
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@790243 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 16:03:28 +00:00
Phil Steitz
3c321ba7cb
Added GA.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@789511 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 00:40:59 +00:00
Phil Steitz
6dcf0f6a12
Fixed broken javadoc links.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@789510 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 00:37:05 +00:00
Phil Steitz
41fac55fe2
Fixed incorrect javadoc link.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@789502 13f79535-47bb-0310-9956-ffa450edef68
2009-06-30 00:16:04 +00:00
Luc Maisonobe
879518c341
fixed a serialization error introduced by yesterday changes
...
(sorry for the noise)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@789358 13f79535-47bb-0310-9956-ffa450edef68
2009-06-29 15:20:22 +00:00
Luc Maisonobe
c7beb702d8
fixed typo
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@789161 13f79535-47bb-0310-9956-ffa450edef68
2009-06-28 22:01:40 +00:00
Luc Maisonobe
3cb90658a4
simplified and reorganized slightly the Adams integrators class hierarchy
...
this will allow a future BDF integrator development for stiff problems
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@789159 13f79535-47bb-0310-9956-ffa450edef68
2009-06-28 21:56:20 +00:00
Luc Maisonobe
7614049449
changed Nordsieck transformer to an Adams-specific Nordsieck transformer
...
the transformer associated with BDF integrator will be quite different
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@789158 13f79535-47bb-0310-9956-ffa450edef68
2009-06-28 21:54:33 +00:00
Luc Maisonobe
43bc08d7c3
improve both numerical accuracy and speed by using optimized loops
...
in reversed row order (i.e. from higher orders to lower orders) directly
on matrix data.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@789157 13f79535-47bb-0310-9956-ffa450edef68
2009-06-28 21:51:09 +00:00
Luc Maisonobe
b5395fd802
be more precise on return type, we really return a Array2DRowRealMatrix,
...
so tell it in case some callers can use this information for optimization
(which is the case for Nordsieck transformers, they will be able to use
customized loops on matrix data for the sake of numerical accuracy)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@789156 13f79535-47bb-0310-9956-ffa450edef68
2009-06-28 21:48:15 +00:00
Luc Maisonobe
e1f4ed50ad
moved test problems one package up, to prepare their reuse for stiff integrators
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@789155 13f79535-47bb-0310-9956-ffa450edef68
2009-06-28 21:43:58 +00:00
Luc Maisonobe
8e473959fd
Added a getCovariance method to singular value decomposition
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@788805 13f79535-47bb-0310-9956-ffa450edef68
2009-06-26 18:27:57 +00:00
Luc Maisonobe
c8a6ed4c40
added a missing @Override
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@788047 13f79535-47bb-0310-9956-ffa450edef68
2009-06-24 15:04:42 +00:00
William Barker
fee5df4e6f
Add test cases for Serialization of subclasses of Complex
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@787521 13f79535-47bb-0310-9956-ffa450edef68
2009-06-23 02:35:50 +00:00
Luc Maisonobe
0c9be1c546
fixed TWO_FIFTH value in both Fraction and BigFraction
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@787348 13f79535-47bb-0310-9956-ffa450edef68
2009-06-22 18:42:11 +00:00
Luc Maisonobe
de64808c29
fixed a forgotten adjustment of integrator setting
...
the first integer parameter semantics have changed and the test
was not updated to reflect this, thus leading to test failure
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@787215 13f79535-47bb-0310-9956-ffa450edef68
2009-06-22 12:20:37 +00:00
William Barker
053b1c4908
Yes, sebb is correct. After running tests, readResolve needs to be visible to subclasses to be used. Since Complex is clearly designed to be subclassed, changing the visiblity.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@787118 13f79535-47bb-0310-9956-ffa450edef68
2009-06-22 00:26:09 +00:00
Phil Steitz
072539b502
Made protected fields private. JIRA: MATH-207.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@787067 13f79535-47bb-0310-9956-ffa450edef68
2009-06-21 19:04:04 +00:00
Luc Maisonobe
18b2ddb24b
fixed Adams-Bashforth order for error control (it is k, not k+1)
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@787052 13f79535-47bb-0310-9956-ffa450edef68
2009-06-21 17:07:27 +00:00
Luc Maisonobe
5db7c253e1
removed the current point from count in multistep integrators
...
updated documentation since now Adams-Bashforth and Adams-Moulton
are adaptive stepsize integrators
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@787050 13f79535-47bb-0310-9956-ffa450edef68
2009-06-21 17:01:03 +00:00
Phil Steitz
4ee03f09ff
Added Spearman's correlation.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@786940 13f79535-47bb-0310-9956-ffa450edef68
2009-06-21 02:22:09 +00:00
William Barker
b3c7fd661c
Restore Serializable to PolynomialFunction
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@786936 13f79535-47bb-0310-9956-ffa450edef68
2009-06-21 01:12:22 +00:00
Phil Steitz
828c863a00
Added ranking subsection.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@786935 13f79535-47bb-0310-9956-ffa450edef68
2009-06-21 00:58:14 +00:00
William Barker
15c9f02e5c
Remove Serializable from some tranient analitics classes.
...
Let me know if I've nuked ur favorite one, and I can put it back
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@786927 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 23:37:47 +00:00
Sebastian Bazley
7f8175d4f6
Fix thread-safety issues
...
- code failed to use synch. read
- code could potentially use two different random Generators if another thread changed it
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@786918 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 22:17:36 +00:00
Phil Steitz
f4275f3371
Made aggregation threadsafe.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@786911 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 21:35:32 +00:00
Luc Maisonobe
aa118ca31c
removed old maven 1 stuff
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@786900 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 20:02:27 +00:00
Luc Maisonobe
45786158ab
adding missing Apache header
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@786890 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 19:23:44 +00:00
Luc Maisonobe
b6de8e8e8f
documented Adams-Bashforth and Adams-Moulton ODE integrators
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@786885 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 19:06:55 +00:00
Luc Maisonobe
a4ef3f9941
fixed a warning about a mission serializeVersionUID.
...
However, should this really be serializable at all ?
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@786883 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 18:57:30 +00:00
Luc Maisonobe
4474f96263
removed lots of serialization in ODE
...
the only classes/interfaces for which serialization is really important in this package are the step interpolators. The reason for that is that the ContinuousOutputModel is explicitly serializable and contains step interpolators. This allows users to perform integration of any complex model and to save the result of the integration for all integration range by serializing a ContinuousOutputModel instance. This feature is a major one.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@786881 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 18:53:08 +00:00
Luc Maisonobe
5fc860d2c1
removed serialization for multistart optimizers
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@786878 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 18:17:32 +00:00
Luc Maisonobe
d8575cde51
changed the Adams-Bashforth and Adams-Moulton multistep integrators to adaptive stepsize.
...
this was made possible thanks to the Nordsieck representation of integration state
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@786877 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 18:15:54 +00:00
Luc Maisonobe
83ec0f9328
completely changed integration start phase: now the starter integrator for
...
multistep methods do not advance time anymore, it is interrupted at first step
end and the interpolator is used to reconstruct Nordsieck vector information at
integration start. Then the normal multistep integrators does start also exactly
at integration start and is responsible for all time advancing stuff, including
step handlers and events handlers management.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@786875 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 18:13:24 +00:00
Luc Maisonobe
8702a27155
simplified arrays allocation and copying
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@786874 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 18:09:16 +00:00
Luc Maisonobe
1308cc984e
error messages for Loess interpolation
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@786821 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 13:43:29 +00:00
Luc Maisonobe
c5f6dff523
added Loess interpolator, applying Eugene Kirpichov's patch
...
JIRA: MATH-278
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@786819 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 13:42:56 +00:00
Luc Maisonobe
90fee3729f
fixed checkstyle errors
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@786817 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 13:31:48 +00:00
William Barker
355857cbeb
Change Complex to use readResolve instead of introspection
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@786751 13f79535-47bb-0310-9956-ffa450edef68
2009-06-20 03:00:18 +00:00
Luc Maisonobe
2a1842f3ef
merged curve fitting from mantissa into commons-math
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@786479 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 12:36:16 +00:00
Luc Maisonobe
6463532544
added internal error generation for defensive programming
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@786478 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 12:33:36 +00:00
Luc Maisonobe
74a6186c3e
added new tests
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@786467 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 12:04:01 +00:00
Luc Maisonobe
e81ef196cd
added protection against infinite loops by setting a maximal number of evaluations
...
(some classes were forgotten in the first pass to fix this problem)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@786466 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 12:03:14 +00:00
William Barker
b09a8717be
Change the Complex isNaN and isInfinite fields to be transient
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@786359 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 03:26:28 +00:00
Phil Steitz
b353f0daa6
Optimized isNaN, isInfinite. Jira: MATH-2276. Contributed by Mark Anderson.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@785552 13f79535-47bb-0310-9956-ffa450edef68
2009-06-17 11:00:40 +00:00
William Barker
913ff1facc
More Serialization changes, mostly for ode and friends.
...
Unfortunately, had to leave some abstract base classes as Serializable, since they had no senible default construters. But left them with meaningless UIDs, to break anyone that doesn't override it.
Of course, if anyone has a better patch, I'm happy to implement it. At this point, the serialization changes for [math] should be almost done.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@785473 13f79535-47bb-0310-9956-ffa450edef68
2009-06-17 04:02:35 +00:00
Phil Steitz
e082a039f8
Added Genetic Algorithm implementation.
...
JIRA: MATH-207
Contributed by David Stefka
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@784604 13f79535-47bb-0310-9956-ffa450edef68
2009-06-14 19:04:32 +00:00
Luc Maisonobe
496d85cf17
removed remaining references to DenseXxx{Matrix/Vector}
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@783741 13f79535-47bb-0310-9956-ffa450edef68
2009-06-11 12:35:42 +00:00
Luc Maisonobe
30ab6c8c3d
renamed RealMatrixImpl, RealVectorImpl, FieldMatrixImpl and FieldVectorImpl
...
into Array2DRowRealMatrix, ArrayRealVector, Array2DRowFieldMatrix and ArrayFieldVector
as suggested by Sam in http://markmail.org/message/hh37ivxpzaoapekj
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@783702 13f79535-47bb-0310-9956-ffa450edef68
2009-06-11 08:54:02 +00:00
Luc Maisonobe
6fb3ae713e
switch the matrix type built by factory methods depending on the dimension
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@783680 13f79535-47bb-0310-9956-ffa450edef68
2009-06-11 08:06:05 +00:00
Luc Maisonobe
37ee8dbfe6
renamed Dense{Real/Field}Matrix into Block{Real/Field}Matrix
...
as suggested by Phil in http://markmail.org/message/iibgiz4bsv6hjjvh
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@783678 13f79535-47bb-0310-9956-ffa450edef68
2009-06-11 08:05:24 +00:00
Luc Maisonobe
9d4fb6760b
prevent too small (sometimes exactly 0) steps to occur
...
when an event is within convergence tolerance to the step end
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@783529 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 21:44:33 +00:00
Luc Maisonobe
b63d261b54
fixed a forgotten field in copy constructor
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@783516 13f79535-47bb-0310-9956-ffa450edef68
2009-06-10 20:58:29 +00:00
Luc Maisonobe
ed2301fb81
fixed checkstyle errors
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@783114 13f79535-47bb-0310-9956-ffa450edef68
2009-06-09 19:43:55 +00:00
Luc Maisonobe
a70c0de4a2
added support for max number of evaluations to ODE integrators
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@783103 13f79535-47bb-0310-9956-ffa450edef68
2009-06-09 19:33:19 +00:00
Luc Maisonobe
23055a70ce
removed unneeded import
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@783044 13f79535-47bb-0310-9956-ffa450edef68
2009-06-09 15:36:29 +00:00
Luc Maisonobe
d96d9b3b15
removed unneeded import
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@783041 13f79535-47bb-0310-9956-ffa450edef68
2009-06-09 15:34:55 +00:00
William Barker
d088734d25
Serialization changes for optimization.
...
Still need to add junit test, but for this it doesn't look like a blocker.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@782468 13f79535-47bb-0310-9956-ffa450edef68
2009-06-07 21:24:18 +00:00
Luc Maisonobe
aaf87073b5
changed again the Adams-Bashforth and Adams-Moulton integrators
...
they now both use Nordsieck representation
this is the first really usable implementation, it still integrates only with fixed stepsize,
but thanks to Nordsieck representation they will be improved to adaptive stepsize soon
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@782442 13f79535-47bb-0310-9956-ffa450edef68
2009-06-07 19:19:35 +00:00
Luc Maisonobe
677c5e1ab9
removed step interpolator prototype
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@782438 13f79535-47bb-0310-9956-ffa450edef68
2009-06-07 19:15:14 +00:00
Luc Maisonobe
2138d3bfba
added serialization test
...
changed tests to Junit 4
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@782435 13f79535-47bb-0310-9956-ffa450edef68
2009-06-07 19:13:17 +00:00
Luc Maisonobe
6dec8fa07d
improved max errors computations: previously, NaN values induces the error update to be skipped, thus leading to artificially good results
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@782434 13f79535-47bb-0310-9956-ffa450edef68
2009-06-07 19:12:18 +00:00
Luc Maisonobe
d2429d337c
updated step interpolators implementations tests to latest interface changes
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@782433 13f79535-47bb-0310-9956-ffa450edef68
2009-06-07 19:10:23 +00:00
Luc Maisonobe
5124ebc4c2
updated step interpolators implementations to latest interface changes
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@782432 13f79535-47bb-0310-9956-ffa450edef68
2009-06-07 19:08:26 +00:00
Luc Maisonobe
7de1b628c6
added a lazy evaluation for step interpolators
...
moved the possible exceptions from setInterpolatedTime (which now does almost nothing) to getInterpolatedState and getInterpolatedDerivatives (which now do the evaluations)
renamed an internal function to make sure people overriding it don't forget to set the derivatives
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@782431 13f79535-47bb-0310-9956-ffa450edef68
2009-06-07 19:04:37 +00:00
Luc Maisonobe
edb1f394c0
removed a print
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@781847 13f79535-47bb-0310-9956-ffa450edef68
2009-06-04 20:18:50 +00:00
Luc Maisonobe
6b547ba222
fixed detection of not positive definite matrices
...
JIRA: MATH-274
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@781845 13f79535-47bb-0310-9956-ffa450edef68
2009-06-04 20:07:29 +00:00
Luc Maisonobe
59434c2dce
Fixed a wrong check for basic variables
...
JIRA: MATH-273
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@781304 13f79535-47bb-0310-9956-ffa450edef68
2009-06-03 09:06:08 +00:00
Luc Maisonobe
10cdc1066f
fixed javadoc link
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@781167 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 21:02:14 +00:00
Luc Maisonobe
2e55dbbe69
removed unneeded import statement
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@781160 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 20:46:45 +00:00
Luc Maisonobe
4db6140e9a
reenabled tests
...
removed a development test that was committed by error
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@781159 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 20:45:53 +00:00
Luc Maisonobe
1cdc029378
fixed event handling during multistep restart phase,
...
the interpolator used for regular integration and the interpolator used during restart went out of sync
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@781158 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 20:43:59 +00:00
Luc Maisonobe
b2fa57cbfe
fixed corner cases when events occur right at integration start
...
(which in fact always happen when a resetting event forces a restart just after the event has occurred)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@781157 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 20:42:15 +00:00
Luc Maisonobe
ebd8043bee
fixed an infinite loop error that occurred when an event that reset the state occurs exactly at multistep initialisation start
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@781156 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 20:39:41 +00:00
Luc Maisonobe
ed813abf79
Fixed a problem when setting some variables (several variables were set instead of only one)
...
JIRA: MATH-272
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@781135 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 19:37:30 +00:00
Luc Maisonobe
ca9d46257a
merged the decomposition package back to the linear package.
...
This will allow later improvements as decomposition algorithms
will be able to see implementation details when more efficient
matrices implementations (for example based on blas) are added
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@781122 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 18:53:23 +00:00
Luc Maisonobe
2e4082e52f
fixed serialization problems
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@780976 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 09:06:26 +00:00
Luc Maisonobe
86b19c0e8e
removed unneeded import statements
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@780975 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 09:05:37 +00:00
Luc Maisonobe
aa9e72afa8
added utility methods to help serialize/deserialize classes that
...
have RealVector/RealMatrix fields (possibly final) since the
top level interfaces are not serializable anymore
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@780974 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 09:03:31 +00:00
Luc Maisonobe
d9a1181fad
fixed javadoc copy/paste error
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@780973 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 09:01:23 +00:00
William Barker
83dd172df8
More serialization changes.
...
Not clear what I should do with RandomAdaptor. So I've let it remained broken (no public no-opt construtor, but Serializable).
Feel free to -1 anything that I've stripped Serializable from and you care about, but I think I've been pretty conservative.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@780933 13f79535-47bb-0310-9956-ffa450edef68
2009-06-02 04:39:12 +00:00
Luc Maisonobe
b507b231f0
fixed javadoc warnings
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@780674 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 15:10:55 +00:00
Luc Maisonobe
f930f13e4e
fixed javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@780645 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 13:24:19 +00:00
Luc Maisonobe
419531014a
remove impossible serialization
...
(function is no more serializable)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@780644 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 13:23:17 +00:00
Luc Maisonobe
72db912bd8
removed unneeded import statements
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@780637 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 12:48:32 +00:00
William Barker
8da2927ec6
Serialization changes for stats
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@780541 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 00:47:02 +00:00
William Barker
ffd4d14d50
change to Java 5 compatible
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@780534 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 00:09:00 +00:00
William Barker
6fecb32ad6
Clean up linear serialization tests
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@780521 13f79535-47bb-0310-9956-ffa450edef68
2009-05-31 22:18:18 +00:00
Luc Maisonobe
5881224dcf
added an error message for Adams-Bashforth and Adams-Moulton integrators
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@780518 13f79535-47bb-0310-9956-ffa450edef68
2009-05-31 22:14:31 +00:00
Luc Maisonobe
8de68c4404
removed obsolete NordsieckTransformer
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@780517 13f79535-47bb-0310-9956-ffa450edef68
2009-05-31 22:11:21 +00:00
Luc Maisonobe
8b63564297
removed obsolete MultiStepInterpolator
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@780516 13f79535-47bb-0310-9956-ffa450edef68
2009-05-31 22:10:02 +00:00
Luc Maisonobe
eb17807a47
removed obsolete MultiStepInterpolator
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@780515 13f79535-47bb-0310-9956-ffa450edef68
2009-05-31 22:08:32 +00:00
Luc Maisonobe
e33f09ce4f
completely redesigned Adams-Bashforth and Adams-Moulton integrators
...
they are now provided by a single class and use the Nordsieck form
with higher derivatives at current step instead of classical form
with only first derivatives but at several steps.
The implementation is simpler for both the integrators and the step
interpolator and it allows a future enhancement with adaptive stepsize.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@780514 13f79535-47bb-0310-9956-ffa450edef68
2009-05-31 22:07:26 +00:00
Luc Maisonobe
2c1d911e2a
added a step interpolator for multistep methods in Nordsieck form
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@780513 13f79535-47bb-0310-9956-ffa450edef68
2009-05-31 22:02:30 +00:00
Luc Maisonobe
273892eeca
updated tests to take into account serialization changes and the new
...
derivatives consistency check
these tests have been converted to Junit4
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@780512 13f79535-47bb-0310-9956-ffa450edef68
2009-05-31 22:01:17 +00:00
Luc Maisonobe
5c8715be36
added a general test utility for checking derivatives consistency across all step interpolators
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@780511 13f79535-47bb-0310-9956-ffa450edef68
2009-05-31 21:59:03 +00:00
Luc Maisonobe
542632042d
added a new test problem with polynomial behavior
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@780510 13f79535-47bb-0310-9956-ffa450edef68
2009-05-31 21:56:52 +00:00
Luc Maisonobe
1745726d15
fixed serialization of step interpolators to allow processing them
...
before the associated integrator update their internal state
(i.e. when currentState is still null)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@780509 13f79535-47bb-0310-9956-ffa450edef68
2009-05-31 21:56:00 +00:00
Luc Maisonobe
65472945b6
added a missing @since
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@780508 13f79535-47bb-0310-9956-ffa450edef68
2009-05-31 21:53:36 +00:00
Luc Maisonobe
4cc4579d39
use the conversion functions from MatrixUtils
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@780309 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 18:38:23 +00:00
Luc Maisonobe
aea0ab1242
added conversion utility functions for
...
FieldMatrix<Fraction> to RealMatrix
FieldMatrix<BigFraction> to RealMatrix
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@780308 13f79535-47bb-0310-9956-ffa450edef68
2009-05-30 18:36:18 +00:00
Luc Maisonobe
525418ab1c
Added a way to retrieve the limited the number of functions evaluations in optimizers
...
(the limited number of iterations could already be retrieved)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@779284 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27 19:47:27 +00:00
Luc Maisonobe
4a97160c1f
Added a way to limit the number of functions evaluations in optimizers
...
(the number of iterations could already be limited)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@779273 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27 18:54:48 +00:00
William Barker
991c2bae20
Serializable changes to util
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@778522 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 22:24:50 +00:00
William Barker
d51278d0fa
Serializable changes for linear.decomposition
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@778519 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 21:46:38 +00:00
Phil Steitz
af79797eaa
Added trigamma, javadoc fixes for digamma. JIRA: MATH-267. Patched by Ted Dunning.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@778416 13f79535-47bb-0310-9956-ffa450edef68
2009-05-25 13:20:07 +00:00
William Barker
8897d15259
Serializable changes for FieldVector and FieldMatrix
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@778256 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 23:27:03 +00:00
Luc Maisonobe
a606b79646
removed Serializable from matrix visitors interfaces and classes
...
it doesn't make sense for these objects as they are intended to be transient
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@778191 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 16:44:52 +00:00
Luc Maisonobe
3a365be534
removed obsolete imports
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@778187 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 16:28:04 +00:00
Luc Maisonobe
0b1ab10261
removed tab characters that crept in at r776939
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@778185 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 16:24:53 +00:00
Luc Maisonobe
d6d7d9cc79
added missing @Override
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@778184 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 16:22:19 +00:00
Phil Steitz
879d61962b
added missing since tags.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@778092 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 06:11:01 +00:00
Phil Steitz
9989286b49
Added digamma function.
...
JIRA: MATH-267
Contributed by Ted Dunning
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@778091 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 06:03:19 +00:00
Phil Steitz
9f7b8346c8
Added support for Spearman's rank correlation.
...
JIRA: MATH-136
Thanks to John Gant
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@778085 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 05:04:21 +00:00
Phil Steitz
d3867f3831
removed duplicate assertion.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@778080 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 04:25:51 +00:00
William Barker
d71c1c737a
Serializable changes for RealMatrix
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@778071 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 00:02:54 +00:00
William Barker
9687bd48b4
Serializable changes for RealVector
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@778058 13f79535-47bb-0310-9956-ffa450edef68
2009-05-23 22:57:26 +00:00
Sebastian Bazley
3fa90e0aa9
Move Serializable from interface to implementations
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@777895 13f79535-47bb-0310-9956-ffa450edef68
2009-05-23 11:48:41 +00:00
Sebastian Bazley
5220875108
Move Serializable from interface to implementations
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@777894 13f79535-47bb-0310-9956-ffa450edef68
2009-05-23 11:44:01 +00:00
Sebastian Bazley
b41ff57526
Move Serializable from interface to implementations
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@777892 13f79535-47bb-0310-9956-ffa450edef68
2009-05-23 11:26:56 +00:00
Sebastian Bazley
982deb25d5
ReMove Serializable from interface
...
Implementations already implemented it
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@777530 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 14:04:56 +00:00
Sebastian Bazley
2180b0b9fa
Move Serializable from interface [New to 2.0] to implementations (some existing)
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@777526 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 13:55:22 +00:00
Sebastian Bazley
210f2d5661
Move Serializable from interface to implementations
...
[New to 2.0]
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@777521 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 13:48:21 +00:00
Sebastian Bazley
99313c1146
It's a new interface (target release 2.0, not 3.3!)
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@777518 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 13:42:03 +00:00
Sebastian Bazley
6940829807
Drop Serializable.
...
Interface is new to 2.0, and not implemented except in test code, so no need to do anything further
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@777516 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 13:36:14 +00:00
Luc Maisonobe
5ab15569ca
typo
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@777512 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 13:25:49 +00:00
Sebastian Bazley
5d33262944
Move Serializable from interface to implementation
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@777501 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 12:58:26 +00:00
William Barker
5d887e468e
I've made SparseRealVector and SparseRealMatrix to be empty marker interfaces.
...
I've left OpenMapRealVector.getSparcity, since I'd like to use it for benchmarking, and it doesn't hurt anyone else now.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@777356 13f79535-47bb-0310-9956-ffa450edef68
2009-05-22 02:33:12 +00:00
Luc Maisonobe
2039cf7825
added a test for the detection of non-invertible transforms
...
use Junit 4 style for tests
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@777264 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 21:22:07 +00:00
Luc Maisonobe
7fc6ee7ff4
trigger an error when the transform is not invertible
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@777263 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 21:21:15 +00:00
William Barker
1ed2b9afc5
Changing DenseRealMatrix to return a specific type, instead of interface type.
...
I beleive the consensus is to leave RealMatrixImpl and RealVectorImpl alone for now (since they were in 1.2), so that's what I'm doing.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@776943 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 03:24:43 +00:00
Brent Worden
7f7915b6f9
re-enabled unit test. changed testutils to use own assertEquals method to safely compare NaN values.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@776939 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 03:17:52 +00:00
Phil Steitz
b8ad7ef606
Disabled test that fails under GUMP.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@776787 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20 17:48:27 +00:00
Luc Maisonobe
7ad5c8196b
improved hints for deprecated methods
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@776488 13f79535-47bb-0310-9956-ffa450edef68
2009-05-19 22:08:01 +00:00
Luc Maisonobe
c6002f4cd1
typo
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@776410 13f79535-47bb-0310-9956-ffa450edef68
2009-05-19 18:44:02 +00:00
Luc Maisonobe
3352617df1
added missing @Override
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@776409 13f79535-47bb-0310-9956-ffa450edef68
2009-05-19 18:43:23 +00:00
Phil Steitz
bcccc34cba
Added rank transformations.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@776311 13f79535-47bb-0310-9956-ffa450edef68
2009-05-19 13:31:34 +00:00
Luc Maisonobe
e52b2a3ecf
removed unneeded import
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@776048 13f79535-47bb-0310-9956-ffa450edef68
2009-05-18 18:35:46 +00:00
Luc Maisonobe
a41365938b
removed unneeded import
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@776045 13f79535-47bb-0310-9956-ffa450edef68
2009-05-18 18:34:20 +00:00
William Barker
f3f0fcc1e4
Ok, so laking add/subtract tests now. I'll try to add later, but checking in the existing tests so that [math] will at least build.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@775787 13f79535-47bb-0310-9956-ffa450edef68
2009-05-18 01:05:39 +00:00
William Barker
5ce6c81490
Sparse Matrix/Vector refactoring with mostly return types changed.
...
Thought that getSparcity was meaninful for SparseRealVector, and added a marker for SparseRealMatrix shape. Feel free to -1 either ;).
I found an error in the unit tests, so will commit the changes there shortly, after a review.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@775784 13f79535-47bb-0310-9956-ffa450edef68
2009-05-18 00:42:41 +00:00
William Barker
7a096e9712
Initial refactoring of sparse matrix/vector
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@775768 13f79535-47bb-0310-9956-ffa450edef68
2009-05-17 22:12:50 +00:00
Luc Maisonobe
4d3b3886f9
simplified DifferentiableMultivariateVectorialFunction
...
the gradient and partial derivaritves can be retrieved from the jacobian
and adding them at the interface level was cumbersome for implementing
optimization problems.
Now users need to provide only the jacobian method
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@775751 13f79535-47bb-0310-9956-ffa450edef68
2009-05-17 20:19:34 +00:00
Phil Steitz
acd879648c
Javadoc fix.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@775470 13f79535-47bb-0310-9956-ffa450edef68
2009-05-16 14:29:07 +00:00
Luc Maisonobe
ebf43bf12c
suppressed two warnings
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@773236 13f79535-47bb-0310-9956-ffa450edef68
2009-05-09 15:29:55 +00:00
Luc Maisonobe
6a24e9d8a5
check computed variances in test
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@773230 13f79535-47bb-0310-9956-ffa450edef68
2009-05-09 15:05:42 +00:00
Luc Maisonobe
2ba5fd1cbc
completed internationalization of all error messages
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@773189 13f79535-47bb-0310-9956-ffa450edef68
2009-05-09 09:57:04 +00:00
Luc Maisonobe
f4dbd2ecf5
improved error messages
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@772119 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06 09:43:28 +00:00
Luc Maisonobe
6c64326a17
replaced matrix by vector where possible
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@772114 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06 09:40:13 +00:00
William Barker
659d3c4a98
Adding unit test for SparseFieldMatrix
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@772042 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06 03:26:55 +00:00
Luc Maisonobe
51cf37b631
minor style fixes (braces, javadoc ...)
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@771266 13f79535-47bb-0310-9956-ffa450edef68
2009-05-04 10:42:16 +00:00
William Barker
b5dd7a9c36
Adding unit test for SparseFieldVector
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@771165 13f79535-47bb-0310-9956-ffa450edef68
2009-05-04 02:59:30 +00:00
William Barker
e96ec32bb5
Adding equals and hashCode
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@771164 13f79535-47bb-0310-9956-ffa450edef68
2009-05-04 02:55:21 +00:00
William Barker
f479cc70b8
Adding sparse field implememtations
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@771132 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 22:27:25 +00:00
Luc Maisonobe
efaead82f7
improved error messages
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@771097 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 18:24:31 +00:00
Luc Maisonobe
ecaeaadb71
fixed various checkstyle and findbugs errors
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@771076 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 16:28:48 +00:00
Luc Maisonobe
28257de180
added a clustering package with an implementation of k-means++
...
JIRA: MATH-266
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@770979 13f79535-47bb-0310-9956-ffa450edef68
2009-05-02 19:34:51 +00:00
Luc Maisonobe
d94d0a556a
Added distance1, distance and distanceInf utility methods for double and int arrays in MathUtils
...
JIRA: MATH-265
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@770798 13f79535-47bb-0310-9956-ffa450edef68
2009-05-01 19:29:44 +00:00
Luc Maisonobe
6f4d87e6d8
updated documentation for ODE after recent changes
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@770213 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 13:06:04 +00:00
Luc Maisonobe
d34584bb62
simplified Nordsieck transformer
...
extended its domain to handle several layouts for multistep state
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@770179 13f79535-47bb-0310-9956-ffa450edef68
2009-04-30 12:05:22 +00:00
Luc Maisonobe
f692b4d384
added getNorm1, getNormInf, distance1 and distanceInf to the Vector3D class
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@769880 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 19:10:01 +00:00
Luc Maisonobe
7233afeeea
typo in HTML 4 entity
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@769871 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 18:49:30 +00:00
Luc Maisonobe
ceacae9a3c
Added an utility equality method between double numbers using tolerance
...
in ulps (Units in Last Position)
JIRA: MATH-264
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@769867 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 18:33:59 +00:00
William Barker
e358ec6f37
Forgot to include licence :(
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@769226 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 02:58:31 +00:00
William Barker
d81b618675
Adding unit test for OpenIntToFieldHashMap
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@769224 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 02:42:57 +00:00
Luc Maisonobe
0817c01f14
typo
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@769107 13f79535-47bb-0310-9956-ffa450edef68
2009-04-27 19:06:29 +00:00
Luc Maisonobe
6adb238e5a
event handlers in ODE now also provide the switching function variation
...
(increasing/decreasing) when an event occurs
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@769039 13f79535-47bb-0310-9956-ffa450edef68
2009-04-27 16:04:03 +00:00
Luc Maisonobe
7d55da9f31
reduced test size
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@769003 13f79535-47bb-0310-9956-ffa450edef68
2009-04-27 14:32:25 +00:00
Phil Steitz
4566fcf22c
Added AggregateSummaryStatistics class to support aggregation of SummaryStatistics.
...
JIRA: MATH-224
Reported by Andre Panisson
Patched by John Bollinger
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@768921 13f79535-47bb-0310-9956-ffa450edef68
2009-04-27 10:51:52 +00:00
Phil Steitz
6f47f883d6
Improved error messages.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@768727 13f79535-47bb-0310-9956-ffa450edef68
2009-04-26 17:14:59 +00:00
William Barker
1b2f478ffb
Javadoc fixes, sorry for the noise
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@768625 13f79535-47bb-0310-9956-ffa450edef68
2009-04-25 23:28:16 +00:00
William Barker
b251802f43
Adding backing class for sparse Field vectors and matricies
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@768620 13f79535-47bb-0310-9956-ffa450edef68
2009-04-25 22:49:38 +00:00
Luc Maisonobe
881e5114bf
added javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@768591 13f79535-47bb-0310-9956-ffa450edef68
2009-04-25 19:39:38 +00:00
Luc Maisonobe
97bbb9cf25
fixed an Adams-Moulton order error, it was one unit too large
...
and inconsistent with the order of the underlying predictor
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@768565 13f79535-47bb-0310-9956-ffa450edef68
2009-04-25 16:59:19 +00:00
Sebastian Bazley
5548ffccb2
Javadoc fixes
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@768449 13f79535-47bb-0310-9956-ffa450edef68
2009-04-25 02:01:23 +00:00
Sebastian Bazley
e5ae4a4127
Unnecessary casts
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@768448 13f79535-47bb-0310-9956-ffa450edef68
2009-04-25 02:00:44 +00:00
Sebastian Bazley
0de91bb28f
Can't inheritDoc unless implementing or overriding something ...
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@768447 13f79535-47bb-0310-9956-ffa450edef68
2009-04-25 01:58:46 +00:00
Sebastian Bazley
2dac0fc426
MATH-261 - start adding some generics to Frequency
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@768084 13f79535-47bb-0310-9956-ffa450edef68
2009-04-23 22:52:10 +00:00
William Barker
e1452ca6ea
Fix equals and hashcode to do exact comparisons
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@767782 13f79535-47bb-0310-9956-ffa450edef68
2009-04-23 04:09:27 +00:00