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

template<class DstArrayT, class SrcArrayT>
DstArithT Impala::Core::Array::Trait::M9poHw_log< 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 77 of file M9poHw.h.

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

00080     {
00081         SrcArithT norm = (El*El + Ell*Ell) / mScale;
00082         SrcArithT Cx = Ell*Elx - El*Ellx;
00083         SrcArithT Hy = Ell*Ely - El*Elly;
00084         //return Element::E1Sqrt(Cx*Cx + Hy*Hy) / norm;
00085         return Element::E1Log(Element::E1Sqrt(Cx*Cx + Hy*Hy) / norm + 1);
00086     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:04:29 2010 for ImpalaSrc by  doxygen 1.5.1