搜索资源列表
矩阵链乘C++
- 矩阵连乘: 设有矩阵M1,M2,M3,M4, 其维数分别是10×20, 20×50, 50×1 和1×100,现要求出这4个矩阵相乘的结果。我们知道,若矩阵A的维数是p×q,矩阵B的维数是q×r,则A与B相乘后所得矩阵AB的维数是p×r。按照矩阵相乘的定义,求出矩阵AB中的一个元素需要做q次乘法(及q-1次加法)。这样,要计算出AB就需要做p×q×r次乘法。为简单起见,且由于加法比同样数量的乘法所用时间要少得多,故这里我们暂不考虑加法的计算量。由于矩阵连乘满足结合律,故计算矩阵连乘的方
EigenTest
- C++矩阵处理工具——Eigen3工具包,其内部封装了很多矩阵类,可以在C++环境轻松进行矩阵处理(与操作系统无关,window,linux均可)。(C++ matrix processing tool - Eigen3 toolkit, which encapsulates a lot of matrix classes, can be easily carried out in the C++ environment matrix processing (unrelated to the o
矩阵连乘
- 以几个矩阵为例,使用C++实现矩阵连乘动态规划(With a few matrix as an example, the use of C++ to achieve the matrix with dynamic programming)
【实验15】矩阵键盘扫描
- 51单片机的矩阵键盘扫描,通过单片机上的4X4按键来操作(Matrix keyboard scanning of 51 single chip microcomputer)
Eigen
- C++ 矩阵操作, ROS,Eigen3(C++ Library manipulating Vector Matrix)
矩阵键盘
- 矩阵键盘,C语言,stc89c52的矩阵键盘程序(Matrix keyboard, C language, STC89C52 matrix keyboard program)
矩阵、减和乘代码实现
- 采用C++编程,用运算符重载实现矩阵的相加运算、相减运算以及相乘运算
稀疏矩阵转置
- ·在矩阵中,若数值为0的元素数目远远多于非0元素的数目,并且非0元素分布没有规律时,则称该矩阵为稀疏矩阵,并用三元组表表示。该算法只扫描两遍原三元组表,就能够获得稀疏矩阵的转置矩阵(In matrix, if the number of elements 0 is far more than the number of non 0 elements, and the distribution of non 0 elements is not regular, it is called spars
4x4矩阵键盘
- 4?4矩阵键盘,基于protues编程实现的,源代码是用c语言写的(4 4 matrix keyboard based on Protues programming, source code is written in C language)
C++matrix
- 矩阵运算的c++实现,封装了矩阵常用运算的类(some calculation of Matrix, in the version of C++)
矩阵计算器
- 用于计算矩阵的一个小程序,除四则运算之外,还有矩阵化简,求逆等功能。(In addition to four operations, a small program for calculating the matrix has the functions of Matrix Simplification and inversion.)
02 数组矩阵
- C++代码,有关数组的实现已经编程。。。。。。。。。(C++ code, the implementation of the array has been programmed)
xishuMatrixAdd
- 以三元组表示稀疏矩阵A,B,试编写矩阵相加的算法,结果存放在C矩阵。(Three tuples are represented by the sparse matrix A, B, and the matrix addition algorithm is written. The results are stored in the C matrix.)
稀疏矩阵
- 稀疏矩阵用C++来实现加减乘功能并可以输出矩阵(C++ implementation of sparse matrix addition and subtraction)
C常用算法程序集(第二版)
- 针对工程中常用的行之有效的算法而编写,其主要内容包括多项式的计算、复数运算、随机数的产生、矩阵运算、矩阵特征值与特征向量的计算、线性代数方程组的求解、非线性方程与方程组的求解、插值与逼近、数值积分、常微分方程组的求解、数据处理、极值问题的求解、数学变换与滤波、特殊函数的计算、排序和查找。(The effective algorithm commonly used in engineering and preparation, the main contents include polynomia
矩阵快速幂
- c++封装的矩阵快速幂,ACM常用!快速幂算法在矩阵的扩展。(C++ encapsulation of matrix fast power, ACM commonly used! The expansion of a fast power algorithm in a matrix.)
矩阵计算C语言版
- 一个矩阵计算器 进入程序 输入A=[1 2 3 4;5 6 7 8; 9 10 11 12] 【横向一行】 输入B=X X X 输入C=X X X 输入D=X X X 支持多项矩阵加减乘,即E=AC,E=AD-C+B,E=ADB-C这一类的,矩阵在6*6以内,项数不定,加减乘运算顺序不定 输入E=A*B+C-D【例子】 输出矩阵形式的答案 E= x x x…… x x x…… x x x……(Matrix calculation for C langu
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.)
01矩阵交换行
- 描述 给定一个5*5的矩阵(数学上,一个r×c的矩阵是一个由r行c列元素排列成的矩形阵列),将第n行和第m行交换,输出交换后的结果。 输入 输入共6行,前5行为矩阵的每一行元素,元素与元素之间以一个空格分开。 第6行包含两个整数m、n,以一个空格分开。(1 <= m,n <= 5) 输出 输出交换之后的矩阵,矩阵的每一行元素占一行,元素之间以一个空格分开 样例输入 1 2 2 1 2 5 6 7 8 3 9 3 0 5 3 7 2 1 4 6 3 0 8
矩阵向量
- 带状划分的矩阵向量乘法。数据文件是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)