extendr_api::prelude::col

Function from_slice_mut_generic

pub fn from_slice_mut_generic<E>(
    slice: <<E as Entity>::Group as ForType>::FaerOf<&mut [<E as Entity>::Unit]>,
) -> ColMut<'_, E>
where E: Entity,
Expand description

Creates a ColMut from slice views over the column vector data, The result has the same number of rows as the length of the input slice.