.將上面題的等式進一步整理為
k=(n+/)ii/+jn
則得f(i)=(n+/)ii/f(j)=jc=n
()將對稱矩陣對角線及以下元素按行序存入一維數組中結果如下
()因行列表頭的行列域值用了和下面十字鏈表中行和列下標均從開始
注上側列表頭Hi和左側行表頭Hi是一個(即HHH和H)為了清楚畫成了兩個
[] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] [] []
From:http://tw.wingwit.com/Article/program/sjjg/201311/23056.html