import { radical_inverse_VdC_base_2 } from "./radical_inverse_VdC_base_2.js";

/**
 *
 * @param {number[]|Float32Array|Float64Array} output
 * @param {number} output_offset
 * @param {number} i
 * @param {number} N sequence size
 */
export function hammersley_sequence_2d(
    output, output_offset,
    i, N
) {

    output[output_offset] = i / N;
    output[output_offset + 1] = radical_inverse_VdC_base_2(i);
}

