Skip to main content

cmul

Function cmul 

Source
pub fn cmul(a: (f64, f64), b: (f64, f64)) -> (f64, f64)
Expand description

Complex multiply: (a+ib)(c+id) = (ac-bd) + i(ad+bc)