I would like to precalculate something and use cython for that. For
example:
N=7
L = [ P for P in Posets(N) if min([len(P.lower_covers(a)) for a in
P.maximal_elements()]) >= 4 ]
save(L, '/some/where/L')
(Then later I can load 'L' and do some calculations with those posets
--- no need to (re)calculate L.)
How can I know what to import to get this work in cython? I already tried
from sage.all import Posets
but it doesn't seem to work. And what for save() -function?
--
Jori Mäntysalo
--
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 sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.