Hi,

is there a way to achieve the below computation directly in Sage, possibly 
using the M2 interface ?

Thanks, Christian

$ sage -M2
Macaulay2, version 1.4
with packages: ConwayPolynomials, Elimination, IntegralClosure, LLLBases, 
PrimaryDecomposition, ReesAlgebra, TangentCone

i1 : loadPackage "Points";
i2 : M = matrix{{1,2,3},{4,5,6}};
o2 = | 1 2 3 |
     | 4 5 6 |
              2        3
o2 : Matrix ZZ  <--- ZZ
i3 : R = QQ[x,y,MonomialOrder=>Lex];
i4 : (Q,inG,G) = points(M,R)
              2           3        3      2
o4 = ({1, y, y }, ideal (y , x), {y  - 15y  + 74y - 120, x - y + 3})
o4 : Sequence


-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to