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

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/s/y/sympy-HEAD/sympy/matrices/expressions/tests/test_blockmatrix.py   sympy(Download)
 
    assert block_collapse(Y.I) == A.I
    assert block_collapse(X.inverse()) == BlockMatrix([
        [(-B*D.I*C + A).I, -A.I*B*(D + -C*A.I*B).I],
        [-(D - C*A.I*B).I*C*A.I, (D - C*A.I*B).I]])
 
    assert isinstance(X.inverse(), Inverse)

src/s/y/sympy-0.7.5/sympy/matrices/expressions/tests/test_blockmatrix.py   sympy(Download)
 
    assert block_collapse(Y.I) == A.I
    assert block_collapse(X.inverse()) == BlockMatrix([
        [(-B*D.I*C + A).I, -A.I*B*(D + -C*A.I*B).I],
        [-(D - C*A.I*B).I*C*A.I, (D - C*A.I*B).I]])
 
    assert isinstance(X.inverse(), Inverse)