Skip to content
class

PositiveDefiniteTransform

extendsTransform
PositiveDefiniteTransform()

Map from unconstrained matrices to symmetric positive-definite matrices.

Applies LowerCholeskyTransform to obtain a lower-triangular Cholesky factor LL with positive (exp-mapped) diagonal and returns Y=LL⊤Y = L L^\top. event_dim = 2. Only the lower triangle of the input is read, so the map is registered with transform_to and not biject_to, as in the reference framework.

Used by 2

Instance methods

1
fn

log_abs_det_jacobian

→Tensor
log_abs_det_jacobian(x: Tensor, y: Tensor)

Log-Jacobian combining LowerCholeskyTransform and L↦LL⊤L \mapsto L L^\top.