Home | History | Annotate | Download | only in examples

Lines Matching refs:x1

85   const T x1 = x[0];
87 residual[0] = T(10.0) * (x2 - x1 * x1);
88 residual[1] = T(1.0) - x1;
100 const T x1 = x[0];
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;
115 const T x1 = x[0];
117 residual[0] = T(10000.0) * x1 * x2 - T(1.0);
118 residual[1] = exp(-x1) + exp(-x2) - T(1.0001);
129 const T x1 = x[0];
131 residual[0] = x1 - T(1000000.0);
133 residual[2] = x1 * x2 - T(2.0);
144 const T x1 = x[0];
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);
159 const T x1 = x[0];
163 exp(T(static_cast<double>(i)) * x1) -
177 const T x1 = x[0];
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));
195 const T x1 = x[0];
207 residual[i - 1] = T(y[i - 1]) - x1 + u / (v * x2 + w * x3);
222 const T x1 = x[0];
232 residual[i] = x1 * exp(-x2 * (t_i - x3) * (t_i - x3) / T(2.0)) - y_i;
244 const T x1 = x[0];
253 residual[i] = x1 * exp(x2 / (t + x3)) - y[i];