After reading this question, I'm wondering what happens under the hood when np.exp
is called: what is the mathematical/numerical routine used to derive the values in the returned array? For example, I think that to compute np.sqrt(x)
, a solution in y to y ** 2 - x = 0 is found using Newton's method.
(np.exp's docstring does not state how this is done)