QR分解法求矩阵的逆实用.pdfVIP

  • 119
  • 0
  • 约5.21千字
  • 约 6页
  • 2021-11-21 发布于福建
  • 举报
QR 分解法求矩阵的逆 #includestdio.h #includestdlib.h #include math.h #define M 20 void set(long double* a,int a_line,int a_row,int i,long double* b,int size) { long double* m=b; if(a_line!=size) { printf(can not set\n); exit(0); } else { for(int k=0;ka_line;k++) { *(a+i+k*a_row)=*(m++); } } } long double* function2(long double* a,int a_size,long double l){ long double* temp=a; for(int k=0;ka_size;k++) { *(temp++)*=l; } re

文档评论(0)

1亿VIP精品文档

相关文档