Relationship between Maxwell Matrix and Spice Matrix for 2D Extractor
Because there are two different expressions for the same thing, the entries of the Maxwell matrix and Spice capacitance matrices can relate to each another.
Matching the coefficients of the voltages results in:
(1)CMi,i = CSi,0 + CSi,1 + CSi,2 + ... + CSi,N-1
(2)CMi,j = - CSi,j (for i not equal to j)
So the off-diagonal entries of the Maxwell capacitance matrix (which are generally negative) are the opposite of the off-diagonal entries of the Spice capacitance matrix (which are positive.) And the main-diagonal entries of the Maxwell matrix are the sum across an entire row of the Spice capacitance matrix.
Alternatively, you could express the grounded capacitor in the Spice matrix as the sum across a whole row of the Maxwell capacitance matrix:
CSi,0 = CMi,1 + CMi,2 + ... + CMi,N
Since the off-diagonal entries of the Maxwell matrix are negative, the diagonal entry of the Spice matrix is generally smaller than the diagonal entry of the Maxwell matrix. It can even go to zero if the conductor is well shielded from the ground at infinity.