pub(crate) fn dataterm_mask(
mode: i32,
n_std: &[f64],
mask: &[bool],
w: &mut [f64],
)Expand description
dataterm_mask.m into w: 0 gives 1 everywhere; 1 gives Mask./N_std (0 where that is
not finite) normalised to mean 1 over the mask.