[ 
https://issues.apache.org/jira/browse/MATH-939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Piotr Wydrych updated MATH-939:
-------------------------------

    Attachment: covariance.patch
    
> 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
>         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

Reply via email to