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

Complex64 Impala::Core::Array::Element::operator/ ( const Complex64 &  v1,
const Complex64 &  v2 
) [inline]

Definition at line 145 of file Complex64.h.

References Impala::Core::Array::Element::Complex64::X(), and Impala::Core::Array::Element::Complex64::Y().

00146 {
00147     double re = v2.X();
00148     double im = v2.Y();
00149     double sq = re*re+im*im;
00150 
00151     double mulre = v1.X()*re + v1.Y()*im;
00152     double mulim = v1.Y()*re - v1.X()*im;
00153 
00154     return Complex64(mulre / sq, mulim / sq);
00155 }

Here is the call graph for this function:


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