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

template<class DstArrayT, class SrcArrayT>
DstArithT Impala::Core::Array::Trait::M9poHw< DstArrayT, SrcArrayT >::DoIt ( const SrcArithT E,
const SrcArithT El,
const SrcArithT Ell,
const SrcArithT Ex,
const SrcArithT Elx,
const SrcArithT Ellx,
const SrcArithT Ey,
const SrcArithT Ely,
const SrcArithT Elly 
) [inline]

Actual operation.

Definition at line 41 of file M9poHw.h.

References Impala::Core::Array::Element::E1Sqrt(), and Impala::Core::Array::Trait::M9poHw< DstArrayT, SrcArrayT >::mScale.

00044     {
00045         SrcArithT norm = (El*El + Ell*Ell) / mScale;
00046         SrcArithT Cx = Ell*Elx - El*Ellx;
00047         SrcArithT Hy = Ell*Ely - El*Elly;
00048         return Element::E1Sqrt(Cx*Cx + Hy*Hy) / norm;
00049         //return Element::E1Log(Element::E1Sqrt(Cx*Cx + Hy*Hy) / norm + 1);
00050     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:18:19 2011 for ImpalaSrc by  doxygen 1.5.1