[−][src]Function generic_simd::alignment::allocate_max_aligned_slice
pub fn allocate_max_aligned_slice<Scalar: Default + ScalarExt<Avx> + ScalarExt<Sse> + ScalarExt<Generic>>(
count: usize
) -> Box<[Scalar]>
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.