This is on the same subject, so I thought I'd ask:
I was trying to use the Sage/M2 interface that Dima had been using, but I
couldn't quite get it to work for me. Here is what I was trying to convert
to sage:
macaulay2.eval("""
K = toField(QQ[zet]/(zet^6 + zet^5 + zet^4 + zet^3 + zet^2 + zet + 1))
A=matrix{{zet,0,0},{0,zet^3,0},{0,0,zet^2}}
needsPackage "InvariantRing"
G=generateGroup({A},K)
P = molienSeries G
""")
I tried doing
G=macaulay2('G').to_sage(); G
A=macaulay2('A').to_sage(); A
P=macaulay2('P').to_sage(); P
Though, I ran them all separately. They all gave me error messages. The
last one is the most important to me, just for ease of use(typing out long
equations and picking out typos seems to take up a large portion of my
time...), and the error I get is that I can not convert Divide to a sage
object.
Also, it seems to be that most of the functionality of M2 is not integrated
into Sage, in the sense that, to use these functions, you have to run M2
within a sage cell, and then you have to use a function to convert it to a
sage object. What is preventing us from just fully integrating all the M2
functions into Sage? Obviously still using M2 as a backend, but just to
make the interface between the two cleaner. Is there an actual technical
issue in the way, or has no one wanted to do it?
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.