File: _m__Pos__Hull__Faces.out

package info (click to toggle)
macaulay2 1.21%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 133,096 kB
  • sloc: cpp: 110,377; ansic: 16,306; javascript: 4,193; makefile: 3,821; sh: 3,580; lisp: 764; yacc: 590; xml: 177; python: 140; perl: 114; lex: 65; awk: 3
file content (40 lines) | stat: -rw-r--r-- 1,797 bytes parent folder | download | duplicates (2)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
-- -*- M2-comint -*- {* hash: 1886212174 *}
--loading configuration for package "ConvexInterface" from file /home/member/dgrayson/.Macaulay2/init-ConvexInterface.m2
--loading configuration for package "MapleInterface" from file /home/member/dgrayson/.Macaulay2/init-MapleInterface.m2

i1 : L= {{0,1,1,0,0},{0,1,0,1,0},{0,1,0,0,0},{1,0,0,0,1},{1,0,-1,-1,-1},{1,0,0,0,0}};

i2 : L=apply(L,vector)

o2 = {| 0 |, | 0 |, | 0 |, | 1 |, | 1  |, | 1 |}
      | 1 |  | 1 |  | 1 |  | 0 |  | 0  |  | 0 |
      | 1 |  | 0 |  | 0 |  | 0 |  | -1 |  | 0 |
      | 0 |  | 1 |  | 0 |  | 0 |  | -1 |  | 0 |
      | 0 |  | 0 |  | 0 |  | 1 |  | -1 |  | 0 |

o2 : List

i3 : P=mPosHullFaces(L)

o3 = {| 0 1 1  0  0  |, {{{}}, {{1}, {2}, {3}, {4}, {5}, {6}}, {{3, 5}, {3,
      | 0 1 0  1  0  |
      | 0 1 0  0  0  |
      | 1 0 0  0  1  |
      | 1 0 -1 -1 -1 |
      | 1 0 0  0  0  |
     ------------------------------------------------------------------------
     4}, {2, 3}, {1, 3}, {5, 6}, {4, 6}, {2, 6}, {1, 6}, {4, 5}, {2, 5}, {2,
     ------------------------------------------------------------------------
     4}, {1, 5}, {1, 4}, {1, 2}}, {{3, 4, 5}, {2, 3, 5}, {2, 3, 4}, {2, 4,
     ------------------------------------------------------------------------
     5}, {1, 3, 5}, {1, 3, 4}, {1, 4, 5}, {1, 2, 3}, {1, 2, 5}, {1, 2, 4},
     ------------------------------------------------------------------------
     {4, 5, 6}, {2, 5, 6}, {2, 4, 6}, {1, 5, 6}, {1, 4, 6}, {1, 2, 6}}, {{2,
     ------------------------------------------------------------------------
     3, 4, 5}, {1, 3, 4, 5}, {1, 2, 3, 5}, {1, 2, 3, 4}, {2, 4, 5, 6}, {1, 4,
     ------------------------------------------------------------------------
     5, 6}, {1, 2, 5, 6}, {1, 2, 4, 6}}, {{1, 2, 3, 4, 5, 6}}}}

o3 : List

i4 :