#NEWLINE# def _eval_coeff( self , pt ) : #NEWLINE# #INDENT# if ( self . start is S . NegativeInfinity ) : #NEWLINE# #INDENT# idx = ( ( self . stop - pt ) % self . period ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# idx = ( ( pt - self . start ) % self . period ) #NEWLINE# #UNINDENT# return self . periodical [ idx ] . subs ( self . variables [ 0 ] , pt )