Пример #1
0
 def _eval_evalf(self, prec):
     from sympy.mpmath import mp, workprec
     from sympy import Expr
     z = self.args[0]._to_mpmath(prec)
     with workprec(prec):
         res = mp.airyai(z, derivative=1)
     return Expr._from_mpmath(res, prec)
Пример #2
0
 def _eval_evalf(self, prec):
     from sympy.mpmath import mp, workprec
     from sympy import Expr
     z = self.args[0]._to_mpmath(prec)
     with workprec(prec):
         res = mp.airyai(z, derivative=1)
     return Expr._from_mpmath(res, prec)
Пример #3
0
 def _eval_evalf(self, prec):
     from sympy.mpmath import mp
     from sympy import Expr
     z = self.args[0]._to_mpmath(prec)
     oprec = mp.prec
     mp.prec = prec
     res = mp.airyai(z, derivative=1)
     mp.prec = oprec
     return Expr._from_mpmath(res, prec)
Пример #4
0
 def _eval_evalf(self, prec):
     from sympy.mpmath import mp
     from sympy import Expr
     z = self.args[0]._to_mpmath(prec)
     oprec = mp.prec
     mp.prec = prec
     res = mp.airyai(z, derivative=1)
     mp.prec = oprec
     return Expr._from_mpmath(res, prec)