搜索资源列表
用c编写的N*N的螺旋矩阵源代码
- /* 实现效果: 1 2 6 7 15 3 5 8 14 16 4 9 13 17 22 10 12 18 21 23 11 19 20 24 25 */ #include <stdio.h> #define N 5 //阶数,即N*N的螺旋矩阵 void main() { int i, j, num=1, a[N][N]; for(i=0; i<=N/2; i++) &nb
矩阵求逆的c语言算法
- 通过利用c语言编程实现了对矩阵求逆的操作,可以大大简化用户的某些操作
4x6矩阵键盘
- 我们实验课自己做的仿真,4x6的矩阵键盘,按下某个键,显示相应的数字
稀疏矩阵乘法运算的十字链表实现
- 稀疏矩阵是指那些多数元素为零的矩阵。本文利用稀疏矩阵“稀疏”特点进行存储和计算可以大大节省存储空间,提高计算效率。通过采用标准C++语言设计实现了矩阵的乘法运算器。稀疏矩阵的乘法运算可用于解决许多实际的应用问题.提出一种新颖的稀疏矩阵相乘算法,算法实现中将计算单元由单个元素扩展至行向量,避免了矩阵的转置,减少了扫描次数。利用十字链表表示稀疏矩阵,再将建立好的两个相同行列数的稀疏矩阵进行相乘运算。
稀疏矩阵
- 稀疏矩阵是指那些多数元素为零的矩阵。本文利用稀疏矩阵“稀疏”特点进行存储和计算可以大大节省存储空间,提高计算效率。通过采用标准C++语言设计实现了矩阵的乘法运算器。稀疏矩阵的乘法运算可用于解决许多实际的应用问题.提出一种新颖的稀疏矩阵相乘算法,算法实现中将计算单元由单个元素扩展至行向量,避免了矩阵的转置,减少了扫描次数。利用十字链表表示稀疏矩阵,再将建立好的两个相同行列数的稀疏矩阵进行相乘运算。
nijuzheng 求矩阵的逆矩阵
- 求矩阵的逆矩阵,不用递归,就可输出任何输入矩阵的逆矩阵。用C++写的。算法思路绝对清晰易懂。-Find inverse of a matrix, without recursion, can you export any of the input matrix matrix. Written in C++. Algorithm ideas absolutely lucid.
c
- C语言的数值计算源代码集合,包括矩阵计算、方程求根、插值等算法-C language source code for a collection of numerical calculation, including the matrix calculation, equation Roots, interpolation algorithms。
mat_lib
- 二维矩阵方面的库- Two-dimensional matrix aspect storehouse
矩阵C源程序
- 矩阵的各种算法-matrix algorithms
MATRIX1
- 针对矩阵类的编程,可以实现矩阵的相加,转置,相乘,单位阵,随机阵等。-For matrix-type programming, you can achieve the sum of matrices, transpose, multiplication, unit patches, such as a random array.
inv
- 用矩阵变换法求逆矩阵 C++,已通过测试-Matrix transformation method using the inverse matrix C++, Have passed the tests
c
- 本子程序根据所给的支路导纳及有关信息,形成结点--导纳矩阵,如打印参数K=1,则输出电导矩阵G和电纳矩B -Procedures based on the book of the slip road to the admittance and related information, the formation of node** admittance matrix, such as print parameters K = 1, the output conductance matrix G
matrix_invers
- C语言写的矩阵处理算法 主要实现了求逆和线性方程组的求解-Matrix written in C language processing algorithms to achieve a major inversion and solving linear equations
juzhengyilist
- 用C++先压缩稀疏矩阵于链表,再解压缩链表还原为稀疏矩阵-C++, the first compressed sparse matrix in the list, and then extract the list reduced to sparse matrix
counter.c
- 按下16个矩阵键盘依次在数码管上显示1-16的平方。如按下 第一个显示1,第二个显示4-Press the keyboard matrix, followed by 16 in the digital display 1-16 square tube. Touching the first one shows a second display 4 ...
svd.c
- SVD算法可用来求解大多数的线性最小二乘法问题.对矩阵进行奇异值分解。-SVD algorithm is used to solve most of the linear least squares problem. Of the matrix singular value decomposition.
matrix-c
- 自己写的稀疏矩阵,使用十字链表实现,C语言编写。-Write a sparse matrix, the underlying data structure is Cross-List, using C program language.
稀疏矩阵
- 稀疏矩阵用C++来实现加减乘功能并可以输出矩阵(C++ implementation of sparse matrix addition and subtraction)
Gaussian function
- C语言编写的,输入行数和列数,直接生成二维高斯函数矩阵(C language, the number of input lines and columns directly generate two-dimensional Gaussian function matrix)
矩阵运算
- 设有两个矩阵A=(aij)m×n,B=(bij)p×q 实现要求: ⑴ 编写矩阵输入函数INPUT_MAT,通过该函数完成矩阵的输入并返回保存矩阵的三元组 (不能使用全局变量); ⑵ 编写矩阵输出函数OUTPUT_MAT,通过该函数完成矩阵的输出,输出的形式是标准的矩阵形式(即二维数组的形式); ⑶ 求矩阵的转置,矩阵的转置A’=(aji)n×m,转置前输出原矩阵,转置后输出转置矩阵; ⑷ 求矩阵A、B的和。矩阵A和B能够相加的条件是:m=p,n=q;矩阵A和B如果不能相加,请给