搜索资源列表
稀疏矩阵的运算器
- 稀疏矩阵的运算器 [基本要求] 以“带行逻辑链接信息”的三元组顺序表表示稀疏矩阵,实现两 个矩 阵相加、相减、相乘的运算。稀疏矩阵的输入形式采用三元组表示, 而运算结果的矩阵则以通常 的阵列形式列出。 这是出自清华大学 严蔚敏 吴伟民 编著的数据结构题集(C语言版)的第136页的实习4 -sparse matrix operations for the [basic requirements] "OK logical link with informati
矩阵相加的算法
- 当稀疏矩阵A和B均以三元组表作为存储结构时,试写出矩阵相加的算法,其结果存放在三元组表C中。 解:这个算法有点繁,要考虑到两个稀疏矩阵的非零元素不是一一对应的,在建立新的三元组表C时,为了使三元组元素仍按行优先排列,所以每次插入的三元组不一定是A的,按照矩阵元素的行列去找A中的三元组,若有,则加入C,同时,这个元素如果在B中也有,则加上B的这个元素值,否则这个值就不变 如果A中没有,则找B,有则插入C,无则查找下一个矩阵元素。 -sparse matrix A and B were 3
三对角矩阵
- 用c++语言编写的,关于三对角距镇的应用问题的程序-prepared by the angle of the three pairs from the town of application procedures
矩阵与向量
- 在c++矩阵和向量的运用-in the matrix and vector use
Floyd-Warshall-c-chengxi
- Floyd-Warshall算法描述 1)适用范围: a)APSP(All Pairs Shortest Paths) b)稠密图效果最佳 c)边权可正可负 2)算法描述: a)初始化:dis[u,v]=w[u,v] b)For k:=1 to n For i:=1 to n For j:=1 to n If dis[i,j]>dis[i,k]+dis[k,j] Then Dis[I,j]:=dis[I,k]+dis[k,j] c)算法结
矩阵连乘问题
- 用C++实现矩阵连乘问题-C matrix to achieve continually multiply problems
c
- 包含五个C语言程序,convse是矩阵求逆,chengfa的功能是画出乘法表,imageclock的功能是动态时钟,sanjiao是递归法画三角,小车是模拟实现动态小车图像
C语言表达式的语法分析
- 该文描述了C语言表达式的文法,并由该文法生成算符优先矩阵和算符优先函数,讨论了C语言表达式的特点和文法分析过程。-The paper describes the expression of the C language grammar, grammar generated by the operator priority matrix and operator priority function to discuss the C language features of the expressi
c常用算法程序
- C常用算法程序机,是关于解线性方程,各种矩阵的处理。很有实际应用意义-C algorithms commonly used procedures machine is on the solution of linear equations, various matrix processing. Very practical significance
打印矩阵
- 一个打印矩阵的小程序,是我刚开始学C语言时编的程序之一。-a matrix of small print process, I have just started to learn the C language when one part of the process.
蛇形矩阵
- 用C++编写,输出一个蛇形矩阵,初学者可看。
c++andhmm model.rar
- 可以直接在vc下运行的HMM源代码,无任何错误,运行后即可得到HMM模型的三个重要组成部分,状态转移矩阵等信息。
LU.rar
- 解矩阵方程,可分解为两个矩阵,一个为上三角矩阵,一个为下三角矩阵,再求解,会简化计算,Solution of matrix equation, decomposed into two matrices, one for the upper triangular matrix, a lower triangular matrix, and then solving, will simplify the calculation of
lu.rar
- 这是用并行程序语言MPI做的关于矩阵LU分解的程序,程序中很好的实现了分解过程的并行性。,This is used MPI parallel programming language to do LU decomposition on the matrix of the procedures, procedures to achieve a good decomposition process parallelism.
C
- 第一部分 基础篇 实例1 第一个C程序 2 实例2 求整数之积 6 实例3 比较实数大小 8 实例4 字符的输出 10 实例5 显示变量所占字节数 11 实例6 自增/自减运算 13 实例7 数列求和 14 实例8 乘法口诀表 17 实例9 猜数字游戏 19 实例10 模拟ATM(自动柜员机)界面 22 实例11 用一维数组统计学生成绩 24 实例12 用二维数组实现矩阵转置 26 实例13 求解二维数组的最大/最小元素 29 实例14 利
c++source
- 利用矩阵的思想 大量数据分类储存 以矩阵的形式储存 大家可以参考下-The idea of using matrix classification of a large amount of data stored in matrix form of storage we can refer to the following
C语言实现的算法
- 有几个非常常用的算法比如判断是否是闰年,求三个数的最大数,判断是否是素数,输出矩阵,(There are several very common algorithms, such as whether it is a leap year, the maximum number of three numbers, to determine whether the prime number, the output matrix,)
C语言程序:将一张矩阵笑脸上下翻转成哭脸
- 这是一个简单C语言程序代码,有兴趣的朋友可以按照代码演示一下,看看有什么惊奇的变化,看看本来是笑脸的矩阵能不能变成哭脸。(This is a simple C language program code, interested friends can according to the code shown, to see what was surprising changes, see the smiling faces of the matrix can become a sad face.)
矩阵向量
- 带状划分的矩阵向量乘法。数据文件是40*40的算例。(The file is prepared for solving A*b, in the Date there is an example for A which is a 40*40 matrix)
C语言算法速查手册 第三版
- 常用数学算法的C语言代码,包含矩阵运算、多项式拟合、快速付立叶变换等等算例。(The C language code of common mathematical algorithms includes matrix operation, polynomial fitting, fast Fourier transform and other examples.)