-
十字链表是这样构成的:用链表模拟矩阵的行(或者列,这可以根据个人喜好来定),然后,再构造代表列的链表,将每一行中的元素节点插入到对应的列中去。书中为了少存几个表...
十字链表是这样构成的:用链表模拟矩阵的行(或者列,这可以根据个人喜好来定),然后,再构造代表列的链表,将每一行中的元素节点插入到对应的列中去。书中为了少存几个表头节点,将行和列的表头节点合并到了一起――实际只是省了几个指针域,如果行和列数不等,多余的数据域就把这点省出的空间又给用了。这点小动作让我着实废了半天劲,个人感觉,优点不大,缺点不少,不如老老实实写得象个十字链表,让人也好看一些,这是教科书,目的是教学。实在看得晕的人,参阅C版的这部分内容,很清晰。我也不会画图,打个比方吧:这个十字链表的逻辑结构就像是一个围棋盘(没见过,你就想一下苍蝇拍,这个总见过吧),而非零元就好像是在棋盘上放的棋子,总共占的空间就是,确定那些线的表头节点和那些棋子代表的非零元节点。最后,我们用一个指针指向这个棋盘,这个指针就代表了这个稀疏矩阵-Crusaders is the form : Chain Simulation matrix rows (or out, This can be based on individual preferences to be), and then constructed on behalf of the chain out, Each line of the elements inserted into the node corresponding to the series. To book a few small depositors table first node, out of line and the first node table to merge together-- the reality is that a number of indicators provincial jurisdictions, if the number of rows and columns ranging, redundant data domain put this province has granted the use of the space. This little trick I did waste a half-day efforts, personal feeling, not merit, a lot of shortcomings,
- 2022-03-13 05:45:31下载
- 积分:1
-
First, the problem Description: The number of polynomial input and stored in mem...
一、问题描述:将多个多项式输入并存储在内存中,然后对多项式进行加,减,乘等基本运算。
二、实行数据方法:用单链表来储存多项式,每个节点存储一项-First, the problem Description: The number of polynomial input and stored in memory, and then make additions to the polynomial, subtraction, multiplication and other basic computing. Second, the implementation of data Methods: Single-Linked List to store polynomials, each node storing a
- 2022-01-26 20:27:48下载
- 积分:1
-
ADO DataReport操作师范.好东西。
ADO DataReport操作师范.好东西。-ADO DataReport Normal operation. Good thing.
- 2022-03-16 10:21:10下载
- 积分:1
-
C语言实现的高考成绩系统.请大家指正
C语言实现的高考成绩系统.请大家指正
-C language to achieve the SAT system. Please correct me
- 2022-03-21 06:17:00下载
- 积分:1
-
电压输出设计,AT89C51,DAC0808,把某一特定电压转成指定电压输出,输出电压通过键盘输入即可调...
电压输出设计,AT89C51,DAC0808,把某一特定电压转成指定电压输出,输出电压通过键盘输入即可调
- 2023-06-07 10:50:04下载
- 积分:1
-
Spring+MyBatis基础框架
省去每次都要搭载框架的烦烦恼
- 2023-08-10 00:50:02下载
- 积分:1
-
基于多孔算法的图像边缘检测编码,matlab 6.5,7.0都可用
基于多孔算法的图像边缘检测编码,matlab 6.5,7.0都可用-Trous algorithm based on image edge detection coding, matlab 6.5,7.0 are available
- 2022-05-04 23:42:37下载
- 积分:1
-
s3c2440a完整USB驱动,wince源码,可安装使用,也可参照学习
s3c2440a完整USB驱动,wince源码,可安装使用,也可参照学习-s3c2440a integrity of the USB driver, wince source, can be installed to use, but also the light of learning
- 2022-03-18 01:56:03下载
- 积分:1
-
指纹识别系统设计时利用频域傅里叶进行频域增强的一段程序...
指纹识别系统设计时利用频域傅里叶进行频域增强的一段程序-Fingerprint identification system designed for the use of frequency-domain Fourier frequency domain a period of enhanced procedures
- 2022-08-16 23:32:19下载
- 积分:1
-
这时一个很不错的关于网路财务系统的一个小程序,采用java编写,很值得研究...
这时一个很不错的关于网路财务系统的一个小程序,采用java编写,很值得研究-a very good time on the Internet financial system in a small procedure, prepared using java, is worth studying
- 2022-12-16 18:05:03下载
- 积分:1