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

Function _call

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

Source from the content-addressed store, hash-verified

53
54
55def _call(space: manifolds.ManifoldAbstract, x_ref, x, W):
56 err = space.difference(x_ref, x)
57 return err.dot(W @ err)
58
59
60def _jac(space: manifolds.ManifoldAbstract, x_ref, x, W):

Callers 1

evaluateMethod · 0.85

Calls 1

differenceMethod · 0.80

Tested by

no test coverage detected