(self, lb, ub)
Construct bounded volumes.

        :param lb: the lowerbounds of the volumes
        :param ub: the upperbounds of the volumes
Construct bounded volumes.
Construct bounded volumes .
def __init__(self, lb, ub):
        """
        Construct bounded volumes.

        :param lb: the lowerbounds of the volumes
        :param ub: the upperbounds of the volumes
        """
        super(BoundedVolumes, self).__init__()
        assert np.all(lb.shape == ub.shape)
        self.lb = DataHolder(np.atleast_2d(lb), 'pass')
        self.ub = DataHolder(np.atleast_2d(ub), 'pass')
def __init__ ( self , lb , ub ) : super ( BoundedVolumes , self ) . __init__ ( ) assert np . all ( lb . shape == ub . shape ) self . lb = DataHolder ( np . atleast_2d ( lb ) , 'pass' ) self . ub = DataHolder ( np . atleast_2d ( ub ) , 'pass' )