(self, discretization, vertex_values=None)
Initialization, see `PiecewiseConstant`.
Initialization, see `PiecewiseConstant`.
Initialization see PiecewiseConstant .
def __init__(self, discretization, vertex_values=None):
        """Initialization, see `PiecewiseConstant`."""
        super(PiecewiseConstant, self).__init__()

        self.discretization = discretization
        self._parameters = None
        self.parameters = vertex_values

        self.input_dim = discretization.ndim
def __init__ ( self , discretization , vertex_values = None ) : super ( PiecewiseConstant , self ) . __init__ ( ) self . discretization = discretization self . _parameters = None self . parameters = vertex_values self . input_dim = discretization . ndim