qat.core.variables.sin

qat.core.variables.sin(angle)

The sinus function taking a number as an argument (in radians)

from math import pi
from qat.core.variables import sin

print(sin(pi / 2))
1.0
Parameters

angle (Variable or ArithExpression or number) – angle in radians

Returns

sinus

Return type

ArithExpression or number