Lines Matching full:x1x2
93 double x1x2 = 0;
95 x1x2 += x1[i] * x2[i];
97 residuals[0] = sin(x1x2);
98 residuals[1] = exp(-x1x2 / 10);
143 double x1x2 = 0;
145 x1x2 += x1[i] * x2[i];
151 ExpectClose( x2[i] * cos(x1x2), dydx1[5 * 0 + i], tolerance);
152 ExpectClose( x1[i] * cos(x1x2), dydx2[5 * 0 + i], tolerance);
153 ExpectClose(-x2[i] * exp(-x1x2 / 10.) / 10., dydx1[5 * 1 + i], tolerance);
154 ExpectClose(-x1[i] * exp(-x1x2 / 10.) / 10., dydx2[5 * 1 + i], tolerance);