Skip to main content

matlab_log

Function matlab_log 

Source
fn matlab_log(z: (f64, f64)) -> (f64, f64)
Expand description

MATLAB’s complex log(z) as (log|z|, angle z): FDLIBM’s atan2 and MATLAB’s rule for the real part ([fdlibm::log_abs]), bit for bit.