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 |
Luc Maisonobe
|
7d6a1cec1a
|
replaced a Java6 specific signature with its Java5 counterpart
(Array.newInstance(Class<T>, int ...) --> (Array.newInstance(Class<T>, int[])
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@767435 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-22 09:39:57 +00:00 |
Luc Maisonobe
|
60d921afe9
|
fixed warnings about serial version ID
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@766874 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-20 20:58:33 +00:00 |
Luc Maisonobe
|
514f67b19b
|
fixed missing dimension checks
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@766873 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-20 20:57:33 +00:00 |
Luc Maisonobe
|
7bbe75bdbd
|
deprecated tests for deprecated methods
added new tests
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@766867 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-20 20:53:46 +00:00 |
Luc Maisonobe
|
b70bdcde87
|
added DenseFieldMatrix
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@766852 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-20 20:19:49 +00:00 |
Luc Maisonobe
|
f2f376229c
|
use the buildArray method from base class
it has better generic parameter specification
and does initialize array elements
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@766849 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-20 20:18:52 +00:00 |
Luc Maisonobe
|
d9b9f81e79
|
use a simpler syntax for a generic static test function
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@766847 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-20 20:16:48 +00:00 |
Luc Maisonobe
|
813e96bf8b
|
converted buildArray to static, so it can be used from other static methods
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@766846 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-20 20:15:39 +00:00 |
Luc Maisonobe
|
e2c16f0c5c
|
optimized isInfinite for NaN vectors
reverted hashcode back to its previous behavior to avoid breaking consistency with equals
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@766793 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-20 18:42:11 +00:00 |
Phil Steitz
|
e2b8720d5d
|
Removed tabs.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@766494 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-19 18:05:48 +00:00 |
Luc Maisonobe
|
4853917da1
|
fixed checkstyle errors
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@766487 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-19 16:49:56 +00:00 |
Luc Maisonobe
|
169271dd31
|
removed TAB characters that crept in as of r762194 two weeks ago
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@766486 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-19 16:43:00 +00:00 |
Luc Maisonobe
|
2d343b1a30
|
added support for any kind of field in linear algebra
we can now use FieldMatrix<Fraction> and use exact LU-decomposition
on such matrices to solve linear systems
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@766485 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-19 16:39:40 +00:00 |
Luc Maisonobe
|
d60149c7f8
|
Added the generic Field/FieldElement interfaces on top
of existing Complex, Fraction and BigFraction
Added a new BigReal class wrapping a BidDecimal and implementing FieldElement
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@766483 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-19 16:34:37 +00:00 |
Luc Maisonobe
|
f802e004ae
|
added Field and FieldElement interfaces to allow algorithms
operate on any type of field.
This change is related to the discussion on dev list
http://markmail.org/message/h2rmq6wo7nwqzx4w
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@766482 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-19 16:31:59 +00:00 |
Luc Maisonobe
|
9b4adf4df9
|
fixed an error in SparseRealVector.isInfinite, NaN was not checked beforehand
fixed an error in SparseRealVector.hashcode, code did not depend on vector entries
fixed tests accordingly
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@766337 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-18 15:17:12 +00:00 |
Sebastian Bazley
|
11e18f48ff
|
Remove obsolete Maven1 files
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@766304 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-18 11:37:56 +00:00 |
Luc Maisonobe
|
ced5fe0a22
|
removed tests not meaningful for sparse vectors
reactivated some commented-out tests
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@766144 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-17 20:31:52 +00:00 |
Sebastian Bazley
|
9f00f6a002
|
Use UTF-8 encoding for copying resources to avoid platform dependency
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@766092 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-17 17:29:21 +00:00 |
Sebastian Bazley
|
392e2c455c
|
MATH-259 - throw IllegalArgument rather than ClassCast to better retain original behaviour
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@766003 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-17 13:44:46 +00:00 |
Sebastian Bazley
|
aa13ac4d77
|
MATH-259 - check for Comparable when adding values
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@765996 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-17 13:34:59 +00:00 |
Sebastian Bazley
|
04d470232e
|
Make HashMap final as it is only set in the ctors
Document behaviour of getCount(Object v) if v is not comparable
Save value of getSumFreq() from DIV/0 check so we don't calculate it twice
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@765978 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-17 13:07:26 +00:00 |
Sebastian Bazley
|
f641b8cb31
|
Remove non-thrown throws clauses
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@764769 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-14 13:13:54 +00:00 |
Sebastian Bazley
|
a9039284f9
|
Remove non-thrown throws clauses
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@764761 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-14 12:52:30 +00:00 |
Sebastian Bazley
|
2774894374
|
Parameterise raw type
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@764759 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-14 12:37:37 +00:00 |
Sebastian Bazley
|
2ab58c0b82
|
Remove unnecessary semi-colons
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@764749 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-14 11:51:40 +00:00 |
Sebastian Bazley
|
f1280575a2
|
Unused import
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@764748 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-14 11:50:38 +00:00 |
Sebastian Bazley
|
c53f6961e1
|
Remove unnecessary null checks
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@764746 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-14 11:47:36 +00:00 |
Phil Steitz
|
6206817ffb
|
Fixed some errors, improved content.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@764343 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-12 23:55:45 +00:00 |
Phil Steitz
|
9f0ea4e9c4
|
Clarified javadoc, added tests. JIRA: MATH-258
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@764316 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-12 19:33:11 +00:00 |
Phil Steitz
|
5887cc0faa
|
Fixed internal links and added covariance and correlation section.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@764314 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-12 18:52:37 +00:00 |
Phil Steitz
|
6bb4309b69
|
Made method names consistent, added methods to default bias-correction.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@764313 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-12 18:51:10 +00:00 |
Phil Steitz
|
3b26eea983
|
Changed method name to be consistent with Covariance, added double[][] compute method.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@764312 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-12 18:48:29 +00:00 |
Phil Steitz
|
53b912cb49
|
Fixed incorrect type spec, simplified references.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@764211 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-11 15:57:03 +00:00 |
Phil Steitz
|
d271b3132c
|
Dropped extraneous parens.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@764210 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-11 15:33:38 +00:00 |
Phil Steitz
|
023345c2c0
|
Dropped extraneous parens.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@764209 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-11 15:32:18 +00:00 |
Phil Steitz
|
4095d7a029
|
Restored some double casts to improve ensure correctness does not depend on order of operations or literal conversion, dropped uneccesary parens.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@764208 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-11 15:30:02 +00:00 |
Luc Maisonobe
|
b6703d294c
|
added a transformer between Nordsieck form and multistep form
for state history in multistep ODE integrators
(this will help implementing adaptive stepsize multistep integrators)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@763692 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-09 15:23:11 +00:00 |
Luc Maisonobe
|
e94434768e
|
removed unused import statements
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@763689 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-09 15:20:53 +00:00 |
Luc Maisonobe
|
0cb711643d
|
added a threshold for comparisons in Simplex solver
Jira: MATH-246
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@763412 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-08 21:41:47 +00:00 |
Brent Worden
|
24f51faee2
|
MATH-197. added rejection method to poisson random variates to help with large lamda values.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@762194 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-06 01:25:34 +00:00 |
Luc Maisonobe
|
28738e0405
|
fixed findbugs warnings and added more explanation about the corresponding behavior in javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@762136 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-05 19:10:44 +00:00 |
Luc Maisonobe
|
5acb8b11b5
|
added missing javadoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@762132 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-05 18:49:01 +00:00 |
Luc Maisonobe
|
f6e3a9545f
|
Fixed inconsistent access to multidimensional array in FastFourierTransformer
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@762131 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-05 18:38:32 +00:00 |
Luc Maisonobe
|
4e5126c676
|
fixed typo in error message
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@762126 13f79535-47bb-0310-9956-ffa450edef68
|
2009-04-05 17:51:01 +00:00 |