der_hyp_Sapprox

Import in python using from mcutils.utils.hypergeometry import der_hyp_Sapprox

mcutils.utils.hypergeometry.der_hyp_Sapprox(x, der_x, dx=1e-06)[source]

Computes 1F1(1/2; 3/2; M) where x are the eigenvalues from M and its derivatives

see hyp_Sapprox to only calculate the main value

Args:
x: (3, ) float np.ndarray

eigenvalues in descending order

out: (3, ) float

Will contain the derivatives

dx: float

step size to numerically estimate the derivative

Returns: float

Result of the hypergeometric function Derivatives will be written to out