File: simpl6.in

package info (click to toggle)
polylib 5.22.5-1%2Bdfsg
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 14,444 kB
  • ctags: 52,958
  • sloc: ansic: 16,342; sh: 10,134; makefile: 558
file content (25 lines) | stat: -rw-r--r-- 446 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# {Z,t,p|Z=1;t+1=0;p=3}
D 1
4 5
0 1 0 0 -1
0 0 1 0 1
0 0 0 1 -3
1 0 0 0 1
# {Z,t,p|Z=1;t+p=2;p>=0;3>=p}
D 1
4 5
0 1 0 0 -1
0 0 1 1 -2
1 0 0 1 0
1 0 0 -1 3
F 2

dom3 = DomSimplify[readDom["{Z,t,p|Z=1;t+1=0;p=3}"],
                   readDom["{Z,t,p|Z=1;t+p=2;p>=0;3>=p}"]]
(*answer =
domain[3, {Z, t, p}, {pol[3, 2, 2, 1,
    {{0, 0, 1, 0, 1}, {0, 0, 0, 1, -3}, {1, 0, 0, 0, 1}},
    {{0, 1, 0, 0, 0}, {1, 0, -1, 3, 1}}]}]
{Z,t,p|t+1=0;p-3=0}
*)