pub fn splat_rows(
mat: &DMatrix<f32>,
indices_orig2splatted: &[u32],
splat_type: &SplatType,
) -> DMatrix<f32>Expand description
Gets rows of mat and splats them according to indices_orig2splatted
such that:
ⓘ
vec = mat[i];
idx_destination = indices_orig2splatted[i];
splatted.row(idx_destination) += vec