资 源 简 介
程序:全主元Gauss消去法
过程:gaussq(aa,bb,xx,n,sgn)
作用:aa为系数矩阵,bb为右端向量,xx为解向量,n为方程阶数,sgn为标识符,1表示计算正常进行,0表示计算失败
方程形式为:aa(n,n)*x(n)=bb(n)-Procedure: All the main element Gauss elimination process: gaussq (aa, bb, xx, n, sgn) Role: aa for the coefficient matrix, bb for the right-hand side vector, xx for the solution vector, n the order of the equation, sgn as identifiers, 1 indicates the calculation as normal, 0 indicates failure of the calculation equation of the form: aa (n, n)* x (n) = bb (n)