平方根法 乔累斯基分解Cholesky_解线性方程组的直接解法
标签:计算方法实验
#include <stdio.h>
#include <math.h>
const int maxn = 15;
int main(){
double a[maxn][maxn], b[maxn], y[maxn], x[maxn], l[maxn][maxn];
int n, sum;
freopen("sqrt.txt", "r", stdin);
scanf("%d", &n);
for(int i = 1; i <= n; i++){