extendr_api::prelude::mat

Function from_ref

pub fn from_ref<E>(value: &E) -> MatRef<'_, E>
where E: SimpleEntity,
Expand description

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