In this case it creates the tuple (ti, tj) and passes it to dense.__getitem__(). As to what that accomplishes, you will need to see the documentation and/or source for dense‘s type.
solved What’s the Pythonic way to initialize an array?
 
In this case it creates the tuple (ti, tj) and passes it to dense.__getitem__(). As to what that accomplishes, you will need to see the documentation and/or source for dense‘s type.
solved What’s the Pythonic way to initialize an array?