hashed-permutation 1.0.0

A fast, instant-access way to permute a range of numbers
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
# hashed-permutation

[![Build Status](https://dev.azure.com/afnanenayet/hashed-permutation/_apis/build/status/afnanenayet.hashed-permutation?branchName=master)](https://dev.azure.com/afnanenayet/hashed-permutation/_build/latest?definitionId=7&branchName=master)

## Synopsis

This is an implementation of Andrew Kensler's hashed permutation, which allows
you to take an array of the elements [0 ... n) and shuffle it with no memory
overhead and very little computational overhead. This works by using a clever
hash function to effectively permute all of the elements in the array.

You can find the paper here: https://graphics.pixar.com/library/MultiJitteredSampling/paper.pdf