Interface HessianProduct
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A matrix-free Hessian: given the current point
x and a vector
p, return H(x) p.
Mirrors the hessp(x, p, *args) callable from scipy's
minimize(method='trust-constr') API. Pairs with
HessianLinearOperator, which adapts a
HessianProduct to the explicit-matrix slot used elsewhere in the
port.-
Method Summary
-
Method Details
-
apply
- Parameters:
x- [n] current pointp- [n] vector to multiplyargs- optional extra arguments forwarded by the caller- Returns:
- [n] result of
H(x) p
-