pub fn assert_close_complex_slice(
left: &[Complex64],
right: &[Complex64],
atol: f64,
rtol: f64,
)Expand description
Assert that two &[Complex64] slices are elementwise close within tolerances (by magnitude).
ยงExamples
use num_complex::Complex64;
let a = [Complex64::new(1.0, 0.0)];
let b = [Complex64::new(1.0 + 1e-12, 1e-12)];
scir_core::assert_close_complex_slice(&a, &b, 1e-8, 1e-8);