设矩阵A是一个对称矩阵,a 11 是A的首元素,为了节省空间,将其下三角部分按行优先存放在一维数组B中,b 1 是的首元素。对下三角矩阵中素a ij (i>=j),在一维数组B中下标k的值是( )。
A.
i(i-1)/2+j-1
B.
i(i-1)/2+j
C.
i(i+1)/2+j-1
D.
i(i+1)/2+j
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【简答题】阅读理解 We surveyed(调查) 300 young people on what they like to do at weekends. One hundred people are from the ages of 11-18, one hundred 19-26 and one hundred 27-35. The above shows their answers: 1. How...
【简答题】Do you know what kind of things the young people are reading. More and more 26 and parents have noticed another kind of pollution, which came from the printed papers 27 on streets. These printed thing...
【简答题】We surveyed 300 young people on what they like to do at weekends. One hundred people are from the ages of 11-18, one hundred 19-26 and one hundred 27-35. The following shows their answers: 小题1:The peo...