Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(34)  |  Call(0)  |  Derive(0)  |  Import(34)
Context for multiprecision arithmetic with a global precision.

src/s/y/sympy-HEAD/sympy/core/evalf.py   sympy(Download)
 
import sympy.mpmath.libmp as libmp
from sympy.mpmath import make_mpc, make_mpf, mp, mpc, mpf, nsum, quadts, quadosc
from sympy.mpmath import inf as mpmath_inf
from sympy.mpmath.libmp import (from_int, from_man_exp, from_rational, fhalf,

src/s/y/sympy-polys-HEAD/sympy/core/evalf.py   sympy-polys(Download)
import sympy.mpmath.libmp as libmp
from sympy.mpmath.libmp.libmpf import dps_to_prec
from sympy.mpmath import mpf, mpc, quadts, quadosc, mp, make_mpf, make_mpc
from sympy.mpmath.libmp import (mpf_pi, mpf_log, mpf_pow, mpf_sin, mpf_cos,
        mpf_atan, mpf_atan2, mpf_e, mpf_exp, from_man_exp, from_int)

src/s/y/sympy-HEAD/sympy/polys/rootoftools.py   sympy(Download)
from sympy.polys.domains import QQ
 
from sympy.mpmath import mp, mpf, mpc, findroot
from sympy.mpmath.libmp.libmpf import prec_to_dps
 

src/s/y/sympy-HEAD/sympy/functions/combinatorial/numbers.py   sympy(Download)
            return S.Zero
        if m.is_Integer and m.is_nonnegative:
            from sympy.mpmath import mp
            m = m._to_mpmath(mp.prec)
            res = mp.eulernum(m, exact=True)
    def _eval_evalf(self, prec):
        m = self.args[0]
 
        if m.is_Integer and m.is_nonnegative:
            from sympy.mpmath import mp

src/s/y/sympy-HEAD/sympy/polys/numberfields.py   sympy(Download)
from sympy.ntheory import sieve
from sympy.ntheory.factor_ import divisors
from sympy.mpmath import pslq, mp
 
from sympy.core.compatibility import xrange

src/s/y/sympy-0.7.5/sympy/functions/combinatorial/numbers.py   sympy(Download)
            return S.Zero
        if m.is_Integer and m.is_nonnegative:
            from sympy.mpmath import mp
            m = m._to_mpmath(mp.prec)
            res = mp.eulernum(m, exact=True)
    def _eval_evalf(self, prec):
        m = self.args[0]
 
        if m.is_Integer and m.is_nonnegative:
            from sympy.mpmath import mp

src/s/y/sympy-polys-HEAD/sympy/polys/numberfields.py   sympy-polys(Download)
from sympy.utilities import any, all, numbered_symbols, variations
from sympy.ntheory import sieve
from sympy.mpmath import pslq, mp
 
def minimal_polynomial(ex, x=None, **args):

src/s/y/sympy-0.7.5/sympy/functions/special/bessel.py   sympy(Download)
    def _eval_evalf(self, prec):
        from sympy.mpmath import mp
        from sympy import Expr
        z = self.args[0]._to_mpmath(prec)
        oprec = mp.prec
    def _eval_evalf(self, prec):
        from sympy.mpmath import mp
        from sympy import Expr
        z = self.args[0]._to_mpmath(prec)
        oprec = mp.prec

src/s/y/sympy-HEAD/sympy/functions/special/gamma_functions.py   sympy(Download)
    def _eval_evalf(self, prec):
        from sympy.mpmath import mp
        from sympy import Expr
        a = self.args[0]._to_mpmath(prec)
        z = self.args[1]._to_mpmath(prec)
    def _eval_evalf(self, prec):
        from sympy.mpmath import mp
        from sympy import Expr
        a = self.args[0]._to_mpmath(prec)
        z = self.args[1]._to_mpmath(prec)

src/s/y/sympy-0.7.5/sympy/functions/special/gamma_functions.py   sympy(Download)
    def _eval_evalf(self, prec):
        from sympy.mpmath import mp
        from sympy import Expr
        a = self.args[0]._to_mpmath(prec)
        z = self.args[1]._to_mpmath(prec)
    def _eval_evalf(self, prec):
        from sympy.mpmath import mp
        from sympy import Expr
        a = self.args[0]._to_mpmath(prec)
        z = self.args[1]._to_mpmath(prec)

  1 | 2 | 3  Next