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

Method computeHessians

tests/python/example_problem.py:92–95  ·  view source on GitHub ↗
(self, x, u, data)

Source from the content-addressed store, hash-verified

90 data.Lu[:] = 0.0
91
92 def computeHessians(self, x, u, data):
93 assert isinstance(data, MyCostData)
94 data.hess[:, :] = 0.0
95 data.Lxx[:, :] = _hess(space, self.x_ref, x, self.W)
96
97 def createData(self):
98 return MyCostData()

Callers 5

test_cost_stackFunction · 0.45
test_composite_costFunction · 0.45
test_log_barrierFunction · 0.45
test_quad_stateFunction · 0.45
test_costMethod · 0.45

Calls 1

_hessFunction · 0.85

Tested by 5

test_cost_stackFunction · 0.36
test_composite_costFunction · 0.36
test_log_barrierFunction · 0.36
test_quad_stateFunction · 0.36
test_costMethod · 0.36