serve/vendor/markbaker/complex/classes/src/functionssin.php

Function code for the complex sin() function

Functions

sin()

sin(\Complex\Complex|mixed  $complex) : \Complex\Complex

Returns the sine of a complex number.

Parameters

\Complex\Complex|mixed $complex

Complex number or a numeric value.

Throws

\Complex\Exception

If argument isn't a valid real or complex number.

Returns

\Complex\Complex —

The sine of the complex argument.