Aardvark.Base


Quasi

Static members

Static memberDescription
QuasiHalton(inverse_base, value)
Signature: (inverse_base:float * value:float) -> float

Generates a new number in the halton sequence with the given inverse base, and the previous number in the sequence.

This is the incremental version to generate the halton squence of quasi-random numbers of a given base. It has been taken from:

A. Keller: Instant Radiosity, In Computer Graphics (SIGGRAPH 97 Conference Proceedings), pp. 49--56, August 1997.

As a small optimization, the inverse of the base is used.

QuasiHaltonWithIndex(index, value)
Signature: (index:int * value:float) -> float

Generates a new number in the halton sequence with the 'index'th prime as base.

Fork me on GitHub