文件名称:ysq
介绍说明--下载内容均来自于网络,请自行研究使用
.按照压缩存储的概念,只存储稀疏矩阵的非零元,以两个三元组{i,j,e}来表示矩阵的非零元的行,列和数值,就确定了一个非零元.由此,稀疏矩阵可由表示非零元的三元数组及行列数确定. 2.用户输入数据作为三元组的行,列和非零元的个数,用逗号隔开.并输入非零元的行,列和数值. 3.本程序只对两个矩阵进行四则运算,所的结果矩阵应该另生成,用二维数组存放,并放入新的矩阵-. In accordance with the concept of compressed storage, only the sparse matrix storage of non-zero element to the two triples (i, j, e) to indicate the non-zero matrix element of the rows, columns and numerical, on the identification of a non-zero element. Thus, sparse matrix can be expressed non-zero element of the ternary array and determine the ranks of a few. 2. User input data as triples of rows, columns and the number of non-zero element, separated by commas. And enter the non-zero element of the rows, columns and numerical. 3. This procedure only for two four matrix computation, the results matrix should be another generation, with two-dimensional array of storage and placed in a new matrix
(系统自动生成,下载前可以参看下载内容)
下载文件列表
新建 文本文档.txt