Thanks. It seems that indeed some rings, such as ZZ and QQ, are too exotic for Singular, and that you really have to base change to a polynomial ring over a field. Here is a little function definition which seems to work for any matrix defined over a domain:
def sympow(A,d): R=A.base_ring() F=FractionField(R) S.<q>=F[] A=A.change_ring(S) return singular.symmetricPower(A._singular_(),d).sage().change_ring(R) -- 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.
