-->
当前位置:首页 > 题库

单选题:A tri-diagonal matrix is a square matrix with nonzero elements o

Luz5年前 (2021-05-10)题库1191
A tri-diagonal matrix is a square matrix with nonzero elements only on the diagonal and slots horizontally or vertically adjacent the diagonal, as shown in the figure.


![NumberedEquation1.png](~/2a0e055a-59e1-4854-9c75-84572f0c1781.png)

Given a tri-diagonal matrix (三对角矩阵) $$M$$ of order 100. Compress the matrix by storing its tri-diagonal entries $$m_{i,j}$$ ($$1\le i\le 100$$,$$1\le j\le 100$$) row by row into a one dimensional array $$N$$ with indices starting from 0. Then the index of $$m_{30,30}$$ in $$N$$ is:
@[B](2)

A. 86
B. 87
C. 88
D. 89



A.86
B.87
C.88
D.89


答案:B