Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rotation generator #99

Open
Bender250 opened this issue Aug 20, 2018 · 1 comment
Open

Rotation generator #99

Bender250 opened this issue Aug 20, 2018 · 1 comment

Comments

@Bender250
Copy link
Collaborator

Bender250 commented Aug 20, 2018

Idea of new generator (processing).

It has given bit-length l. It generates all l binary rotation of the input. Implement following "python pseudocode"...

next():
    while True:
        _data = _source.next()
        for _ in range(l):
            circular_rotation_left(_data, 1)
            yield _data
@Bender250
Copy link
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant