[][src]Function cmsis_dsp::complex::complex_magnitude_f32

pub fn complex_magnitude_f32(source: &[Complex32], destination: &mut [f32])

Calculates the magnitude of each complex number in a provided source slice, and stores each result in the corresponding position in the destination slice

Panics

This function panics if source.len() is not equal to destination.len(), or if either length is too large to fit into a 32-bit integer