Feedback shift register (source code)

= Feedback shift register
{wiki}

A feedback shift register updates a finite state by shifting its stored symbols and inserting the value of a feedback function of the previous state. The feedback function need not be linear.