extendr_api::prelude

Function arr1

Source
pub fn arr1<A>(xs: &[A]) -> ArrayBase<OwnedRepr<A>, Dim<[usize; 1]>>
where A: Clone,
Expand description

Create a one-dimensional array with elements from xs.