hessian#
Hessian for Complex-Valued Functions.
- jrystal._src.hessian.complex_hessian(f: Callable[[Array], Array], primal: Array) Array [source]#
Compute the Hessian of a complex-valued function at a point.
Warning
Only for \(x\) being a vector is tested.
- Parameters:
f – A function that takes a complex-valued array and returns a complex-valued array.
primal – The point at which to compute the Hessian.
- Returns:
The Hessian of the function at the point.