Parameters:
array: [array_like] Input array or object whose elements, we need to test. out: [ndarray, optional] Output array with same dimensions as Input array, placed with result. ** kwargs: Allows you to pass keyword variable length of argument to a function. It is used when we want to handle named argument in a function. where: [array_like, optional] True value means to calculate the universal functions (ufunc) at that position, False value means to leave the value in the output alone.
Return:
An array with exponential of all elements of input array.
Code 1: Working
|
Output:
Input array: [1, 3, 5] Output array: [2.71828183 20.08553692 148.4131591]
Code 2: Graphic representation
|
Output:

Links:
https://docs.scipy.org/doc/ numpy-1.13.0 / reference / generated / numpy.exp.html
,