pub fn apply_matrix<T: RlstScalar, Array2Impl: ValueArrayImpl<T, 2>>( mat: &Array<Array2Impl, 2>, data: &mut [T], )
Apply a matrix to some data