Rv = 1000
R1 = 100
C1 = 0.000000001
R2 = 100
L1 = 1000
R3 = 10000
U = 1/10
C = np.asarray([[C1, 0, 0], [0, 0, 0], [0, 0, 0]])
L = np.asarray([[0, 0, 0], [0, 1/L1, -1/L1], [0, -1/L1, 1/L1]])
G = np.asarray([[1/Rv + 1/R1, -1/R1, 0], [-1/R1, 1/R1 + 1/R2, 0], [0, 0, 1/R3]])
CL = np.asarray([[C1, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, -1/L1]])
GL = np.asarray([[1/Rv + 1/R1, -1/R1, 0, 0], [-1/R1, 1/R1 + 1/R2, 0, 1], [0, 0, 1/R3, -1], [0, 1, -1, 0]])
vectorE = np.asarray([[Rv*U, 0, 0]])
vectorE1 = np.asarray([[Rv*U, 0, 0, 0]])
w = 1
p = np.sqrt(-1+0j) * w
A1 = C*p + G + (1/p) * L
A2 = CL*p + GL
a_list = np.hsplit(A1,3)
cram_list = [a_list, vectorE.T]
print(cram_list[0][0])
Xn = np.hstack((cram_list[-1], cram_list[0][1], cram_list[0][2]))
UnYgPSAxMDAwClIxID0gMTAwCkMxID0gMC4wMDAwMDAwMDEKUjIgPSAxMDAKTDEgPSAxMDAwClIzID0gMTAwMDAKVSA9IDEvMTAKCgpDID0gbnAuYXNhcnJheShbW0MxLCAwLCAwXSwgWzAsIDAsIDBdLCBbMCwgMCwgMF1dKQpMID0gbnAuYXNhcnJheShbWzAsIDAsIDBdLCBbMCwgMS9MMSwgLTEvTDFdLCBbMCwgLTEvTDEsIDEvTDFdXSkKRyA9IG5wLmFzYXJyYXkoW1sxL1J2ICsgMS9SMSwgLTEvUjEsIDBdLCBbLTEvUjEsIDEvUjEgKyAxL1IyLCAwXSwgWzAsIDAsIDEvUjNdXSkKQ0wgPSBucC5hc2FycmF5KFtbQzEsIDAsIDAsIDBdLCBbMCwgMCwgMCwgMF0sIFswLCAwLCAwLCAwXSwgWzAsIDAsIDAsIC0xL0wxXV0pCkdMID0gbnAuY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