Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
Expand an expression using hints.

See the docstring of the expand() function in sympy.core.function for
more information.

src/s/y/sympy-HEAD/sympy/core/tests/test_numbers.py   sympy(Download)
def test_GoldenRatio_expand():
    assert GoldenRatio.expand(func=True) == S.Half + sqrt(5)/2
 
 
def test_as_content_primitive():