get elements by discrete indices

        :param indices: list
            discrete indices
        :return: elements

def discrete_index(self, indices):
        """get elements by discrete indices

        :param indices: list
            discrete indices
        :return: elements
        """
        elements = []
        for i in indices:
            elements.append(self[i])
        return elements