Definition at line 42 of file E1Log.h. References Impala::Core::Array::Element::Complex64::X(), and Impala::Core::Array::Element::Complex64::Y(). Referenced by Impala::Core::Array::Trait::M9poNw_log< DstArrayT, SrcArrayT >::DoIt(), Impala::Core::Array::Trait::M9poHw_log< DstArrayT, SrcArrayT >::DoIt(), and Impala::Core::Array::Trait::M9poCw_log< DstArrayT, SrcArrayT >::DoIt(). 00043 { 00044 Real64 re = v.X(); 00045 Real64 im = v.Y(); 00046 Real64 mag = ::sqrt(re*re+im*im); 00047 00048 return Complex64(::log(mag), ::atan(re/im)); 00049 }
Here is the call graph for this function:
|