SyntaxFix
Write A Post
Hire A Developer
Questions
exp(x) = e^x where e= 2.718281(approx)
import numpy as np ar=np.array([1,2,3]) ar=np.exp(ar) print ar
outputs:
[ 2.71828183 7.3890561 20.08553692]