Update drop_dims, now works with more than 2 dims passed
[linpy.git] / examples / bac2014.py
1 #!/usr/bin/env python3
2
3 from pypol import *
4
5 x, y, z = symbols('x y z')
6 DF = Eq(x, y) & Eq(z, 6 - 2*x)
7 P = Eq(x + y - 2*z, 0)
8
9 print('DF ∩ P =', DF & P)