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

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

    retrieve(layout.change_coordinates, indexer)