extendr_api::prelude

Function rcarr2

Source
pub fn rcarr2<A, V>(xs: &[V]) -> ArrayBase<OwnedArcRepr<A>, Dim<[usize; 2]>>
where A: Clone, V: Clone + FixedInitializer<Elem = A>,
Expand description

Create a two-dimensional array with elements from xs.