X-Git-Url: https://svn.cri.ensmp.fr/git/linpy.git/blobdiff_plain/1b9c772ffc21a71d146a093537d371d63be16c75..2b3c6f898db2c17e3be955707629645bbeff91c0:/examples/diamond.py?ds=sidebyside diff --git a/examples/diamond.py b/examples/diamond.py index 148cdca..1681054 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_out([y]))