self.ndim += var.dsize
shape = var.dshape
end = self.ndim
self.vmap[var] = VarMap(var.name, slice(begin, end), shape, var.dtype)
self.replacements = dict()
for v, (name, slc, shape, dtype) in self.vmap.items():
// slice is taken only by last dimension
After Change
)
// I do some staff that is not supported by standard __init__
// so I have to to it by myself
self.ordering = object.__new__(ArrayOrdering)
self.ordering.vmap = []
self.ordering.dimensions = 0
for var in self.group:
var = get_transformed(var)