查看完整版本: 資結問題
頁: [1]

gtootg33 發表於 2012-10-23 11:44 PM

資結問題

A tri-diagonal array ARR is an array in where A = 0 if the absolute value of i-j is greater than 1.


(1) What is the maximum number of nonzero elements in such array?
(2) If these elements in the band formed by these three diagonals are stored rowwise in memory, obtain an addressing formula for accessing A, where|i-j|<=1.

可以跟我說一下題意跟解法嗎??
<div></div>
頁: [1]