Hi, On Wednesday 05 Aug 2015 23:35:26 Kwankyu wrote: > Hi, > > I am learning to use the libSingular interface to use Singular functions in > Sage. I have two questions. > > (1) My Singular procedures return multiple values, but my Sage function > wrapping the procedure (via "singular_function") seems to lose the values > except the first one. Is this a bug or a limitation?
I had no idea Singular would support multiple return values. We could support this by turning them into tuples. > (2) My Singular procedures do not need a ring (they internally construct > rings) as input, but my Sage function wrapping the procedure raises an > error if I do not specify a ring (via ring=...). I can use a dummy for > this, but this does not look elegant. Is there a way to avoid constructing > a dummy ring in this situation? We could do this: - if no ring is given we try to find one as we do currently. - if that fails because the inputs are not polynomials of any kind, we could use a dummy ring ? Cheers, Martin > Thank you in advance. Anyway, this libSingular interface is brilliant! -- .www: https://martinralbrecht.wordpress.com .pgp: 40BC 7F0D 724B 4AB1 CC98 4014 A040 043C 6532 AFB4 .xmpp: [email protected] .twitter: https://twitter.com/martinralbrecht .keybase: https://keybase.io/martinralbrecht -- 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 http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
