Answers for "np.exp in python numpy"

0

np.exp in python numpy

import numpy as np

ar=np.array([1,2,3])
ar=np.exp(ar)
print ar
Posted by: Guest on October-14-2021
0

np.exp in python numpy

[ 2.71828183  7.3890561  20.08553692]
Posted by: Guest on October-14-2021

Python Answers by Framework

Browse Popular Code Answers by Language