# HG changeset patch
# User Burcin Erocal <burcin@erocal.org>
# Date 1304953622 7200
# Node ID 74d9047175315c1c4484e7f2883fc2f47aef461c
# Parent b639ef99b0b711ae155de76a261ba51a2618f593
trac 11317: add doctests to check conjugate methods for sinh, cosh, tanh in pynac.
diff git a/sage/functions/hyperbolic.py b/sage/functions/hyperbolic.py
a

b


97  97  sage: sinh(arccosh(x),hold=True).simplify() 
98  98  sqrt(x  1)*sqrt(x + 1) 
99  99  
 100  TESTS:: 
 101  
 102  sage: conjugate(sinh(x)) 
 103  sinh(conjugate(x)) 
100  104  """ 
101  105  GinacFunction.__init__(self, "sinh", latex_name=r"\sinh") 
102  106  
… 
… 

132  136  sage: cosh(arcsinh(x),hold=True).simplify() 
133  137  sqrt(x^2 + 1) 
134  138  
 139  TESTS:: 
 140  
 141  sage: conjugate(cosh(x)) 
 142  cosh(conjugate(x)) 
135  143  """ 
136  144  GinacFunction.__init__(self, "cosh", latex_name=r"\cosh") 
137  145  
… 
… 

182  190  
183  191  sage: latex(tanh(x)) 
184  192  \tanh\left(x\right) 
 193  sage: conjugate(tanh(x)) 
 194  tanh(conjugate(x)) 
185  195  """ 
186  196  GinacFunction.__init__(self, "tanh", latex_name=r"\tanh") 
187  197  