spd_learn.functional.pcm_inv_coords#

spd_learn.functional.pcm_inv_coords(Z: Tensor, theta: float = 0.5, eps: float = 1e-06) → Tensor[source]#

Reconstruct SPD matrix from deformed Power-Cholesky coordinates.

Parameters:
  • Z (torch.Tensor) – Deformed coordinates of shape (…, n, n).

  • theta (float, default=0.5) – Power deformation parameter (\(\theta \neq 0\)).

  • eps (float, default=1e-6) – Numerical floor for clamping before power.

Returns:

Reconstructed SPD matrix of shape (…, n, n).

Return type:

torch.Tensor