Location:
Search - matrix.cpp
Search list
Description: 有时仅对赋权有向图上从任意一个顶点到另外任意一个顶点之间有没有路感兴趣。试修改Floyd算法,计算出图的道路矩阵P,使得从顶点i到顶点j有路时P[i,j]= 1,否则P[i,j]= 0。-sometimes only to empower a map from any one vertex to another arbitrary point between a road not interested. Try to amend Floyd algorithm calculated the road map matrix P, made from vertex to vertex i j is the route P [i, j] = 1, P [i, j] = 0.
Platform: |
Size: 1649 |
Author: Nouth |
Hits:
Description: 十字链表是这样构成的:用链表模拟矩阵的行(或者列,这可以根据个人喜好来定),然后,再构造代表列的链表,将每一行中的元素节点插入到对应的列中去。书中为了少存几个表头节点,将行和列的表头节点合并到了一起——实际只是省了几个指针域,如果行和列数不等,多余的数据域就把这点省出的空间又给用了。这点小动作让我着实废了半天劲,个人感觉,优点不大,缺点不少,不如老老实实写得象个十字链表,让人也好看一些,这是教科书,目的是教学。实在看得晕的人,参阅C版的这部分内容,很清晰。我也不会画图,打个比方吧:这个十字链表的逻辑结构就像是一个围棋盘(没见过,你就想一下苍蝇拍,这个总见过吧),而非零元就好像是在棋盘上放的棋子,总共占的空间就是,确定那些线的表头节点和那些棋子代表的非零元节点。最后,我们用一个指针指向这个棋盘,这个指针就代表了这个稀疏矩阵-Crusaders is the form : Chain Simulation matrix rows (or out, This can be based on individual preferences to be), and then constructed on behalf of the chain out, Each line of the elements inserted into the node corresponding to the series. To book a few small depositors table first node, out of line and the first node table to merge together -- the reality is that a number of indicators provincial jurisdictions, if the number of rows and columns ranging, redundant data domain put this province has granted the use of the space. This little trick I did waste a half-day efforts, personal feeling, not merit, a lot of shortcomings, written as honestly as cross chain, some people are good looking, which is the textbook, and the purpose of teaching. Really see the halo, see the C version of this
Platform: |
Size: 1864 |
Author: weiran |
Hits:
Description: compute single value decomposition of a matrix in c
Platform: |
Size: 71010 |
Author: 张记清 |
Hits:
Description: 稀疏矩阵
1、 应用程序 直接可以实现矩阵的各项操作。
2、 查看原代码VC++6.0打开“稀疏矩阵\creatematrix.dsp”或者用记事本打开“稀疏矩阵\creatematrix.cpp”
3、 代码简单说明:
本程序是一个工程文件包含了链式与顺序两种多项是处理方式:
十字链表:矩阵的结构体:matnode;
三元组顺序:矩阵结构体:tsmat
4、ADT在文件夹“稀疏矩阵”里
-a sparse matrix, the application can be achieved directly by the matrix operation. 2, VC View 6.0 source code open "Sparse Matrix \ creatematrix.dsp" or use Notepad to open the "sparse matrix \ creatematrix.cpp" 3, code simple note : this program is a project file contains a sequence of two chain with a number of approaches : Cross Chain : the structure of the matrix : matnode; Triples order : the structure matrix : tsmat 4, ADT in the folder "Sparse Matrix"
Platform: |
Size: 16384 |
Author: upcorange |
Hits:
Description: 十字链表是这样构成的:用链表模拟矩阵的行(或者列,这可以根据个人喜好来定),然后,再构造代表列的链表,将每一行中的元素节点插入到对应的列中去。书中为了少存几个表头节点,将行和列的表头节点合并到了一起——实际只是省了几个指针域,如果行和列数不等,多余的数据域就把这点省出的空间又给用了。这点小动作让我着实废了半天劲,个人感觉,优点不大,缺点不少,不如老老实实写得象个十字链表,让人也好看一些,这是教科书,目的是教学。实在看得晕的人,参阅C版的这部分内容,很清晰。我也不会画图,打个比方吧:这个十字链表的逻辑结构就像是一个围棋盘(没见过,你就想一下苍蝇拍,这个总见过吧),而非零元就好像是在棋盘上放的棋子,总共占的空间就是,确定那些线的表头节点和那些棋子代表的非零元节点。最后,我们用一个指针指向这个棋盘,这个指针就代表了这个稀疏矩阵-Crusaders is the form : Chain Simulation matrix rows (or out, This can be based on individual preferences to be), and then constructed on behalf of the chain out, Each line of the elements inserted into the node corresponding to the series. To book a few small depositors table first node, out of line and the first node table to merge together-- the reality is that a number of indicators provincial jurisdictions, if the number of rows and columns ranging, redundant data domain put this province has granted the use of the space. This little trick I did waste a half-day efforts, personal feeling, not merit, a lot of shortcomings, written as honestly as cross chain, some people are good looking, which is the textbook, and the purpose of teaching. Really see the halo, see the C version of this
Platform: |
Size: 2048 |
Author: weiran |
Hits:
Description: 矩阵乘法是线性代数中最常见的运算之一,它在数值计算中有广泛的应用。若A和B是2个n×n的矩阵,则它们的乘积C=AB同样是一个n×n的矩阵。-Linear algebra matrix multiplication is the most common computing one of its numerical computation in a wide range of applications. If A and B are two n × n matrix, then their product C = AB is also a n × n matrix.
Platform: |
Size: 238592 |
Author: 陈大哥 |
Hits:
Description: 一种计算逆矩阵的方法,可以判别矩阵是否有逆-A calculation of inverse matrix method, you can determine whether the inverse matrix
Platform: |
Size: 1024 |
Author: 郝红星 |
Hits:
Description: 用蛮力法解决的Acm icpc试题(求矩阵每一列列和的最小值)。-Using brute force method to solve the Acm icpc questions (each matrix rows and the minimum value).
Platform: |
Size: 6144 |
Author: luofei |
Hits:
Description: compute single value decomposition of a matrix in c
Platform: |
Size: 70656 |
Author: 张记清 |
Hits:
Description: 图可以采用邻接矩阵、邻接表等多种方式来存储,本程序实现图的邻接矩阵存储-Chart can be used adjacency matrix, adjacency lists to store a variety of ways, this program graph adjacency matrix storage
Platform: |
Size: 1024 |
Author: youjing |
Hits:
Description:
利用VC++6.0集成编程界面编写综合运用MAT数据文件和MATLAB引擎技术的(求矩阵的奇异值)C++源码程序。本程序说明了:1.如何利用VC++6.0集成编程界面编写源码程序;2.编译链接产生EXE文件所需的间夹文件。注意:要将压缩包内除matlabyinqingwithc++.cpp的所有文件都要拷贝到matlabyinqingwithc++.cpp的“任务文件夹下”。-Use VC++ 6.0 integrated programming interface MAT preparation of comprehensive use of data files and MATLAB engine technology (the singular value matrix) C++ Source procedures. This procedure describes: 1. How to use VC++ 6.0 integrated programming interface to prepare source procedures 2. Compiler generated EXE file the necessary link between the document folder. NOTE: In addition to compression packages matlabyinqingwithc++. Cpp must copy all the files to matlabyinqingwithc++. Cpp s mission folder.
Platform: |
Size: 210944 |
Author: |
Hits:
Description: spoj CCOST . Usage of a 2 dimensional fenwick tree.Querying (log(n)^2) a 2 dimensional matrix for sub sum and updating a cell in O(logn)
Platform: |
Size: 1024 |
Author: trajir |
Hits:
Description: linux多线程矩阵相乘(C++)
采用多线程技术,对于每行每列的计算都进行了相应的线程操作。-linux multi-threaded matrix multiply (C++)
Platform: |
Size: 1024 |
Author: xp |
Hits:
Description: 此包包含了众多矩阵处理程序,能够满足矩阵处理的一般要求,由于将各功能分开到不同的“.cpp”文件中,故使用时需要用户自行选取更换合适自己使用的“.cpp”文件。其中,矩阵功能有:输出矩阵、矩阵转置、矩阵归一化、判断矩阵对称、判断矩阵对称正定、全选主元法求矩阵行列式、全选主元高斯(Gauss)消去法求一般矩阵的秩、用全选主元高斯-约当(Gauss-Jordan)消去法计算实(复)矩阵的逆矩阵、用“变量循环重新编号法”法求对称正定矩阵逆、特兰持(Trench)法求托伯利兹(Toeplitz)矩阵逆、实矩阵LU分解、用豪斯荷尔德(Householder)变换对一般m*n阶的实矩阵进行QR分解、对称正定阵的乔里斯基(Cholesky)分解及求其行列式值、一般实矩阵的奇异值分解、广义逆的奇异值分解。-look it yourself.
Platform: |
Size: 1077248 |
Author: 雾水葛 |
Hits:
Description: jacobi algorithm (an iterative method of solving a matrix system)
Platform: |
Size: 1024 |
Author: salvo_totoli |
Hits:
Description: 矩阵类包括了矩阵的基本操作。如加减乘,转置,解方程组,-CODES ABOUT MATRIX CONTAINS THE BASIC OPERATIONS
Platform: |
Size: 14336 |
Author: zgl |
Hits:
Description: 矩阵类的C++实现!可直接运行!Matrix.cpp
Matrix.h-Matrix.cpp
Matrix.h
Platform: |
Size: 6144 |
Author: 竹林英客 |
Hits:
Description: MPI program for matrix
Platform: |
Size: 2048 |
Author: raji |
Hits:
Description: 矩阵求逆的c++实现,矩阵转置,矩阵求逆-c++, matrix
Platform: |
Size: 1024 |
Author: 李伟 |
Hits:
Description: 在cpp平台上建立的dos界面的,基于矩阵的校园导航系统(Campus navigation system based on matrix)
Platform: |
Size: 2048 |
Author: L_Kin |
Hits: