CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - sparse matrix in c
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Sub Category
GUI Develop
Windows Kernel
WinSock-NDIS
Driver Develop
ADO-ODBC
GDI-Bitmap
CSharp
.net
Multimedia Develop
Communication
Shell api
ActiveX/DCOM/ATL
IME Develop
ISAPI-IE
Hook api
Screen saver
DirextX
Process-Thread
Console
File Operate
Printing program
Multi Monitor
DNA
Other
Search - sparse matrix in c - List
[
Other
]
矩阵相加的算法
DL : 0
当稀疏矩阵A和B均以三元组表作为存储结构时,试写出矩阵相加的算法,其结果存放在三元组表C中。 解:这个算法有点繁,要考虑到两个稀疏矩阵的非零元素不是一一对应的,在建立新的三元组表C时,为了使三元组元素仍按行优先排列,所以每次插入的三元组不一定是A的,按照矩阵元素的行列去找A中的三元组,若有,则加入C,同时,这个元素如果在B中也有,则加上B的这个元素值,否则这个值就不变 如果A中没有,则找B,有则插入C,无则查找下一个矩阵元素。 -sparse matrix A and B were 3 groups, as a storage structure and try to write together the matrix algorithm, results stored in ternary Group C table. Solution : This is a bit complicated algorithm, taking into account the two nonzero sparse matrix element is not one-to-one. the establishment of a new ternary Group C table, in order to enable groups of elements remaining three yuan prioritize OK, So inserted three yuan each group is not necessarily A, in accordance with the matrix elements ranks to find a group of three yuan, and if so, C is added, and if this element is B, plus the B value of the element, Otherwise, the value on the same if not A, then B to find, then insert C, no one will find under the matrix elements.
Date
: 2025-12-29
Size
: 2kb
User
:
snow
[
Other
]
LDL-2.0.1.tar
DL : 0
对基于稀疏矩阵存储技术的对称正定稀疏矩阵进行LDL分解,C++编写-LDL is a set of concise routines for factorizing symmetric positive-definite sparse matrices, with some applicability to symmetric indefinite matrices. Its primary purpose is to illustrate much of the basic theory of sparse matrix algorithms in as concise a code as possible, including an elegant new method of sparse symmetric factorization that computes the factorization row-by-row but stores it column-by-column. The entire symbolic and numeric factorization consists of a total of only 49 lines of code. The package is written in C, and includes a MATLAB interface.
Date
: 2025-12-29
Size
: 221kb
User
:
aaq
[
Other
]
juzhengyilist
DL : 0
用C++先压缩稀疏矩阵于链表,再解压缩链表还原为稀疏矩阵-C++, the first compressed sparse matrix in the list, and then extract the list reduced to sparse matrix
Date
: 2025-12-29
Size
: 1kb
User
:
dzily
[
Other
]
MulofMatrix
DL : 0
一个用c语言写的稀疏矩阵乘法的小程序,仅供初学者学习参考之用。-Sparse matrix multiplication program written in c language, for beginners to learn the reference.
Date
: 2025-12-29
Size
: 1kb
User
:
zy
[
Other
]
TS_Matrix
DL : 0
用C++在实现数据结构中的稀疏矩阵的转置、加法和乘法-Using C++ data structures in sparse matrix transpose, addition and multiplication
Date
: 2025-12-29
Size
: 2kb
User
:
zhao
[
Other
]
Sparse-matrix
DL : 0
字符匹配问题为典型的字符数组的运用问题,体现了c语言面向过程的特性,在VC6.0下能够正确编译以及运行。-The problem of character matching is a typical character array, which reflects the characteristics of C language and can be compiled and run in VC6.0.
Date
: 2025-12-29
Size
: 153kb
User
:
刘翼
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.