X-Git-Url: https://scm.cri.mines-paristech.fr/git/linpy.git/blobdiff_plain/1b9c772ffc21a71d146a093537d371d63be16c75..8332ae24f41a1f2bbba78597cc9e412ef9935ae8:/examples/diamond.py?ds=inline diff --git a/examples/diamond.py b/examples/diamond.py index 148cdca..5d0de4e 100755 --- a/examples/diamond.py +++ b/examples/diamond.py @@ -5,5 +5,4 @@ from pypol import * x, y = symbols('x y') diam = Ge(y, x - 1) & Le(y, x + 1) & Ge(y, -x - 1) & Le(y, -x + 1) print('diamond:', diam) -print('projected on x:', diam.drop_dims('y')) - +print('projected on x:', diam.project([y]))