TorchBicop.hinv2
- TorchBicop.hinv2(u, x=None)
Inverts hfunc2 w.r.t. the first argument.
Given
u = [p, u2], returnsu1such thatH2(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 isu2.- xTensor or None, optional
Conditioning variables, shape
(n, k). Ignored byTorchBicop(an unconditional pair copula); accepted so the class satisfies theBicopLikecontract.
- Returns:
- Tensor, shape (n,), dtype float
u1values in[0, 1].