Function extendr_api::prelude::row::from_raw_parts
pub unsafe fn from_raw_parts<'a, E>(
ptr: <<E as Entity>::Group as ForType>::FaerOf<*const <E as Entity>::Unit>,
ncols: usize,
col_stride: isize,
) -> RowRef<'a, E>where
E: Entity,
Expand description
Creates a RowRef
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(ptr, 1, ncols, 0, col_stride)
]