Commit Graph

1937 Commits

Author SHA1 Message Date
Brent Worden cf1e777495 corrected versioning in DOAP
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@779176 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27 13:54:50 +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