(self, points)
return np.broadcast_to(0, (len(points), self.input_dim))
Return the gradient.

        The gradient is always zero for piecewise constant functions!

        Parameters
        ----------
        points : ndarray
            The points at which to evaluate the function. One row for each
            data points.

        Returns
        -------
        gradient : ndarray
            The function gradient at the points.
Return the gradient.
Return the gradient .
def gradient(self, points):
        """Return the gradient.

        The gradient is always zero for piecewise constant functions!

        Parameters
        ----------
        points : ndarray
            The points at which to evaluate the function. One row for each
            data points.

        Returns
        -------
        gradient : ndarray
            The function gradient at the points.

        """
        return np.broadcast_to(0, (len(points), self.input_dim))
def gradient ( self , points ) : return np . broadcast_to ( 0 , ( len ( points ) , self . input_dim ) )