(self, indices)
return ijk_index * self.unit_maxes + self.offset
Convert indices to physical states.

        Parameters
        ----------
        indices : ndarray (int)
            The indices of points on the discretization.

        Returns
        -------
        states : ndarray
            The states with physical units that correspond to the indices.
Convert indices to physical states.
Convert indices to physical states .
def index_to_state(self, indices):
        """Convert indices to physical states.

        Parameters
        ----------
        indices : ndarray (int)
            The indices of points on the discretization.

        Returns
        -------
        states : ndarray
            The states with physical units that correspond to the indices.

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