digitalnet.implementation

Undocumented in source.

Members

Aliases

DimensionF2
alias DimensionF2 = Typedef!(size_t, 0, "dimB")
DimensionR
alias DimensionR = Typedef!(size_t, 0, "dimR")
LinearScramble
alias LinearScramble = Tuple!(size_t[], size_t)
Precision
alias Precision = Typedef!(size_t, 0, "prec")

Functions

changeVectorOfBasis
DigitalNet!(U, Size) changeVectorOfBasis(DigitalNet!(U, Size) P)

Obtain another digital net Q from a digital net P where dim P = 1 + dim(P cap Q) = dim Q.

getDimensionF2
immutable(size_t) getDimensionF2(DimensionF2 m)
Undocumented in source. Be warned that the author may not have intended to support it.
getDimensionR
immutable(size_t) getDimensionR(DimensionR s)
Undocumented in source. Be warned that the author may not have intended to support it.
getPrecision
immutable(size_t) getPrecision(Precision n)
Undocumented in source. Be warned that the author may not have intended to support it.
partialShuffleBasis
void partialShuffleBasis(U[][] basis)

Partially shuffle a sequence of vectors.

randomDigitalNet
DigitalNet!U randomDigitalNet(Precision precision, DimensionR dimensionR, DimensionF2 dimensionF2)

Construct a digital net by uniform random choice of its basis.

randomDigitalShift
auto randomDigitalShift(S P)
U[] randomDigitalShift(Precision precision, DimensionR dimensionR)

Uniformly and randomly pick a digital shift.

randomLinearScramble
auto randomLinearScramble(S P)

Uniformly and randomly pick a linear scramble.

shuffle
DigitalNet!(U, Size) shuffle(DigitalNet!(U, Size) P)

Shuffle the basis of a digital net.

shuffleBasis
void shuffleBasis(U[][] basis)

Shuffle a sequence of vectors.

toDigitalNet
DigitalNet!U toDigitalNet(const(char)[] x)

Read a digital net from a string.

toShiftedDigitalNet
ShiftedDigitalNet!U toShiftedDigitalNet(const(char)[] x)

Read a digitally shifted digital net from a string.

Mixin templates

DigitalNetFunctions
mixintemplate DigitalNetFunctions(U, Size)

Structs

DigitalNet
struct DigitalNet(U = uint, Size = GreaterInteger!U)

A digital net.

ShiftedDigitalNet
struct ShiftedDigitalNet(U = uint, Size = GreaterInteger!U)

A digitally shifted digital net.

Templates

GreaterInteger
template GreaterInteger(U)

Meta