extendr_api::prelude::col

Function from_slice_mut

pub fn from_slice_mut<E>(slice: &mut [E]) -> ColMut<'_, E>
where E: SimpleEntity,
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.