Skip to main content

covariance_ellipse_points

Function covariance_ellipse_points 

Source
pub fn covariance_ellipse_points(
    mean_x: f64,
    mean_y: f64,
    cov: &Matrix2<f64>,
    n_points: usize,
) -> (Vec<f64>, Vec<f64>)
Expand description

Generate (x_vals, y_vals) describing an ellipse for the given mean and covariance.