登录
首页 » 数据结构 » 题目:稀疏矩阵是指那些多数元素为0的矩阵.利用稀疏特点进行存储和计算可以大大节省存储空间,提高计算效率.实现一个能进行稀疏矩阵基本运算的运算器.基本要求:以带行...

题目:稀疏矩阵是指那些多数元素为0的矩阵.利用稀疏特点进行存储和计算可以大大节省存储空间,提高计算效率.实现一个能进行稀疏矩阵基本运算的运算器.基本要求:以带行...

于 2022-05-29 发布 文件大小:9.90 kB
0 264
下载积分: 2 下载次数: 1

代码说明:

题目:稀疏矩阵是指那些多数元素为0的矩阵.利用稀疏特点进行存储和计算可以大大节省存储空间,提高计算效率.实现一个能进行稀疏矩阵基本运算的运算器.基本要求:以带行逻辑连接信息的3元组顺序表表示稀疏矩阵,实现两个矩阵相加,相减和相乘的运算.矩阵的输入形式采用3元组表示,而运算结果的矩阵则以通常的阵列形式列出.概要设计:1.以带行逻辑连接信息的3元组顺序表表示稀疏矩阵2.本程序包含2个模块:(1) 各集合定义模块(2) 主程序模块-topics : sparse matrix refers to those elements for most of the matrix 0. Using sparse features storage and computation can be greatly reduced storage space and improve computational efficiency. One can achieve for sparse matrix operations basic computing device. Basic requirements : OK logical connection with the three yuan Information Group the order said the sparse matrix table to achieve two matrices together, subtract and multiply arithmetic. Matrix entry forms using three yuan Group said, and the results of the matrix operations while the usual array listed. summary of design : 1. in line with the logic of information linking the three element group said sparse chronology matrix 2. this program contains two modules : (1) Set module (2) main program module

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 求最大公约数和最小公倍数的程序,输入两个数,能求出最大公约数和最小公倍数...
    求最大公约数和最小公倍数的程序,输入两个数,能求出最大公约数和最小公倍数-seek common denominator and implements procedures to import two few, the common denominator can be obtained and implements
    2022-02-11 22:12:42下载
    积分:1
  • Prim algorithm using minimum spanning tree of the experimental procedures used i...
    用prim算法实验最小生成树 本程序中用到函数adjg( ),此函数作用是通过接受输入的点数和边数,建立无向图。函数prg( )用于计算并输出无向图的邻接矩阵。函数prim( )则用PRIM算法来寻找无向图的最小生成树 定义了两个数组lowcost[max],closest[max],若顶点k加入U中,则令lowcost[k]=0。 定义二维数组g[ ][ ]来建立无向图的邻接矩阵。 -Prim algorithm using minimum spanning tree of the experimental procedures used in function adjg (), this function is through the acceptance of input points and edges, the establishment of a directed graph. Function of prg () used to calculate and output undirected graph of adjacency matrix. Function prim () is used PRIM Algorithm to find the undirected graph of the minimum spanning tree array defines two lowcost [max], closest [max], if it joined the U of k vertices, then the lowcost [k] = 0. The definition of two-dimensional array g [] [] to create a undirected graph of adjacency matrix.
    2022-03-16 20:21:07下载
    积分:1
  • 上传几个数据结构源代码,比较简单。用标准c++写的。
    上传几个数据结构源代码,比较简单。用标准c++写的。-upload a few data source code structure, relatively simple. Standard c writes.
    2022-01-30 14:19:15下载
    积分:1
  • 一个学生管理系统的例子,演示了一个扩展字符数…
    一个学员管理系统的实例,演示了JDBC一些拓展的特性,例如PrepareStatement、CallableStatement、ResultSetMetaData、大对象、DataSource等。-Example of a student management system to demonstrate a number of expansion characteristics of JDBC, for example, PrepareStatement, CallableStatement, ResultSetMetaData, large object, DataSource and so on.
    2022-04-12 04:21:21下载
    积分:1
  • access the database using Flash MX. Please remember that Flash is unable to nati...
    access the database using Flash MX. Please remember that Flash is unable to natively access a database. A programming language (ASP in this case) provides the programming logic, while Flash works at the presentation tier of the application.
    2023-06-19 02:35:06下载
    积分:1
  • 数据结构的课程设计,编程实现一个简单的分配问题!
    数据结构的课程设计,编程实现一个简单的分配问题!-Curriculum design, data structures, programming a simple allocation problem!
    2022-02-01 16:50:59下载
    积分:1
  • 完成非的过程
    该程序完成对二叉树的非递归的前序遍历,在三种遍历方法中,这种遍历最简单,所以,核心代码自然要少很多。-completion of the process of non- recursive binary tree of the former preorder, the three traverse method, which traverse the most simple, so natural to the core code is much less.
    2022-02-01 08:27:39下载
    积分:1
  • 结构数据的读写是指从"流"文件中读取数据存入结构,或将结构数据写入"流"文件。我们可以用以下两种方法进行结构数据的文件读写...
    结构数据的读写是指从"流"文件中读取数据存入结构,或将结构数据写入"流"文件。我们可以用以下两种方法进行结构数据的文件读写-read and write data structure is defined as "the flow" paper read data are stored in the structure or structures to write data "flow" document. We can use the following two methods for the structure of documents to read and write data
    2022-11-18 04:00:03下载
    积分:1
  • we learn advanced experience of other provinces and cities on the basis of mater...
    我们在学习外省市先进经验的基础上,结合教材管理工作实际情况和多年的工作经验,组织了专门人员与协力电脑公司利用Vb6.0程序语言和SQL数据库语言共同开发研制了“河北广播电-we learn advanced experience of other provinces and cities on the basis of materials management with the actual situation, and many years of work experience, organized with the help of specialized personnel computer companies use Vb6.0 programming language and SQL database language jointly developed "Hebei Radio
    2022-03-21 22:50:04下载
    积分:1
  • 数据结构算法集锦:包括大量常用算法,如求两数的最大公约数、素数的求法、Prim算法、Kruskal算法、最短路径、Dijkstra 算法、排序相关算法、高精度计...
    数据结构算法集锦:包括大量常用算法,如求两数的最大公约数、素数的求法、Prim算法、Kruskal算法、最短路径、Dijkstra 算法、排序相关算法、高精度计算相关算法-algorithm data structure highlights include : large common algorithms, such as for the number two majors, for the prime numbers, Prim algorithm, Kruskal algorithm, the shortest path, the Dijkstra algorithm, scheduling algorithms, high-precision calculation algorithms, etc.
    2022-06-11 13:48:51下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载