Solve the symmetric positive-definite system S X = B via Cholesky
factorisation. S (n×n, row-major) is a ridge-regularised normal-equations
matrix XᵀX + εI, which is positive-definite for any ε > 0; B is n×m,
row-major. Returns X (n×m, row-major).
Build the multivariate-autoregressive spectral matrix
A(f) = I − Σ_{k=0}^{order−1} A_{k+1} · e^{−i2πf(k+1)} at normalised
frequency f ∈ [0, 0.5), from the row-major VAR coefficient stack beta
((order·d) × d). Block k is transposed on the fly:
coeff_block.T[i, j] = beta[k·d + j, i]. A(f) is a general complex,
non-Hermitian matrix.
Invert the MVAR spectral matrix A(f) to the transfer function H(f) = A(f)⁻¹
via LU factorisation, returning None when A(f) is numerically singular
(|det A(f)| < 1e-30).