<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def apply(self, matrix):
 		""" 		Slices the supplied matrix and applies any transform bound to this window 		"""

		view = matrix[ self.indices() ]
		return self.transform(view) if self.transform != None else view