feynlag.vacuum.diagonalize.diagonalize_takagi¶
- feynlag.vacuum.diagonalize.diagonalize_takagi(M, old_fields=None, new_fields=None, method='auto', dps=50)[source]¶
Takagi factorization of a (real) symmetric Majorana mass matrix.
Returns
(U, D)withM = U D UᵀandDdiagonal non-negative: a real orthogonal diagonalization with factors ofiabsorbing negative eigenvalues (the standard Majorana phase convention).- Parameters:
method –
"symbolic"diagonalizes exactly through SymPy’sMatrix.diagonalize(eigenvalue order as SymPy returns it)."numeric"uses mpmath’s symmetric eigensolver atdpsdigits and orders the columns by increasing mass; it needs a real matrix without free symbols."auto"(default) is numeric for a numeric matrix larger than 2×2 and symbolic otherwise — the exact route stalls on a genericN > 2matrix (its characteristic polynomial has no usable closed-form roots; a generic 5×5 seesaw does not finish), while the numeric one is instant. Numerically, an eigenvalue below10^-dpsof the largest is an exact zero mode (D = 0, no phase).dps – working precision of the numeric route. It must be high: a seesaw spectrum spans ~14 orders of magnitude, so double precision would lose the light states entirely.
If
old_fields/new_fieldsare given, also returns the corresponding unitaryRotation(new = U† old) as third element.