Skip to main content

aligned_vec_f64

Function aligned_vec_f64 

Source
pub fn aligned_vec_f64(len: usize, align: usize) -> Option<Vec<f64>>
Expand description

Allocate a SIMD-aligned Vec<f64>

Returns a Vec whose data pointer is aligned to the specified boundary.

ยงErrors

Returns None if allocation fails.