pyrtid.utils.operators.hessian_cfd# pyrtid.utils.operators.hessian_cfd(param: ndarray[Any, dtype[float64]], dx: float, axis: int = 0) → ndarray[Any, dtype[float64]][source]# Compute the hessian matching gradient_ffd. Parameters param (np.array) – An N-dimensional array containing samples of a scalar function. dx (float) – Spacing between param values along the axis. axis (int) – Axis on which to compute the gradient (0=x, 1=y) Returns grad – The hessian Return type NDArrayFloat