Fix make test
[linpy.git] / examples / diamond.py
1 #!/usr/bin/env python3
2
3 from pypol import *
4
5 x, y = symbols('x y')
6 diam = Ge(y, x - 1) & Le(y, x + 1) & Ge(y, -x - 1) & Le(y, -x + 1)
7 print('diamond:', diam)
8 print('projected on x:', diam.drop_dims('y'))