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

Function _hess

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

Source from the content-addressed store, hash-verified

64
65
66def _hess(space: manifolds.ManifoldAbstract, x_ref, x, W):
67 J = space.Jdifference(x_ref, x, 1)
68 return J.T @ (W @ J)
69
70
71class MyQuadCost(aligator.CostAbstract):

Callers 1

computeHessiansMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected