矩陣快速冪的總結

矩陣乘法:(方陣n*n) struct stu{ int arr[3][3]; }; stu mul(stu x,stu y){//這裏一定是x × y不能相反 stu a; memset(a.arr,0,sizeof(a.arr)); for(int i=0;i<n;i++) for(int j=0;j<n;j++)
相關文章
相關標籤/搜索