#19831: Add random_element() for cones
-------------------------------------+-------------------------------------
Reporter: mjo | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-7.0
Component: geometry | Resolution:
Keywords: | Merged in:
Authors: Michael Orlitzky | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/mjo/ticket/19831 | 1418c70e3d1f4b1bb5ab356b14feda8bcc85ec87
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by novoselt):
Replying to [comment:7 mjo]:
> Maybe it makes more sense to have e.g. `latticial=True` instead of
`ring=ZZ` when there are only two choices (ambient lattice or ambient
vector space)?
That's the first time I hear such a word ;-) In the toric geometry cones
live in real vector spaces. The fact that Sage associates a rational and
not real one to free modules is just the way how Sage is, in part due to
technical reasons of working with reals on computers, I guess. In any case
there is no reason why eventually we can't accept any kind of real field
with different precision or perhaps some other subrings. So I am more in
favour of `NotImplementedError` rather than `ValueError` since `RR`, `RDF`
etc are very sensible choices.
--
Ticket URL: <http://trac.sagemath.org/ticket/19831#comment:8>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.