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

feat: adding shuffle example #33

Merged
merged 1 commit into from
Sep 4, 2024
Merged

feat: adding shuffle example #33

merged 1 commit into from
Sep 4, 2024

Conversation

manel1874
Copy link
Member

New Nada Example

Description

This PR adds an example on shuffling based on the implementation from nada-numpy. The implementation from nada-numpy only supports arrays with a power of tw size.

Describe the example you are adding. Provide a clear and concise summary of what the example does, its purpose, and the problem it solves.

Use Case

Card games and games in general require shuffling a vector.

Related Issues

It is an initial attempt for the oblivious shuffling issue #27. However, this should be extended to support any array.

Optional: add your information for a Nada by Example Contributor POAP

Your Twitter:
Your Ethereum address:

@oceans404 oceans404 merged commit 7bb25b7 into main Sep 4, 2024
1 check passed
@oceans404 oceans404 deleted the shuffle_example branch September 4, 2024 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants