[sage-support] Re: using Singular's invariant_ring

2007-11-25 Thread David Joyner
On Nov 25, 2007 4:29 PM, William Stein <[EMAIL PROTECTED]> wrote: > > > On Nov 25, 2007 3:27 AM, Martin Albrecht <[EMAIL PROTECTED]> wrote: > > > > > @Martin Albrecht: > > > - Is there a reasonable way to fix this in the interface? > > > > Hi, the 'trivial' way to fix it, is to implement a Python

[sage-support] Re: using Singular's invariant_ring

2007-11-25 Thread William Stein
On Nov 25, 2007 3:27 AM, Martin Albrecht <[EMAIL PROTECTED]> wrote: > > > @Martin Albrecht: > > - Is there a reasonable way to fix this in the interface? > > Hi, the 'trivial' way to fix it, is to implement a Python function for > SinguleElement called invariant_ring which calls the Singular funct

[sage-support] Re: using Singular's invariant_ring

2007-11-25 Thread Simon King
Hi David, On Nov 24, 10:38 pm, "David Joyner" <[EMAIL PROTECTED]> wrote: > The commands at > http://www.singular.uni-kl.de/Manual/latest/sing_1083.htm#SEC1142 > are a good example to start. In my previous post, i explained how one might use invariant_ring (for getting a Hironaka decomposition)

[sage-support] Re: using Singular's invariant_ring

2007-11-25 Thread Martin Albrecht
> @Martin Albrecht: > - Is there a reasonable way to fix this in the interface? Hi, the 'trivial' way to fix it, is to implement a Python function for SinguleElement called invariant_ring which calls the Singular function, parses the output and returns a tuple. If you call A.invariant_ring the

[sage-support] Re: using Singular's invariant_ring

2007-11-24 Thread Simon King
Dear David, perhaps a better answer: > Suppose a finite matrix group G generated by 3x3 matrices > A1, A2, ..., Ar acts on the polynomial ring QQ[x,y,z]. > Singular has a command which computes a basis of > invariants. Are you actually interested in a Hironaka decomposition? Or are you looking

[sage-support] Re: using Singular's invariant_ring

2007-11-24 Thread Simon King
Dear David, On Nov 24, 10:38 pm, "David Joyner" <[EMAIL PROTECTED]> wrote: > sage: R = singular.ring(0, '(x,y,z)', 'dp') > sage: A = singular.matrix(3,3,'0,1,0,-1,0,0,0,0,-1') > sage: singular.eval('LIB "finvar.lib";') > > Now, I'm stuck. Everything I try returns an error. > For example, I expec