torch.linalg.ldl_solve
torch.linalg.ldl_solve(LD, pivots, B, *, hermitian=False, out=None) -> Tensor
Computes the solution of a system of linear equations using the LDL
   factorization.
"LD" and "pivots" are the compact representation of the LDL
   factorization and are expected to be computed by
   "torch.linalg.ldl_factor_ex()". "hermitian" argument to this
   function should be the same as the corresponding arguments in
   "torch.linalg.ldl_factor_ex()".
Supports input of float, double, cfloat and cdouble dtypes. Also
   supports batches of matrices, and if "A" is a batch of matrices
   then the output has the same batch dimensions.
Warning:
 This function is "experimental" and it may change in a future
 PyTorch release.

Parameters:
      * LD (Tensor) -- the n times n matrix or the batch of
        such matrices of size (, n, n)* where *** is one or more
        batch dimensions.