vector_hyp_Sapprox

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

mcutils.utils.hypergeometry.vector_hyp_Sapprox(res, eigenvalues)[source]

Computes 1F1(1/2; 3/2; M) where eigenvalues are the eigenvalues from M

vectorized version of hyp_Sapprox

Args:
res: (N, ) float np.ndarray

Output array with the results from the hypergeometric functions

eigenvalues: (N, 3) float np.ndarray

eigenvalues for N matrices in descending order