/src/main/java/net/finmath/randomnumbers/HaltonSequence.java
index /= base; factor /= base;
factor /= base; index /= base;
public static double getHaltonNumberForGivenBase(long index, final int base) { index += 1; double x = 0.0; double factor = 1.0 / base; while(index > 0) { x += (index % base) * factor; <extra_id_0> } return x; } }