Function extendr_api::prelude::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.