作业帮 > 综合 > 作业

高斯列主元消去法,求解齐次线性方程组的C语言实现

来源:学生作业帮 编辑:搜狗做题网作业帮 分类:综合作业 时间:2024/06/13 13:12:37
高斯列主元消去法,求解齐次线性方程组的C语言实现
RT
高斯列主元消去法,求解齐次线性方程组的C语言实现
C/C++ code #include #include #define N 20 int main() { int n,i,j,k; int mi,tmp,mx; float a[N][N],b[N],x[N]; printf("\nInput n:"); scanf("%d",&n); if(n>N) { printf("The input n should in(0,N)!\n");     getch();     return 1; } if(n