On 17/05/2017 17:05, Jeroen Demeyer wrote:
What about
OUTPUT: lattice
Unlike an INPUT, an OUTPUT is not a list of things. So why format it as
a list? A list could be useful for example in
OUTPUT: a tuple ``(a,b)`` with
- ``a`` a foo
- ``b`` a bar
I like the above, however there can be more complicated output
(depending on the output). An example is given by "is_cyclotomic" that
returns either a boolean or an integer
sage: x = polygen(ZZ)
sage: p = x^2 + x + 1
sage: p.is_cyclotomic()
True
sage: p.is_cyclotomic(certificate=True)
3
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.