Documentation ¶
Overview ¶
Package permutations implements an interesting technique for generating the permutation of an array. This method was developed by Andrew Kensler, a researcher at Pixar, in his 2013 paper, Correlated Multi-Jittered Sampling.
reference: https://graphics.pixar.com/library/MultiJitteredSampling/paper.pdf further comments from: https://afnan.io/posts/2019-04-05-explaining-the-hashed-permutation/
Index ¶
Constants ¶
View Source
const ( Kensler = iota Naive Nil )
Variables ¶
This section is empty.
Functions ¶
func NewKensler ¶
NewKensler with l the desired size of the permutation vector
Types ¶
type Permutations ¶
Permutations is an interface satisfied by anything with a proper Shuffle method
Click to show internal directories.
Click to hide internal directories.