📖 INDEX
LOADING ENGINE...
np.exp()
AI & DATA SCIENCE // np-exp
Calculates the exponential of all elements in the input array.
Syntax
res = np.exp(arr)Examples
Example 01Basic Usage
res = np.exp(arr)Best Practices
- Refer to the official NumPy documentation for deep vectorization techniques.
- Avoid writing custom Python for-loops for operations that can be vectorized with NumPy.