游客已登陆 (0)未知
笔行证 257310
昵称 kuan 
笔贝 Score1
加为好友 发送短信
<< << 2008 十一月 >> >>
1
2345678
9101112131415
16171819202122
23242526272829
30

访问计数:23526
本文:234 今天:1 本月 106

本地音乐播放器



 
       稀疏矩阵带行指针向量链接存储
2007-04-12 晴



struct TripleNode
{
int row, col;
ElemType val;
TripleNode *next;
};

struct LMatrix
{
int m,n,t;
TripleNode *Vector[MaxRows+1];//m个行单链表的表头指针,期中第0个分量未用
};

void InitMatrix(LMatrex &M)
{
M.m=0;
M.n=0;
M.t=0;
for(int i=1; i<= MaxRows; i++)
M.vector = NULL;
}.
# posted by kuan @ 2007-04-12 12:57:21 评论(0)
 








 
笔 名:
*
评 论:
最多1000字。当前字数:0
*
联系方式: