30 litfloat phi2SinCos = 2 * phiCos * phiSin;
37 return (ru * ru) / (duu - phiCosSq * C0 - phi2SinCos * C1 - phiSinSq * C5);
60 litfloat norm = (dxx - C0) * ((dyy - C6) * (dtt - C20) - C10 * C10)
61 + (dxy - C1) * (C5 * C10 - (dxy - C1) * (dtt - C20))
62 + C5 * ((dxy - C1) * C10 - (dyy - C6) * C5);
64 if (norm == 0.) { norm = 1e-10; }
67 litfloat M00 = ((dyy - C6) * (dtt - C20) - C10 * C10) / norm;
68 litfloat M01 = ((dxy - C1) * (dtt - C20) - C5 * C10) / norm;
69 litfloat M02 = ((dxy - C1) * C10 - (dyy - C6) * C5) / norm;
70 litfloat M11 = ((dxx - C0) * (dtt - C20) - C5 * C5) / norm;
71 litfloat M12 = ((dxx - C0) * C10 - (dxy - C1) * C5) / norm;
72 litfloat M22 = ((dxx - C0) * (dyy - C6) - (dxy - C1) * (dxy - C1)) / norm;
74 return xmx * (xmx * M00 + ymy * M01 + tmt * M02)
75 + ymy * (xmx * M01 + ymy * M11 + tmt * M12)
76 + tmt * (xmx * M02 + ymy * M12 + tmt * M22);