class NDLike(object):
    def __init__(self, values):
        self.values = values
    def __array__(self, result=None):
        return self.values
    def __array_wrap__(self, result):
        return type(self)(result)
    def __repr__(self):
        return "[%s] %s" % (type(self),self.values)

