Lines Matching defs:x2
86 const T x2 = x[1];
87 residual[0] = T(10.0) * (x2 - x1 * x1);
101 const T x2 = x[1];
102 residual[0] = T(-13.0) + x1 + ((T(5.0) - x2) * x2 - T(2.0)) * x2;
103 residual[1] = T(-29.0) + x1 + ((x2 + T(1.0)) * x2 - T(14.0)) * x2;
116 const T x2 = x[1];
117 residual[0] = T(10000.0) * x1 * x2 - T(1.0);
118 residual[1] = exp(-x1) + exp(-x2) - T(1.0001);
130 const T x2 = x[1];
132 residual[1] = x2 - T(0.000002);
133 residual[2] = x1 * x2 - T(2.0);
145 const T x2 = x[1];
146 residual[0] = T(1.5) - x1 * (T(1.0) - x2);
147 residual[1] = T(2.25) - x1 * (T(1.0) - x2 * x2);
148 residual[2] = T(2.625) - x1 * (T(1.0) - x2 * x2 * x2);
160 const T x2 = x[1];
164 exp(T(static_cast<double>(i) * x2));
178 const T x2 = x[1];
180 const T theta = T(0.5 / M_PI) * atan(x2 / x1) + (x1 > 0.0 ? T(0.0) : T(0.5));
183 residual[1] = T(10.0) * (sqrt(x1 * x1 + x2 * x2) - T(1.0));
196 const T x2 = x[1];
207 residual[i - 1] = T(y[i - 1]) - x1 + u / (v * x2 + w * x3);
223 const T x2 = x[1];
232 residual[i] = x1 * exp(-x2 * (t_i - x3) * (t_i - x3) / T(2.0)) - y_i;
245 const T x2 = x[1];
253 residual[i] = x1 * exp(x2 / (t + x3)) - y[i];