(self, rectangles)
return (ijk_index.T * self.unit_maxes) + self.offset
Convert rectangle indices to the states of the bottem-left corners.

        Parameters
        ----------
        rectangles : ndarray (int)
            The indices of the rectangles

        Returns
        -------
        states : ndarray
            The states that correspond to the bottom-left corners of the
            corresponding rectangles.
Convert rectangle indices to the states of the bottem-left corners.
Convert rectangle indices to the states of the bottem - left corners .
def rectangle_to_state(self, rectangles):
        """
        Convert rectangle indices to the states of the bottem-left corners.

        Parameters
        ----------
        rectangles : ndarray (int)
            The indices of the rectangles

        Returns
        -------
        states : ndarray
            The states that correspond to the bottom-left corners of the
            corresponding rectangles.

        """
        rectangles = np.atleast_1d(rectangles)
        ijk_index = np.vstack(np.unravel_index(rectangles,
                                               self.num_points - 1))
        ijk_index = ijk_index.astype(config.np_dtype)
        return (ijk_index.T * self.unit_maxes) + self.offset
def rectangle_to_state ( self , rectangles ) : rectangles = np . atleast_1d ( rectangles ) ijk_index = np . vstack ( np . unravel_index ( rectangles , self . num_points - 1 ) ) ijk_index = ijk_index . astype ( config . np_dtype ) return ( ijk_index . T * self . unit_maxes ) + self . offset