-
题目:实现一个能进行稀疏矩阵基本运算的运算器。
以“带行逻辑链接信息”的三元组顺序表示稀疏矩阵,实现两个矩阵相加,相乘的运算。稀疏矩阵的输入形式采用三元组表...
题目:实现一个能进行稀疏矩阵基本运算的运算器。
以“带行逻辑链接信息”的三元组顺序表示稀疏矩阵,实现两个矩阵相加,相乘的运算。稀疏矩阵的输入形式采用三元组表示,而运算结果的矩阵以阵列形式列出。
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
-
公交换车
使用数据解构编写的公交换乘系统!可以按路线查询!使用数据解构编写的公交换乘系统!可以按路线查询!
- 2023-08-01 18:35:03下载
- 积分:1
-
data structure to solve the problem of Josephus code, only the source code, we u...
数据结构中解决约瑟夫环问题的代码,里面只有源代码,大家用TC2编译一下就可以用了:)。-data structure to solve the problem of Josephus code, only the source code, we use TC2 compiler can use it with a :).
- 2022-08-06 18:26:20下载
- 积分:1
-
停车场的程序,是用多线程写的,有详细的注释
停车场的程序,是用多线程写的,有详细的注释-parking procedures is the use of multi-threaded writing, a detailed Notes
- 2022-01-24 16:23:08下载
- 积分:1
-
本人上传的是用分治法实现的大整数算法,采用的是数组形式。...
本人上传的是用分治法实现的大整数算法,采用的是数组形式。-I uploaded is to use divide and conquer to achieve a large integer arithmetic, using the array form.
- 2023-04-07 00:40:03下载
- 积分:1
-
直接插入排序
排序过程:整个排序过程为n
直接插入排序
排序过程:整个排序过程为n-1趟插入,即先将序列中第1个记录看成是一个有序子序列,然后从第2个记录开始,逐个进行插入,直至整个序列有序-Direct Insertion Sort to sort the process: the whole process of sorting times for the n-1 insert, that is, first sequence of the first one recorded as an orderly sequence, and then from the first two records began to insert one by one until the entire sequence has Preface
- 2022-05-17 09:28:42下载
- 积分:1
-
生产者与消费者演示
生产者与消费者演示-producers and consumers demo
- 2022-06-15 17:22:25下载
- 积分:1
-
迷宫求解问题。程序中已经建好了一个数组作为迷宫数组。然后进行试探,输出迷宫从起点到终点的路径。...
迷宫求解问题。程序中已经建好了一个数组作为迷宫数组。然后进行试探,输出迷宫从起点到终点的路径。-Maze solving the problem. The program has been built as a maze of an array of arrays. And then test the output from the beginning to the end of the maze path.
- 2022-03-21 00:23:11下载
- 积分:1
-
java程序实现的通俗易懂的二分查找的算法源代码
java程序实现的通俗易懂的二分查找的算法源代码-java program to achieve the user-friendly dichotomous search algorithm source code
- 2022-02-04 20:18:19下载
- 积分:1
-
数据结构程序设计――哈夫曼编码,希望给同学一些帮助
数据结构程序设计――哈夫曼编码,希望给同学一些帮助-Data Structure Programming- Huffman coding, the students want to give some help
- 2022-08-26 09:43:00下载
- 积分:1