<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def restrict(self, point):
 """Apply the ``restrict`` method to all functions. Returns a new farray. """

        items = [f.restrict(point) for f in self._items]
        return self.__class__(items, self.shape, self.ftype)