//! Complex number operations
use Complex32;
use cratecheck_length;
/// 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