Re: Simplex Representation

Dmitriy Morozov
 

This would be terrible for efficiency. I made a deliberate choice to disallow this. You can always add an extra layer of indirection: store your preferred type in a list and use that list's indices as the vertices for the simplices. 


On Thu, Mar 28, 2019 at 10:10 PM tom <gebhart@...> wrote:
Hi Dimitry,

Would it be difficult to allow for other immutable objects/primitives to be used as Simplex identifiers in the python bindings? It would be super convenient to be able to index simplices by tuples or strings instead of just integers. 

Thanks 

Join dionysus@groups.io to automatically receive all group messages.