Skip to content

feat: adding shuffle example#33

Merged
oceans404 merged 1 commit intomainfrom
shuffle_example
Sep 4, 2024
Merged

feat: adding shuffle example#33
oceans404 merged 1 commit intomainfrom
shuffle_example

Conversation

@manel1874
Copy link
Copy Markdown
Contributor

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:

@manel1874 manel1874 requested a review from oceans404 September 4, 2024 16:20
@oceans404 oceans404 merged commit 7bb25b7 into main Sep 4, 2024
@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