Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

Complex64 Impala::Core::Array::Element::E1Log ( const Complex64 &  v  )  [inline]

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:


Generated on Fri Mar 19 11:00:12 2010 for ImpalaSrc by  doxygen 1.5.1