当前位置:网站首页>Matrix transpose of C language test question 170

Matrix transpose of C language test question 170

2022-06-09 22:18:00 Maserati

Personal home page : Personal home page
Series column :C Language test questions 200 example
Recommend a brush algorithm 、 written examination 、 Face the 、 Nada Corporation offer Artifact Click jump to enter the website
Author's brief introduction : Hello everyone , I'm Maserati ,CSDN Blogger ( Ranking of the whole station Top 50), Alibaba cloud blog expert 、51CTO Blogger 、 Huawei cloud sharing expert

1、 subject

subject : Let a matrix be m×n rank ( namely m That's ok n Column ), The first i That's ok j The element of the column is a(i,j), The matrix needs to be transposed to n×m Matrix of order , Make the elements satisfy b(j,i)=a(i,j).

analysis :
From the knowledge of Mathematics , Wrap all the elements of the first matrix around the lower right corner starting from the first row and first column 45° We're going to do a mirror reversal of the X-ray , The transpose of the matrix is obtained .






2 、 reminder

 Please add a picture description


Want more C Please rub the language questions here ==========》

原网站

版权声明
本文为[Maserati]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/160/202206092135275966.html