def METHOD_NAME(self, index):
    """Returns the range of a single dimension.
    Args:
        index (int): The index of the dimension, i.e. [0,2]
    Returns:
        int: The range of the dimension indexed by `index`.
    """
    return self[index]