public static function sin($z) {
        if (!($z instanceof Complex)) $z = static::parse($z);

        return static::create(sin($z->x)*cosh($z->y), cos($z->x)*sinh($z->y));
    }
public static function sin($z) {
        if (!($z instanceof Complex)) $z = static::parse($z);

        return static::create(sin($z->x)*cosh($z->y), cos($z->x)*sinh($z->y));
    }
public static function sin ( $ z ) { if ( ! ( $ z instanceof Complex ) ) $ z = static :: parse ( $ z ) ; return static :: create ( sin ( $ z -> x ) * cosh ( $ z -> y ) , cos ( $ z -> x ) * sinh ( $ z -> y ) ) ; }
complex sine function

Complex::sin($z) computes and returns sin($z)


@param mixed $z (Complex, or parsable to Complex)
@retval Complex
complex sine function