"center" is not a function but a method of Polyhedron_base. I suggest you read up on object-oriented programming and Python if that that doesn't answer your question.
I'm definitely interested in hyperplane arrangements, though. Do you have a particular data structure in mind or is your plan to just keep a collection of hyperplanes? On Sunday, July 21, 2013 3:58:24 PM UTC-4, davidp wrote: > > I am working on a Sage package for hyperplane arrangements. In my file > hyperplane_arrangement.py, > I would like to use the function 'center' > from sage/geometry/polyhedron/basepy. (It finds the center of a > polyhedron.) > I have tried to import it with > > import from sage.geometry.polyhedron.base import center > > but that crashes Sage. I have tried several variations on this theme. > Could someone please tell me the magic words? > > Thanks, > Dave > -- 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 http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/groups/opt_out.