Python‎ > ‎numpy‎ > ‎

sin


The value of matrix calculated through numpy.sin() and are added these mathematical operator.
import numpy as np 
import operator
import math

n=np.sin([1,2,3,5])
c=math.sin(n[0]).__mul__(n[1]).__sub__(n[2])
print(c)
 0.5368741053357321


Comments