z_to_y_matrix(z_matrix)
Convert a Z-matrix (impedance matrix) to a Y-matrix (admittance matrix).
Uses the formula: Y = Z^(-1)
Args
Returns
YMatrix: The converted admittance matrix.