extendr_api::prelude::stats

Function row_varm

pub fn row_varm<E>(
    out: RowMut<'_, <E as ComplexField>::Real>,
    mat: MatRef<'_, E>,
    row_mean: RowRef<'_, E>,
    nan: NanHandling,
)
where E: ComplexField,
Expand description

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