(space: manifolds.ManifoldAbstract, x_ref, x, W)
| 58 | |
| 59 | |
| 60 | def _jac(space: manifolds.ManifoldAbstract, x_ref, x, W): |
| 61 | err = space.difference(x_ref, x) |
| 62 | J = space.Jdifference(x_ref, x, 1) |
| 63 | return J.T @ (W @ err) |
| 64 | |
| 65 | |
| 66 | def _hess(space: manifolds.ManifoldAbstract, x_ref, x, W): |
no test coverage detected