extendr_api::prelude::mat

Function from_mut_generic

pub fn from_mut_generic<E>(
    value: <<E as Entity>::Group as ForType>::FaerOf<&mut <E as Entity>::Unit>,
) -> MatMut<'_, E>
where E: Entity,
Expand description

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