#9788: The coordinates appearing in the output of variety(L) should be easier to
access
-------------------------------------+-------------------------------------
Reporter: mmezzarobba | Owner: malb
Type: enhancement | Status: needs_review
Priority: minor | Milestone: sage-6.4
Component: commutative | Resolution:
algebra | Merged in:
Keywords: | Reviewers:
Authors: Martin von Gagern | Work issues:
Report Upstream: N/A | Commit:
Branch: | 37ec7a5f3d2a43dbbcaa54aac4bed8a803e7e4b8
u/gagern/ticket/9788 | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Changes (by {'newvalue': u'Martin von Gagern', 'oldvalue': ''}):
* status: new => needs_review
* commit: => 37ec7a5f3d2a43dbbcaa54aac4bed8a803e7e4b8
* author: => Martin von Gagern
Comment:
OK, here is an implementation for this.
The object returned from the `variety()` call no longer is a sequence,
since converting to sequence will cause some argument misalignment and
therefore make all solutions come up as empty dicts. One alternative would
be making the key conversion function a named argument, perhaps even
guessing it from the type of the keys provided so far. Another alternative
would be introducing a category for conversion dicts, one for every
possible conversion function. But I doubt either of these is neccessary,
since I doubt anyone really relies on receiving a Sequence out of this.
Should `BooleanPolynomialIdeal.variety()` in `pbori.pyx` behave the same?
Should other code make use of this as well, e.g. the symbolic `solve`
function with `solutions_dict=True`? Should these things be handled in
separate tickets?
----
New commits:
||[http://git.sagemath.org/sage.git/commit/?id=37ec7a5f3d2a43dbbcaa54aac4bed8a803e7e4b8
37ec7a5]||{{{Add KeyConvertingDict and use it for the result of
variety().}}}||
--
Ticket URL: <http://trac.sagemath.org/ticket/9788#comment:9>
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.