数学数值消元本页总览消元 {a1,1x1+a1,2x2+…+a1,nxn=a1,n+1a2,1x1+a2,2x2+…+a2,nxn=a2,n+1…an,1x1+an,2x2+…+an,nxn=an,n+1\begin{cases} a_{1,1} x_1 + a_{1,2} x_2 + \ldots + a_{1,n} x_n = a_{1,n+1} \\ a_{2,1} x_1 + a_{2,2} x_2 + \ldots + a_{2,n} x_n = a_{2,n+1} \\ \ldots \\ a_{n,1} x_1 + a_{n,2} x_2 + \ldots + a_{n,n} x_n = a_{n,n+1} \\ \end{cases}⎩⎨⎧a1,1x1+a1,2x2+…+a1,nxn=a1,n+1a2,1x1+a2,2x2+…+a2,nxn=a2,n+1…an,1x1+an,2x2+…+an,nxn=an,n+1 参考资料 高斯消元 - OI Wiki 算法对比