|
template<class DstArrayT, class SrcArrayT>
void Impala::Core::Array::Trait::M9N4poCxy< DstArrayT, SrcArrayT >::DoIt |
( |
DstStorT * |
Clx, |
|
|
DstStorT * |
Cly, |
|
|
DstStorT * |
Cllx, |
|
|
DstStorT * |
Clly, |
|
|
const SrcArithT & |
E, |
|
|
const SrcArithT & |
Ex, |
|
|
const SrcArithT & |
Ey, |
|
|
const SrcArithT & |
El, |
|
|
const SrcArithT & |
Elx, |
|
|
const SrcArithT & |
Ely, |
|
|
const SrcArithT & |
Ell, |
|
|
const SrcArithT & |
Ellx, |
|
|
const SrcArithT & |
Elly | |
|
) |
| | [inline] |
Actual operation.
Definition at line 34 of file M9N4poCxy.h. 00038 {
00039 SrcArithT e2 = E*E;
00040 *Clx = (Elx*E - El*Ex) / e2;
00041 *Cly = (Ely*E - El*Ey) / e2;
00042 *Cllx = (Ellx*E - Ell*Ex) / e2;
00043 *Clly = (Elly*E - Ell*Ey) / e2;
00044 }
|