Hi Volker, I put a new version of toric lattices patch. Now it should work nicely with plain vectors and matrices, in particular homomorphisms seem to do what they should (there is a simple example in the end of "module level" documentation). I don't think anymore that there is any need for a separate class ToricLatticeMorphism since standard morphisms between free modules seem to work just fine. I had to prohibit expressions like M(N(1,2,3)), but I think it is reasonable - if one wants to convert elements between lattices, there is a possibility to make an explicit morphism without any restrictions and I have shown how to do the above conversion in the documentation. By the way - note that a morphism given by a matrix M will act on a vector v like v*M, that's how it is done in Sage.
It is quite possible that there are some situations that still have to be addressed/resolved, but I propose to use this patch as an initial version and apply fixes/modifications on top of it and other relevant modules. I will now work on changing the default lattice in cones and fans. That should be easy, but will probably involve a lot of doctest fixing because of lattice names printed with rays. Thank you, Andrey -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org