Lines Matching defs:x4
94 const double x4 = state[3];
100 << "x4=" << x4 << ".";
103 const double f2 = sqrt(5.0) * (x3 - x4);
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.