Topics

Simplex Representation

tom
 

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 

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 

tom
 

This implies the largest number of 0-dimensional simplices Dionysus can handle is the highest integer representation of an unsigned long int? 

Dmitriy Morozov
 

Well, that's a very weak upper bound, since that number is astronomical. The actual computer memory is a far stronger limitation.


On Mon, Apr 15, 2019 at 11:19 AM tom <gebhart@...> wrote:
This implies the largest number of 0-dimensional simplices Dionysus can handle is the highest integer representation of an unsigned long int?