TorchBicop.pdf

TorchBicop.pdf(u, x=None)

Evaluates the bivariate copula density c(u1, u2).

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

Pseudo-observations in [0, 1]^2. Inputs outside the unit square are clamped to [1e-10, 1 - 1e-10]; NaN propagates through the interpolation.

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

Density values, clamped to a strictly-positive floor of 1e-20.