(x)
Evaluates the hyperbolic sine of an interval
Evaluates the hyperbolic sine of an interval
Evaluates the hyperbolic sine of an interval
def sinh(x):
    """Evaluates the hyperbolic sine of an interval"""
    np = import_module('numpy')
    if isinstance(x, (int, float)):
        return interval(np.sinh(x), np.sinh(x))
    elif isinstance(x, interval):
        return interval(np.sinh(x.start), np.sinh(x.end), is_valid=x.is_valid)
    else:
        raise NotImplementedError
def sinh ( x ) : np = import_module ( 'numpy' ) if isinstance ( x , ( int , float ) ) : return interval ( np . sinh ( x ) , np . sinh ( x ) ) elif isinstance ( x , interval ) : return interval ( np . sinh ( x . start ) , np . sinh ( x . end ) , is_valid = x . is_valid ) else : raise NotImplementedError