登录
首页 » 数据结构 » 题目:实现一个能进行稀疏矩阵基本运算的运算器。 以“带行逻辑链接信息”的三元组顺序表示稀疏矩阵,实现两个矩阵相加,相乘的运算。稀疏矩阵的输入形式采用三元组表...

题目:实现一个能进行稀疏矩阵基本运算的运算器。 以“带行逻辑链接信息”的三元组顺序表示稀疏矩阵,实现两个矩阵相加,相乘的运算。稀疏矩阵的输入形式采用三元组表...

于 2022-02-02 发布 文件大小:19.55 kB
0 175
下载积分: 2 下载次数: 1

代码说明:

题目:实现一个能进行稀疏矩阵基本运算的运算器。 以“带行逻辑链接信息”的三元组顺序表示稀疏矩阵,实现两个矩阵相加,相乘的运算。稀疏矩阵的输入形式采用三元组表示,而运算结果的矩阵以阵列形式列出。 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

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

发表评论

0 个回复

  • VB图书管理程序
    VB 图书馆管理程序-VB library management procedures
    2022-05-06 16:53:13下载
    积分:1
  • 中缀表达式转后缀表达式,中堆栈的应用。
    中缀表达式转后缀表达式,数据结构中堆栈的应用。-Switch to postfix infix notation expressions, the data structure stack applications.
    2022-12-02 07:15:03下载
    积分:1
  • 腐蚀,膨胀,细化算法代码能够实现你想要的算法代码
    腐蚀,膨胀,细化算法代码能够实现你想要的算法代码-corrosion, swelling, thinning algorithm code you want to achieve the algorithm code
    2022-07-14 20:44:59下载
    积分:1
  • conversion matrix can be realized, helical array, digital mobile array operation...
    可实现矩阵转换,螺旋数组,数字移动,数组操作,桶排序,杨辉三角形-conversion matrix can be realized, helical array, digital mobile array operation, barrels, in order of Yang Hui triangle
    2022-02-01 06:41:21下载
    积分:1
  • 该程序用Java实现了算法中的动态规划问题_漂亮打印
    该程序用Java实现了算法中的动态规划问题_漂亮打印-the program using Java to achieve a dynamic algorithm planning _ pretty Print
    2022-02-05 15:45:26下载
    积分:1
  • SQL Server与Access、Excel的转换
    SQL Server与Access、Excel的数据转换-SQL Server and Access, Excel data conversion
    2023-02-13 07:40:03下载
    积分:1
  • 表达式求值是程序设计语言编译中的一个最基本问题,它的实现是栈的应用的典型例子。...
    表达式求值是程序设计语言编译中的一个最基本问题,它的实现是栈的应用的典型例子。-Expression evaluation is a programming language compiler in a fundamental question, and its implementation is a typical example of the application stack.
    2022-01-22 04:05:49下载
    积分:1
  • Environment: visual studio 2005
    以visual studio 2005为开发环境的约瑟夫环设计。-Environment: visual studio 2005
    2023-05-01 17:20:03下载
    积分:1
  • 问题描述:假设一个商店,有一个架子和一个仓库,当第…
    问题描述: 假设一个商店,它有一个货架和一个仓库,当货架上的商品数量少于一定的数目时,从仓库运一定数量的商品摆到货架上,当仓库里的商品的数量少于一定的数目时,购买商品把仓库填满,商品的出售要按照商品的生产日期来,快要过期的商品要先出售。 解决问题的方法: 用了两个栈和 一个队列,把队列当作仓库,用一个栈作为货架,把另一个栈当作临时的存储箱。当要往货架上添商品时,先把作为货架的栈中的元素全都压到作为存储箱的栈中,再把仓库中的元素压到存储箱中,然后再把存储箱中的所有元素都压到货架上,这样,就能保证快要过期的商品先被出售。-Problem description : Suppose a shop, which has a shelf and a warehouse, when the merchandise on the shelves less than a certain quantity of the number, a certain number from the warehouses of goods on the shelves, when the warehouse volume of goods is less than certain number, purchase goods warehouse filled, the goods according to the sale of commodity production to date, is about to expire first sale of goods. The solution : a two stack and a queue, queue as a warehouse, used as a stack shelves, and another stack as a temporary storage bins. When to go to the shelves Tim commodity, first as a stack shelves of all elements of the pressure storage tank as the stack, then the warehouse down to the storage element box, and then s
    2022-07-13 01:56:00下载
    积分:1
  • 这是我本人编写的一个32位定点小运算的函库。对于没有浮点运算器的场合,可以提供进行小运算的一种途径...
    这是我本人编写的一个32位定点小数运算的函数库。对于没有浮点运算器的场合,可以提供进行小数运算的一种途径-This is my prepared in a 32-bit fixed point decimal computing functions. For no floating point unit occasions, it can provide for fractional arithmetic, as a way to
    2022-01-24 18:14:59下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载