extendr_api::prelude::row

Function from_raw_parts_mut

pub unsafe fn from_raw_parts_mut<'a, E>(
    ptr: <<E as Entity>::Group as ForType>::FaerOf<*mut <E as Entity>::Unit>,
    ncols: usize,
    col_stride: isize,
) -> RowMut<'a, E>
where E: Entity,
Expand description

Creates a RowMut from pointers to the row vector data, number of columns, and column stride.

ยงSafety:

This function has the same safety requirements as [mat::from_raw_parts_mut(ptr, 1, ncols, 0, col_stride)]