.每個元素個二進制位主存字長位故每個元素占個字長行下標可平移至到
() () ()s+ ()s+
. 公式
+L (設每個元素占L個存儲單元)
數組占的存儲字節數=***=A[]的存儲地址=+[**+*+]*=
五對角矩陣按行存儲元素在一維數組中下標(從開始)k與ij的關系如下:
A[]是第個元素在向量[:m]中的存儲位置是
[] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
From:http://tw.wingwit.com/Article/program/sjjg/201311/23048.html