Exemple #1
0
 def cosh(self, o, fp):
     f, = o.ufl_operands
     return fp * sinh(f)
Exemple #2
0
 def cosh(self, o, fp):
     f, = o.ufl_operands
     return fp * sinh(f)
 def cosh(self, f):
     "d/dx cosh x = sinh(x)"
     x, = f.operands()
     return (sinh(x),)
 def cosh(self, o, a):
     f, fp = a
     o = self.reuse_if_possible(o, f)
     op = fp*sinh(f)
     return (o, op)
 def cosh(self, o, a):
     f, fp = a
     o = self.reuse_if_possible(o, f)
     op = fp * sinh(f)
     return (o, op)