extendr_api::prelude::mat

Function from_mut

pub fn from_mut<E>(value: &mut E) -> MatMut<'_, E>
where E: SimpleEntity,
Expand description

Returns a view over a 1×1 matrix containing value as its only element, pointing to value.