William Barker
117175bc83
property sets mostly, some broken method fixes
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@739908 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02 02:40:27 +00:00
Luc Maisonobe
8ce2128585
added a PolynomialsUtils class providing factory methods for
...
Chebyshev, Hermite, Laguerre and Legendre polynomials
the code was extracted from mantissa and modified
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@739840 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 21:13:55 +00:00
Luc Maisonobe
6a965532e6
fixed an error introduced by a recent change in PolynomialsFunction
...
(the coefficients array is automatically reduced if high degree coefficients are null)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@739836 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 21:06:55 +00:00
Luc Maisonobe
adc64fb8cf
Added add, subtract, negate, multiply and toString methods to PolynomialFunction
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@739834 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 20:56:12 +00:00
William Barker
e8bb7ce937
Adding constructors that allow specifing epsilon.
...
Remove the isZero(int) method, since it is inconsistant with the isZero(double) method, and this class is tightly bound to it's backing store.
Some javadoc fixes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@739667 13f79535-47bb-0310-9956-ffa450edef68
2009-02-01 00:28:07 +00:00
Sebastian Bazley
d957f434e4
Javadoc typos
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@739571 13f79535-47bb-0310-9956-ffa450edef68
2009-01-31 15:53:42 +00:00
William Barker
a3b466009f
Initial checkin for the SparseRealVectorClass.
...
I know that it doesn't work 100% with the map*** methods that shouldn't be used with a sparse vector. I'll clean those up shortly (including uncommenting unit tests). Just want to get more eyes on this for the methods that matter.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@739504 13f79535-47bb-0310-9956-ffa450edef68
2009-01-31 04:51:17 +00:00
William Barker
bca493b0ea
Adding me to the list
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@738375 13f79535-47bb-0310-9956-ffa450edef68
2009-01-28 06:01:02 +00:00
William Barker
5a589042b9
Correct bug that prevents replacing an element while using an iterator
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@738370 13f79535-47bb-0310-9956-ffa450edef68
2009-01-28 05:20:31 +00:00
Phil Steitz
bf9c5b292e
Changed FractionFormat to extend NumberFormat. JIRA: MATH-189
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@737572 13f79535-47bb-0310-9956-ffa450edef68
2009-01-25 19:28:21 +00:00
Phil Steitz
e375464b76
Added 1.2 release.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@737518 13f79535-47bb-0310-9956-ffa450edef68
2009-01-25 15:03:00 +00:00
Phil Steitz
e58ea4a8e8
Fixed project name.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@737426 13f79535-47bb-0310-9956-ffa450edef68
2009-01-24 19:51:09 +00:00
Phil Steitz
b5f0d0e102
Replaced maven-generated ant build with standalone version adapted from [io].
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@737417 13f79535-47bb-0310-9956-ffa450edef68
2009-01-24 18:44:58 +00:00
Phil Steitz
3ffa187429
Eliminated advertised exceptions that are no longer thrown.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@737415 13f79535-47bb-0310-9956-ffa450edef68
2009-01-24 18:38:33 +00:00
Luc Maisonobe
a11930a607
various javadoc fixes
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@737161 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 19:34:32 +00:00
Luc Maisonobe
ead1ffe007
fixed missing word
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@737152 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 19:08:11 +00:00
Luc Maisonobe
90e47e8a4a
fixed missing javadoc parameter
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@737151 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 19:05:56 +00:00
Luc Maisonobe
efb60f8449
fixed wrong subversion directory
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@737149 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 19:04:21 +00:00
Luc Maisonobe
9fea76e338
fixed special xml characters
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@737148 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 19:03:41 +00:00
Phil Steitz
7d54daea2a
Changed NaN comparison tests to use TestUtils.assertSame.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@737011 13f79535-47bb-0310-9956-ffa450edef68
2009-01-23 11:30:27 +00:00
Phil Steitz
c5d148896f
Forced symmetry in binomialCoefficientLog and added test cases for MathUtils.
...
JIRA: MATH-242
Reported and patched by Christian Semrau
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@736288 13f79535-47bb-0310-9956-ffa450edef68
2009-01-21 11:30:36 +00:00
Phil Steitz
944446a1a8
Fixed error in binomial coefficient computation
...
JIRA: MATH-241
Reported and patched by Christian Semrau
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@735879 13f79535-47bb-0310-9956-ffa450edef68
2009-01-19 23:52:02 +00:00
Luc Maisonobe
e8cfb4889e
added a Legendre-Gauss integrator
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@735876 13f79535-47bb-0310-9956-ffa450edef68
2009-01-19 23:40:14 +00:00
Phil Steitz
260b3a1410
No code change. Fixed spelling errors in comments.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@735830 13f79535-47bb-0310-9956-ffa450edef68
2009-01-19 21:25:45 +00:00
Phil Steitz
e4886c0a39
Fixed error in factorial accuracy. JIRA: MATH-240.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@735781 13f79535-47bb-0310-9956-ffa450edef68
2009-01-19 19:43:01 +00:00
Luc Maisonobe
89db6968bc
removed commented out code
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@735546 13f79535-47bb-0310-9956-ffa450edef68
2009-01-18 21:09:42 +00:00
Luc Maisonobe
56e7606e9a
improved consistency between solvers/integrators
...
by providing the integrand function as a parameter to integrate
rather that at construction, thus allowing reuse of a configured integrator
Jira: MATH-218
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@735545 13f79535-47bb-0310-9956-ffa450edef68
2009-01-18 21:06:15 +00:00
Luc Maisonobe
217fe6de71
added absolute accuracy handling for integrators
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@735536 13f79535-47bb-0310-9956-ffa450edef68
2009-01-18 20:45:16 +00:00
Luc Maisonobe
e2048a1dd3
trying to recover history for solvers
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@735530 13f79535-47bb-0310-9956-ffa450edef68
2009-01-18 19:48:52 +00:00
Luc Maisonobe
2e405f1724
fixed various minor bugs identified by checkstyle and findbugs
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@735501 13f79535-47bb-0310-9956-ffa450edef68
2009-01-18 16:57:29 +00:00
Luc Maisonobe
e6e70980dd
added missing header
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@735488 13f79535-47bb-0310-9956-ffa450edef68
2009-01-18 16:13:12 +00:00
Luc Maisonobe
e60e3de474
Added a new minimization package with an implementation of the Brent algorithm
...
contributed by Gilles Sadowski.
The implementation needs some testing as it seems to never use the parabola fitting
and only relying on golden section. This may be due to the refactoring I did on
the original patch.
Jira: MATH-177
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@735475 13f79535-47bb-0310-9956-ffa450edef68
2009-01-18 15:39:35 +00:00
Luc Maisonobe
e7c3207b05
extracted a superinterface ConvergingAlgorithm from UnivariateRealSolver
...
for later reuse by upcoming minimization algorithms
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@735468 13f79535-47bb-0310-9956-ffa450edef68
2009-01-18 14:47:51 +00:00
Luc Maisonobe
eab127dce3
split the analysis package into several sub-packages
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@735452 13f79535-47bb-0310-9956-ffa450edef68
2009-01-18 13:17:58 +00:00
Luc Maisonobe
1e3c634cb9
split the analysis package into several sub-packages
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@735449 13f79535-47bb-0310-9956-ffa450edef68
2009-01-18 13:07:22 +00:00
Phil Steitz
d326b9e467
javadoc formatting only.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@735312 13f79535-47bb-0310-9956-ffa450edef68
2009-01-17 17:08:10 +00:00
Luc Maisonobe
dabf3a5beb
fixed overflow error in gdc computation
...
JIRA: MATH-238
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@735178 13f79535-47bb-0310-9956-ffa450edef68
2009-01-16 23:06:32 +00:00
Phil Steitz
4564adbf19
Changed return type of nthRoot to List
...
Renamed getPhi to getArgument
Changed and documented behavior of nthRoot wrt NaN, infinite components
Improved nth root computation
Added some test cases
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@731822 13f79535-47bb-0310-9956-ffa450edef68
2009-01-06 03:46:29 +00:00
Luc Maisonobe
34bc1eed72
removed two false positives from findbugs
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@731749 13f79535-47bb-0310-9956-ffa450edef68
2009-01-05 22:32:52 +00:00
Luc Maisonobe
d1b140e2b6
updated findbugs plugin version
...
fixed exclusion rule for some false positives
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@731746 13f79535-47bb-0310-9956-ffa450edef68
2009-01-05 22:17:12 +00:00
Phil Steitz
e7ffb6ebc9
Changed covariance matrix computation to use QR decomp.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@731398 13f79535-47bb-0310-9956-ffa450edef68
2009-01-05 01:01:16 +00:00
Phil Steitz
e7911e6efa
Added standard errors.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@731356 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 20:39:45 +00:00
Luc Maisonobe
f2b72fc248
added missing (inherited) javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@731340 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 19:13:22 +00:00
Luc Maisonobe
453ba37f7a
removed unused exception clause
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@731339 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 19:12:52 +00:00
Luc Maisonobe
27561f331c
added missing header
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@731338 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 19:10:49 +00:00
Luc Maisonobe
6aa3cd95c3
removed all external decomposition solvers
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@731335 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 19:02:14 +00:00
Phil Steitz
5e6d73f239
Javadoc only. Cleanup formatting.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@731320 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 18:38:29 +00:00
Luc Maisonobe
2cd4edae04
simplified tests
...
added new tests
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@731308 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 18:08:50 +00:00
Luc Maisonobe
d27f56a6d4
fixed a dimension error with under-determined problems
...
removed IllegalStateException
create a DenseRealMatrix when solving A.X = B
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@731307 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 18:08:18 +00:00
Luc Maisonobe
728e7b227d
fixed a block width computation error
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@731285 13f79535-47bb-0310-9956-ffa450edef68
2009-01-04 16:14:34 +00:00