(self)
return self._all_points
Return all the discrete points of the discretization.

        Returns
        -------
        points : ndarray
            An array with all the discrete points with size
            (self.nindex, self.ndim).
Return all the discrete points of the discretization.
Return all the discrete points of the discretization .
def all_points(self):
        """Return all the discrete points of the discretization.

        Returns
        -------
        points : ndarray
            An array with all the discrete points with size
            (self.nindex, self.ndim).

        """
        if self._all_points is None:
            mesh = np.meshgrid(*self.discrete_points, indexing='ij')
            points = np.column_stack(col.ravel() for col in mesh)
            self._all_points = points.astype(config.np_dtype)

        return self._all_points
def all_points ( self ) : if self . _all_points is None : mesh = np . meshgrid ( * self . discrete_points , indexing = 'ij' ) points = np . column_stack ( col . ravel ( ) for col in mesh ) self . _all_points = points . astype ( config . np_dtype ) return self . _all_points