Lines Matching defs:x1
91 const double x1 = state[0];
97 << "x1=" << x1 << ", "
102 const double f1 = x1 + 10.0 * x2;
105 const double f4 = sqrt(10.0) * pow(x1 - x4, 2.0);
138 sqrt(10.0) * 2.0 * (x1 - x4) * (1.0 - x4);
161 sqrt(10.0) * 2.0 * (x1 - x4) * (x1 - 1.0);
169 gradient[column_index++] = f1 + f4 * sqrt(10.0) * 2.0 * (x1 - x4);
183 -f2 * sqrt(5.0) + f4 * sqrt(10.0) * 2.0 * (x4 - x1);
251 // The minimum is at x1 = x2 = x3 = x4 = 0.