[jira] [Closed] (MATH-939) stat.correlation.Covariance should allow one-column matrices

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Closed] (MATH-939) stat.correlation.Covariance should allow one-column matrices

AD_LB (Jira)

     [ 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