On Tuesday, May 23, 2017 at 8:17:41 AM UTC+1, Chris Brav wrote:
>
> Thanks. It seems that indeed some rings, such as ZZ and QQ, are too exotic 
> for Singular,


this is a limitation of Singular - it appears that any ring in Singular 
must be either a polynomial ring or something derived from it, e.g. a 
quotient...
 

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.

Reply via email to