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
Luc Maisonobe
b2507a6759
typo
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@769360 13f79535-47bb-0310-9956-ffa450edef68
2009-04-28 12:20:11 +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
171d7e0991
Need to find out why autoprops isn't working
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@768622 13f79535-47bb-0310-9956-ffa450edef68
2009-04-25 22:55:09 +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