You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Luc Maisonobe (JIRA)" <ji...@apache.org> on 2013/04/07 11:21:17 UTC
[jira] [Closed] (MATH-939) stat.correlation.Covariance should allow
one-column matrices
[ https://issues.apache.org/jira/browse/MATH-939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Luc Maisonobe closed MATH-939.
------------------------------
Closing issue as version 3.2 has been released on 2013-04-06.
> stat.correlation.Covariance should allow one-column matrices
> ------------------------------------------------------------
>
> Key: MATH-939
> URL: https://issues.apache.org/jira/browse/MATH-939
> Project: Commons Math
> Issue Type: Bug
> Reporter: Piotr Wydrych
> Fix For: 3.2
>
> Attachments: covariance.patch
>
>
> Currently (rev 1453206), passing 1-by-M matrix to the Covariance constructor throws IllegalArgumentException. For consistency, the Covariance class should work for a single-column matrix (i.e., for a N-dimensional random variable with N=1) and it should return 1-by-1 covariance matrix with the variable's variance in its only element.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira