Ejemplo n.º 1
0
 def __getitem__(self, indexer):
     cc = self._layout.change_coordinates
     return retrieve(cc, indexer)
Ejemplo n.º 2
0
 def __getitem__(self, indexer):
     cc = self._layout.change_coordinates
     return retrieve(cc, indexer)
Ejemplo n.º 3
0
def test_simple():
    a = CArraySource([1, 2, 3])
    layout = ContiguousL(a)
    indexer = (0, )

    retrieve(layout.change_coordinates, indexer)
Ejemplo n.º 4
0
def test_simple():
    a = CArraySource([1,2,3])
    layout = ContiguousL(a)
    indexer = (0,)

    retrieve(layout.change_coordinates, indexer)