TorchBicop.hinv2

TorchBicop.hinv2(u, x=None)

Inverts hfunc2 w.r.t. the first argument.

Given u = [p, u2], returns u1 such that H2(u1, u2) = p. See hinv1 for the cache vs. closed-form semantics.

Parameters:
uTensor, shape (n, 2), dtype float

Column 0 is the target probability p; column 1 is u2.

xTensor or None, optional

Conditioning variables, shape (n, k). Ignored by TorchBicop (an unconditional pair copula); accepted so the class satisfies the BicopLike contract.

Returns:
Tensor, shape (n,), dtype float

u1 values in [0, 1].