extendr_api::prelude::stats

Function col_varm

pub fn col_varm<E>(
    out: ColMut<'_, <E as ComplexField>::Real>,
    mat: MatRef<'_, E>,
    col_mean: ColRef<'_, E>,
    nan: NanHandling,
)
where E: ComplexField,
Expand description

Computes the variance of the columns of mat given their mean, and stores the result in out.