MCPcopy Create free account
hub / github.com/Simple-Robotics/aligator / _jac

Function _jac

tests/python/example_problem.py:60–63  ·  view source on GitHub ↗
(space: manifolds.ManifoldAbstract, x_ref, x, W)

Source from the content-addressed store, hash-verified

58
59
60def _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
66def _hess(space: manifolds.ManifoldAbstract, x_ref, x, W):

Callers 1

computeGradientsMethod · 0.85

Calls 1

differenceMethod · 0.80

Tested by

no test coverage detected