allocate_max_aligned_slice

Function allocate_max_aligned_slice 

Source
pub fn allocate_max_aligned_slice<Scalar: Default + ScalarExt<Avx> + ScalarExt<Sse> + ScalarExt<Generic>>(
    count: usize,
) -> Box<[Scalar]>
Expand description

Allocate a boxed slice of scalars with maximum possible vector alignment for a particular scalar on the current architecture.

ยงPanics

Panics if count is 0 or memory allocation fails.