Which function is used to calculate the exponential of all elements in an input array in NumPy?
Correct answer
A. np.exp()
15 views
A. np.exp()
15 views
The np.exp() function computes the exponential of all elements in an input array. It is useful for calculating exponential growth or decay in numerical data.
Not sure why the answer is A? Ask here and get an explanation.