Lines Matching full:residual
63 bool operator()(const T* const x, T* residual) const {
64 residual[0] = T(10.0) - x[0];
73 residual is needed, and with a special type ``T=Jet`` when the
77 Once we have a way of computing the residual function, it is now time
93 // Set up the only cost function (also known as residual). This uses
175 for example when the evaluation of the residual involves a call to a
178 functor which computes the residual value and construct a
185 bool operator()(const double* const x, double* residual) const {
186 residual[0] = 10.0 - x[0];
228 In such cases, it is possible to supply your own residual and jacobian
260 the residual function. In this case since the residual function is
267 :class:`NumericDiffCostFunction` to construct your residual blocks.
324 bool operator()(const T* const x1, const T* const x4, T* residual) const {
325 residual[0] = T(sqrt(10.0)) * (x1[0] - x4[0]) * (x1[0] - x4[0]);
342 // Add residual terms to the problem using the using the autodiff
355 that the corresponding residual object depends on and not on all four
406 residual. There will be a residual for each observation.
415 bool operator()(const T* const m, const T* const c, T* residual) const {
416 residual[0] = T(y_) - exp(m[0] * T(x_) + c[0]);
508 residual blocks with high residuals, usually the ones corresponding to
509 outliers. To associate a loss function in a residual block, we change
560 the reprojection error/residual. The structure of the functor is
564 Each residual in a BAL problem depends on a three dimensional point