You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- G := new HashTable from for i from 0 to #out-1 list (out#i,for j from i+1 to #out-1 list if not #intersect(out#i,out#j)==0 then out#j else continue);
1461
-
-- out = apply(connectedComponents graph(out,pairs G),z->toList union z);
1462
-
-- out = out | apply(toList ((A.cache#"fiberStarters")#val - (flatten out)),v->{v});
-- for row in entries toricMarkov ((matrix vector val) | A) do(
1488
-
-- r := drop(row,1);
1489
-
-- if row#0 == 1 and all(r,z->z<=0) then (out = set{-r}; break;);
1490
-
-- );
1491
-
-- )else (
1492
-
-- e:=first exponents (product(for i from 0 to #val-1 list if val#i>0 then ((A.cache#"RingGenerators")#i)^(val#i) else ((A.cache#"RingGenerators")#(i+numRows A))^(-val#i)) % A.cache#"toricIdeal");
1493
-
-- if take(e,2*numRows A) == toList((2*numRows A):0) then out = set{take(e,-numColumns A)};
1494
-
-- );
1495
-
-- );
1496
-
-- (A.cache#"fibers")#val = out;
1497
-
-- );
1498
-
1499
-
-- fibAdd = method();
1500
-
-- fibAdd (Set,Set) := (L1,L2) -> (
1501
-
-- set flatten for l1 in keys L1 list for l2 in keys L2 list l1+l2
0 commit comments