def RecurrenceOperators(base, generator):
 ring = RecurrenceOperatorAlgebra(base, generator)
 return (ring, ring.shift_operator)

def RecurrenceOperators ( base , generator ) : ring = RecurrenceOperatorAlgebra ( base , generator ) return ( ring , ring . shift_operator )
returns an algebra of recurrence operators and the operator for shifting i .