#19084: libSingular functions' ring parameter defaults to a dummy ring
-------------------------------------+-------------------------------------
Reporter: klee | Owner:
Type: enhancement | Status: needs_review
Priority: minor | Milestone: sage-6.9
Component: interfaces | Resolution:
Keywords: | Merged in:
Authors: Kwankyu Lee | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/klee/libsingular | 7a168a2e9d1b8b4a4607121cf5c80e3fb77d7368
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Description changed by klee:
Old description:
> libSingular functions require a ring parameter set. But for some
> functions the ring parameter is redundant.
>
> Martin Albrecht answers to this issue:
>
> 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.
>
> My own solution to this problem is to store the last used ring in
> libSingular function calls, instead of using a dummy ring. In a Singular
> function call, if a ring is not found from the arguments, then the ring
> parameter defaults to the last used ring. The initial "last used" ring is
> set to `PolynomialRing(QQ,2,'x,y')`.
New description:
libSingular functions require a ring parameter set. But for some functions
the ring parameter is redundant.
Martin Albrecht answers to this issue:
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.
We implement this.
--
--
Ticket URL: <http://trac.sagemath.org/ticket/19084#comment:11>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" 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-trac.
For more options, visit https://groups.google.com/d/optout.