Skip to main content

covariance_matrix

Function covariance_matrix 

Source
pub fn covariance_matrix(
    variables: &[Vec<f64>],
    ddof: usize,
) -> Result<Vec<Vec<f64>>, ErrorsJSL>
Expand description

The covariance matrix of the columns variables[k] (each a sample of one variable).