Skip to main content

empty_array

Function empty_array 

Source
pub fn empty_array<Item, const NDIM: usize>() -> Array<BaseArray<VectorContainer<Item>, NDIM>, NDIM>
where Item: Copy + Default,
Expand description

Create an empty array of given type and dimension.

Empty arrays serve as convenient containers for input into functions that resize an array before filling it with data.