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

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)
Given a real number `x`, ``identify(x)`` attempts to find an exact
formula for `x`. This formula is returned as a string. If no match
is found, ``None`` is returned. With ``full=True``, a list of
matching formulas is returned.

As a simple example, :func:`~mpmath.identify` will find an algebraic
formula for the golden ratio::

    >>> from mpmath import *
    >>> mp.dps = 15; mp.pretty = True(more...)

src/s/y/sympy-HEAD/sympy/simplify/simplify.py   sympy(Download)
                    return Rational(-int(rat[1]), int(rat[0]))
            mpmath.mp.dps = prec
            newexpr = mpmath.identify(xv, constants=constants_dict,
                tol=tolerance, full=full)
            if not newexpr:

src/s/y/sympy-0.7.5/sympy/simplify/simplify.py   sympy(Download)
                    return Rational(-int(rat[1]), int(rat[0]))
            mpmath.mp.dps = prec
            newexpr = mpmath.identify(xv, constants=constants_dict,
                tol=tolerance, full=full)
            if not newexpr:

src/s/y/sympy-polys-HEAD/sympy/simplify/simplify.py   sympy-polys(Download)
                    return Rational(-int(rat[1]), int(rat[0]))
            mpmath.mp.dps = prec
            newexpr = mpmath.identify(xv, constants=constants_dict,
                tol=tolerance, full=full)
            if not newexpr: