コード例 #1
0
ファイル: bessel.py プロジェクト: AdrianPotter/sympy
 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.airybi(z, derivative=1)
     return Expr._from_mpmath(res, prec)
コード例 #2
0
ファイル: bessel.py プロジェクト: pducks32/intergrala
 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.airybi(z, derivative=1)
     return Expr._from_mpmath(res, prec)
コード例 #3
0
ファイル: bessel.py プロジェクト: B-Rich/sympy
 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.airybi(z, derivative=1)
     mp.prec = oprec
     return Expr._from_mpmath(res, prec)
コード例 #4
0
ファイル: bessel.py プロジェクト: wuxi20/Pythonista
 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.airybi(z, derivative=1)
     mp.prec = oprec
     return Expr._from_mpmath(res, prec)