template<class DstArrayT, class SrcArrayT>
Actual operation.
Definition at line 52 of file TrecFeature.h. References Impala::Core::Trec::M9N4poConFeat< DstArrayT, SrcArrayT >::_scale, and Impala::Core::Array::Element::E1Sqrt(). 00056 { 00057 *Cl = El / E; 00058 *Cll = Ell / E; 00059 SrcArithT tmpx = Elx*E - El*Ex; 00060 SrcArithT tmpy = Ely*E - El*Ey; 00061 *Clw = ( Element::E1Sqrt(tmpx*tmpx + tmpy*tmpy) / (E*E) ) * _scale; 00062 tmpx = Ellx*E - Ell*Ex; 00063 tmpy = Elly*E - Ell*Ey; 00064 *Cllw = ( Element::E1Sqrt(tmpx*tmpx + tmpy*tmpy) / (E*E) ) * _scale; 00065 }
Here is the call graph for this function:
|