• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2013, Vol. 35 ›› Issue (11): 134-138.

• 论文 • Previous Articles     Next Articles

Storage and computation of sparse
matrix based on Huffman coding               

XU Bin-bin,DAI Qing-ping,ZHU Min,XIE Duan-qiang   

  1. (School of Science,National University of Defense Technology,Changsha 410073,China)
  • Received:2013-06-14 Revised:2013-10-11 Online:2013-11-25 Published:2013-11-25

Abstract:

In scientific computing, Sparse Matrix Vector Product (SMVP) is an important calculation kernel, and its efficiency is mainly determined by the storage model and the corresponding SMVP algorithm. For the sake of obtaining better performance in the storage model of sparse matrix, based on the Huffman coding, we optimize the BCRS(Block Compressed Row Storage) method so as to reduce the storage of redundant zeros to some extent. And propose the corresponding SMVP algorithm. Theoretical analysis and experiments show that the new Huffman coding based BCRS method outperforms the two traditional BCRS methods in data complexity.

Key words: Huffman coding;block compressed row storage;sparse matrix vector product