Lines Matching defs:residual
79 bool operator()(const T* const x, T* residual) const {
87 residual[0] = T(10.0) * (x2 - x1 * x1);
88 residual[1] = T(1.0) - x1;
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;
117 residual[0] = T(10000.0) * x1 * x2 - T(1.0);
118 residual[1] = exp(-x1) + exp(-x2) - T(1.0001);
131 residual[0] = x1 - T(1000000.0);
132 residual[1] = x2 - T(0.000002);
133 residual[2] = x1 * x2 - T(2.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);
162 residual[i - 1] = T(2.0) + T(2.0 * i) -
182 residual[0] = T(10.0) * (x3 - T(10.0) * theta);
183 residual[1] = T(10.0) * (sqrt(x1 * x1 + x2 * x2) - T(1.0));
184 residual[2] = x3;
207 residual[i - 1] = T(y[i - 1]) - x1 + u / (v * x2 + w * x3);
232 residual[i] = x1 * exp(-x2 * (t_i - x3) * (t_i - x3) / T(2.0)) - y_i;
253 residual[i] = x1 * exp(x2 / (t + x3)) - y[i];