Piotr Wydrych created MATH-939:
----------------------------------

             Summary: 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


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