Home | History | Annotate | Download | only in ceres

Lines Matching refs:x2

41 // y1 = x1'x2      -> dy1/dx1 = x2,               dy1/dx2 = x1
42 // y2 = (x1'x2)^2 -> dy2/dx1 = 2 * x2 * (x1'x2), dy2/dx2 = 2 * x1 * (x1'x2)
43 // y3 = x2'x2 -> dy3/dx1 = 0, dy3/dx2 = 2 * x2
46 bool operator()(const double* x1, const double* x2, double* residuals) const;
64 // y1 = sin(x1'x2)
65 // y2 = exp(-x1'x2 / 10)
67 // dy1/dx1 = x2 * cos(x1'x2), dy1/dx2 = x1 * cos(x1'x2)
68 // dy2/dx1 = -x2 * exp(-x1'x2 / 10) / 10, dy2/dx2 = -x2 * exp(-x1'x2 / 10) / 10
71 bool operator()(const double* x1, const double* x2, double* residuals) const;