三元组顺序表操作.pdfVIP

  • 5
  • 0
  • 约8.28千字
  • 约 5页
  • 2017-06-09 发布于河南
  • 举报
三元组顺序表操作

new 0 2014 7 18 23:48 年 月 日 #include stdio.h #include malloc.h #define MAXSIZE 100 #define M 15 typedef int ElemType; typedef struct { int row;//行 int col;//列 ElemType value; //数值 }Triple; typedef struct { Triple data[MAXSIZE]; int rows;//总行数 int cols;//总列数 int nums;//非零元素的总个数 }TSMatrix; TSMatrix* CreatSparse (TSMatrix* SparseMatrix) {

文档评论(0)

1亿VIP精品文档

相关文档