Luc Maisonobe
ba104a5f1d
Removed unused import.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1462507 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 15:50:22 +00:00
Luc Maisonobe
95cbc13a5a
Preparing 3.2 release.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1462506 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 15:49:49 +00:00
Luc Maisonobe
81841e834f
Fixe findbugs false positive.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1462505 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 15:49:22 +00:00
Luc Maisonobe
6500be3b99
Fixed findbugs warning.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1462504 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 15:48:57 +00:00
Luc Maisonobe
8a25d709f5
Fixed PMD warnings.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1462503 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 15:48:27 +00:00
Phil Steitz
3e1c032c4e
Small javdoc edits.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1462496 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 14:56:08 +00:00
Phil Steitz
eb24b08b5d
Small edits.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1462487 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 14:36:59 +00:00
Phil Steitz
c72ea892f6
Fixed javadoc typos.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1462485 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 14:36:19 +00:00
Phil Steitz
0dbb8ab724
Small edits.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1462484 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 14:25:44 +00:00
Luc Maisonobe
075ce74ab0
Added missing @since 3.2.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1462423 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 07:25:18 +00:00
Phil Steitz
39a11334ec
Made static fields static.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1462393 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 04:26:36 +00:00
Phil Steitz
b62b5b0306
Fixed javadoc errors.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1462375 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 01:42:42 +00:00
Phil Steitz
0b4e8b6bb0
Give Evan credit for recent patch and add him to contributors.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1462206 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 16:31:00 +00:00
Luc Maisonobe
2ac2716132
Spaces.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1462020 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 10:24:45 +00:00
Luc Maisonobe
9aabf587ca
Fixed inverse cumulative probability for uniform distribution.
...
JIRA: MATH-957
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1462018 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 10:20:30 +00:00
Luc Maisonobe
06c0af5514
Adding missing headers.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1462012 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 09:53:56 +00:00
Thomas Neidhart
7beb54f57c
Added findbugs exlude filter for new DoublePoint class.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1461880 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 22:19:10 +00:00
Thomas Neidhart
4a8090157a
[MATH-917] updated changes.xml
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1461873 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 22:05:35 +00:00
Thomas Neidhart
5e335443ee
[MATH-917] deprecated old stat.clustering package.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1461871 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 22:01:25 +00:00
Thomas Neidhart
000f980b0b
Add missing closing tag.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1461867 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 21:56:40 +00:00
Thomas Neidhart
af2246395d
Add clarification about default distance measure to javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1461866 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 21:54:36 +00:00
Thomas Neidhart
363e116e34
[MATH-917] Refactored clustering package to include more distance measures.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1461862 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 21:48:10 +00:00
Thomas Neidhart
2b852d79dc
[MATH-891] SpearmansCorrelation now works correctly when provided with a NaturalRanking with NaNStrategy.REMOVED.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1461822 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 19:44:22 +00:00
Luc Maisonobe
ce9c345ef7
Replaced mask constant by explicit local constants.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1461283 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 19:48:08 +00:00
Gilles Sadowski
bb8a2a68ec
MATH-956
...
Replaced hard-coded numbers with constants from class "Precision".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1461197 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 16:01:09 +00:00
Luc Maisonobe
e4c91be8c9
Fixed loading of test file when path contains a space.
...
JIRA:MATH-955
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1461172 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 15:11:18 +00:00
Luc Maisonobe
9cec1ea8d6
FastMath.abs() without branching for float and double primitive types.
...
JIRA: MATH-954
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1461159 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 14:56:01 +00:00
Luc Maisonobe
16e0a6d47b
Fixed tests so they do not use equals on top level classes.
...
Patch submitted by Jared Becksfort.
JIRA: MATH-817
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1460726 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 15:47:31 +00:00
Luc Maisonobe
78f8c198c0
Improved speed of FastMath.abs methods, by removing branching.
...
JIRA: MATH-954
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1460604 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 10:46:42 +00:00
Luc Maisonobe
1e6ad5c3ab
Improved speed of several FastMath methods.
...
Double.doubleToLongBits replaced with Double.doubleToRawLongBits at
several places.
JIRA: MATH-953
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1460587 13f79535-47bb-0310-9956-ffa450edef68
2013-03-25 10:19:51 +00:00
Luc Maisonobe
724795b551
Fixed Complex.reciprocal() for zero argument.
...
JIRA: MATH-934
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1459927 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 18:55:58 +00:00
Sebastian Bazley
8c2199df0f
Fix up URLs so they point to actual sites; this allows relative URLs to work properly
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1459912 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 17:49:27 +00:00
Luc Maisonobe
5c14a29c69
Improved speed of FastMath copysign methods.
...
JIRA: MATH-951
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1459887 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 16:25:17 +00:00
Luc Maisonobe
787684869d
Added change for MATH-817.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1459886 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 16:24:37 +00:00
Luc Maisonobe
2fa0f1fc97
Clarified origin of the class.
...
The original comments seemed to show the class was created from
Mixtools, which is GPL code. As per discussion on the JIRA issue
MATH-817 (see https://issues.apache.org/jira/browse/MATH-817 ), it
appears it is original work and NOT a derived work from Mixtools.
In fact, Mixtools was used mainly to verify the results and generate
some reference data (see the Junit test cases). Neither the code nor the
API from Mixtools were used.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1459876 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 16:05:46 +00:00
Luc Maisonobe
9f1bc5ba42
Added missing package-info.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1459874 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 16:05:14 +00:00
Gilles Sadowski
8f157cb2df
Typos.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1459739 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 11:58:11 +00:00
Thomas Neidhart
0864279db2
Fix typo.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1459554 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 22:21:48 +00:00
Thomas Neidhart
b32f86259d
Formatting und removal of unused import.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1459552 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 22:18:32 +00:00
Thomas Neidhart
7703060003
Add missing version/since tags, throws clauses.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1459551 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 22:17:44 +00:00
Thomas Neidhart
bd95671403
[MATH-862] Correct fix for matrix dimension check in copySubMatrix.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1459534 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 21:24:45 +00:00
Gilles Sadowski
9c90639c10
MATH-817
...
Algorithem for fitting of a multivariate normal distributions mixture
(implemented by Jared Becksfort).
Added "MixtureMultivariateNormalDistribution" class as "syntactic sugar".
Two unit tests are currently set to "@Ignore" (because they rely on "equals"
which the patch did not seem to implement "equals" consistently).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1459382 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 16:22:02 +00:00
Thomas Neidhart
2993a89b06
Revert fix for MATH-862: it created test regressions.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1459171 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 07:15:32 +00:00
Thomas Neidhart
3f7280b87e
Fix typo.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1459082 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 22:24:09 +00:00
Thomas Neidhart
cb83dcd4a3
[MATH-862] check for rectangular input arrays in copySubMatrix methods.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1459081 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 22:21:54 +00:00
Luc Maisonobe
9fd53fafa1
Fixed checkstyle warnings.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1458491 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 20:13:11 +00:00
Luc Maisonobe
59eb9a9bad
Removed development statement.
...
I'm really sorry for this...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1458478 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 19:48:03 +00:00
Luc Maisonobe
68a9dc050f
Removed a spurious @Override.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1458468 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 19:32:28 +00:00
Gilles Sadowski
f83bbc1d68
MATH-949
...
Increment iteration counter.
By default, the maximum number of iterations is "Integer.MAX_VALUE".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1458323 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 14:51:30 +00:00
Luc Maisonobe
4e4e8fad43
Added a way to trigger only increasing or decreasing events in ODE.
...
The method used is completely different from what was suggested in the
request report. It is fully compatible with previous versions and most
importantly has no side effects on users that do not need this feature,
as it is based on an upstream filtering of the event definition
function. The events detection logic is not modified and it fact it does
not even know events are filtered before they are detected.
JIRA: MATH-811
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1458298 13f79535-47bb-0310-9956-ffa450edef68
2013-03-19 14:09:58 +00:00