Returns a ndarray of Double from the given ndarray to each element of which an exp function has been applied.