#NEWLINE# def T_sigma( self , sigma ) : #NEWLINE# #INDENT# '\n        Given a policy `sigma`, return the T_sigma operator.\n\n        Parameters\n        ----------\n        sigma : array_like(int, ndim=1)\n            Policy vector, of length n.\n\n        Returns\n        -------\n        callable\n            The T_sigma operator.\n\n        ' #NEWLINE# ( R_sigma , Q_sigma ) = self . RQ_sigma ( Q_sigma ) #NEWLINE# return ( lambda v : ( R_sigma + ( self . beta * Q_sigma . dot ( v ) ) ) )