projects
/
linpy.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Return NotImplemented in Domain special methods
[linpy.git]
/
examples
/
bac2014.py
1
#!/usr/bin/env python3
2
3
from
linpy
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
)