摘要: //矩阵快速幂: struct matrix { int n,m; int z[233][233]; matrix() { n=m=0; memset(z,0,sizeof(z)); } }; matrix operator*(const matrix &a,const matrix &b) { m 阅读全文
posted @ 2020-03-20 21:55 Allen_lml 阅读(234) 评论(0) 推荐(1) 编辑
摘要: 算法分析 如果给定一个形如以下式子的多元方程式 \begin{cases} 2x+y-z=8\\ -3x-y+2z=11\\-2x+y+2z=-1\end{cases}⎩⎪⎨⎪⎧​2x+y−z=8−3x−y+2z=11−2x+y+2z=−1​ 我们要首先提出各项的系数 因为我们知道,高斯消元其实只跟 阅读全文
posted @ 2020-03-20 19:50 Allen_lml 阅读(154) 评论(0) 推荐(1) 编辑