-
题目:实现一个能进行稀疏矩阵基本运算的运算器。
以“带行逻辑链接信息”的三元组顺序表示稀疏矩阵,实现两个矩阵相加,相乘的运算。稀疏矩阵的输入形式采用三元组表...
题目:实现一个能进行稀疏矩阵基本运算的运算器。
以“带行逻辑链接信息”的三元组顺序表示稀疏矩阵,实现两个矩阵相加,相乘的运算。稀疏矩阵的输入形式采用三元组表示,而运算结果的矩阵以阵列形式列出。
1、 生成如下两个稀疏矩阵的三元组a和b:
1 0 3 0 3 0 0 0
0 1 0 0 0 4 0 0
0 0 1 0 0 0 1 0
0 0 1 1 0 0 0 2
2、输出a+b的三元组
3、输出a*b的三元组
-Topic: can realize a sparse matrix basic calculator operations. To
- 2022-02-02 04:00:25下载
- 积分:1
-
在一台机器上只能处理n个作业,每个作业均可在单位时间内完成,又假定每个作业都有一个截止期限,当且仅当作业i在它的截止期限之前完成时,可以获得一定的效益。
给...
在一台机器上只能处理n个作业,每个作业均可在单位时间内完成,又假定每个作业都有一个截止期限,当且仅当作业i在它的截止期限之前完成时,可以获得一定的效益。
给定作业序列,要求一种作业排序算法,使获得的总效益值最大。
-On a single machine can handle only n-jobs, each job can be completed within the unit, but also assumes that each job has a deadline, if and only if job i in its completed before the deadline, they can to receive some benefits.
For a given job sequence, requires a job sorting algorithm, so that the greatest value of total benefits received.
- 2022-12-08 00:45:02下载
- 积分:1
-
sdgbf dChAT SDB
xbcnv提示:你将获得积分(0-20)的基础上,你的产品质量
- 2022-03-11 04:21:10下载
- 积分:1
-
用Delphi开发的经典的数据库系统
用Delphi开发的经典的数据库系统-with the classic Delphi database system
- 2022-04-24 06:39:47下载
- 积分:1
-
There are binary search, binary conversion, data structure, traveling salesman a...
这里面有二分查找、进制转换、数据结构、货郎担算法、动态网络最短路线等等很多很多的程序-There are binary search, binary conversion, data structure, traveling salesman algorithm, dynamic shortest route network and so on many, many procedures
- 2023-02-21 00:15:04下载
- 积分:1
-
参考课堂迷宫问题的解题方法,建立move数组,若马当前位置是(x,y),则沿着第i(1<=i<=8)个方向跳一步,到达新的位置为( x’,y’),下...
参考课堂迷宫问题的解题方法,建立move数组,若马当前位置是(x,y),则沿着第i(1
- 2022-05-27 14:06:38下载
- 积分:1
-
MAPX开发基础程序,实现简单的地图控制操作
MAPX开发基础程序,实现简单的地图控制操作-MAPX the basis of procedures developed to achieve a simple map control operations
- 2022-05-18 18:19:01下载
- 积分:1
-
a small travel agency management system
一个小型的旅行社管理系统-a small travel agency management system
- 2022-03-18 20:45:00下载
- 积分:1
-
用O(nlogn)的算法对Cograph进行识别
用O(nlogn)的算法对Cograph进行识别-O (nlogn) algorithm for the identification of Cograph
- 2022-07-21 17:12:57下载
- 积分:1
-
数据结构中实现图的关键路径的算法,是在TC中运行的。
数据结构中实现图的关键路径的算法,是在TC中运行的。-data structure to achieve the critical path map algorithm is run in the TC.
- 2022-02-22 08:58:49下载
- 积分:1