(self)
return np.all((-1 <= self.points) & (self.points <= 1))
Are all points inside the domain or on its boundary?
Are all points inside the domain or on its boundary?
Are all points inside the domain or on its boundary?
def points_inside_or_boundary(self):
        """Are all points inside the domain or on its boundary?"""
        return np.all((-1 <= self.points) & (self.points <= 1))
def points_inside_or_boundary ( self ) : return np . all ( ( - 1 <= self . points ) & ( self . points <= 1 ) )