BicopBase.simulate

BicopBase.simulate(n, *, x=None, qrng=False, seeds=None)

Draw n samples via the pair’s inverse Rosenblatt transform.

Draws two independent uniforms (w1, w2) from _simulate_uniform and returns (w1, hinv1([w1, w2], x)), so the pair carries its fitted dependence.

Parameters:
nint

Number of samples to draw.

xarray, shape (n, k), or None, optional

Conditioning variables (one row per sample) for a conditional draw.

qrngbool, default=False

Draw quasi-random base uniforms instead of pseudo-random ones.

seedslist of int or None, optional

RNG seeds forwarded to _simulate_uniform.

Returns:
array, shape (n, 2), dtype float

Samples in the unit square.