CoCalc -- Collaborative Calculation in the Cloud
Sharedsupport / 2016-05-27-Macaulay2.sagewsOpen in CoCalc

Examples for support purposes...

%macaulay2
loadPackage "Points";
M = matrix{{1,2,3},{4,5,6}};
R = QQ[x,y,MonomialOrder=>Lex];
(Q,inG,G) = points(M,R)
2 3 Matrix ZZ <--- ZZ 2 3 3 2 ({1, y, y }, ideal (y , x), {y - 15y + 74y - 120, x - y + 3}) Sequence
print macaulay2.eval("""
loadPackage "Points";
M = matrix{{1,2,3},{4,5,6}};
R = QQ[x,y,MonomialOrder=>Lex];
(Q,inG,G) = points(M,R)
""")
/usr/share/Macaulay2/Points.m2:2:1:(3):[7]: error: package Points not reloaded; try Reload => true 2 3 o1000000006 : Matrix ZZ <--- ZZ 2 3 3 2 o1000000008 = ({1, y, y }, ideal (y , x), {y - 15y + 74y - 120, x - y + 3}) o1000000008 : Sequence