A complex-symmetric LDL^T factor without pivoting (blocked, NumPy): the
reference for a GPU version and the trial of whether one preconditions
mom25d's matrices (tools/mom25d_ldl_trial.py).
MoM's Z is complex symmetric (Z = Z^T, not Hermitian), so Z = L D L^T with L
unit lower triangular and D diagonal holds half of an LU's numbers and takes
half its work. Without pivoting it relies on the equilibrated matrix's
diagonal (the fill's self terms dominate each row); the mixed-precision
refinement (GMRES on the exact operator) corrects what a complex64 factor
loses, as it does for the LU.
F = factor(A) # A: (n, n) complex, symmetric; overwritten
x = solve(F, b) # (n,) or (n, k)
factor raises ZeroDivisionError on a zero pivot (no pivoting to go round it).