Main Content

Dünn besetzte Matrizen

Elementare dünn besetzte Matrizen, Umgruppieren des Algorithmus, iterative Methoden, dünn besetzt lineare Algebra

Dünn besetzte Matrizen ermöglichen die effiziente Speicherung von double- oder logical-Daten mit einer hohen Anzahl an Nullstellen. Werden bei voll (oder dicht besetzten) Matrizen die einzelnen Elemente unabhängig von ihren Werten gespeichert, speichern dünn besetzte Matrizen nur die Elemente ohne Nullstellen sowie die zugehörigen Zeilenindizes. Aus diesem Grund können dünn besetzte Matrizen den für die Datenspeicherung erforderlichen Speicherplatz signifikant verringern.

Alle in MATLAB® integrierten arithmetischen logischen und indizierenden Operationen können auf dünn besetzte Matrizen oder eine Mischung aus dünn und voll besetzten Matrizen angewandt werden. Operationen auf dünn besetzte Matrizen ergeben dünn besetzte und Operationen auf voll besetzte Matrizen ergeben voll besetzte Matrizen. Weitere Informationen finden Sie unter Computational Advantages of Sparse Matrices und Constructing Sparse Matrices.

Funktionen

alle erweitern

spallocAllocate space for sparse matrix
spdiagsExtract nonzero diagonals and create sparse band and diagonal matrices
speyeSparse identity matrix
sprandSparse uniformly distributed random matrix
sprandnSparse normally distributed random matrix
sprandsymSparse symmetric random matrix
sparseCreate sparse matrix
spconvertImport from sparse matrix external format
issparseDetermine whether input is sparse
nnzNumber of nonzero matrix elements
nonzerosNonzero matrix elements
nzmaxAmount of storage allocated for nonzero matrix elements
spfunApply function to nonzero sparse matrix elements
sponesReplace nonzero sparse matrix elements with ones
spparmsSet parameters for sparse matrix routines
spyVisualize sparsity pattern of matrix
findErmitteln von Indizes und Werten von Elementen ungleich null
fullConvert sparse matrix to full storage
dissectNested dissection permutation
amdApproximate minimum degree permutation
colamdColumn approximate minimum degree permutation
colpermSparse column permutation based on nonzero count
dmpermDulmage-Mendelsohn decomposition
randpermRandom permutation of integers
symamdSymmetric approximate minimum degree permutation
symrcmSparse reverse Cuthill-McKee ordering
pcgSolve system of linear equations — preconditioned conjugate gradients method
lsqrSolve system of linear equations — least-squares method
minresSolve system of linear equations — minimum residual method
symmlqSolve system of linear equations — symmetric LQ method
gmresSolve system of linear equations — generalized minimum residual method
bicgSolve system of linear equations — biconjugate gradients method
bicgstabSolve system of linear equations — stabilized biconjugate gradients method
bicgstablSolve system of linear equations — stabilized biconjugate gradients (l) method
cgsSolve system of linear equations — conjugate gradients squared method
qmrSolve system of linear equations — quasi-minimal residual method
tfqmrSolve system of linear equations — transpose-free quasi-minimal residual method
equilibrateMatrix scaling for improved conditioning
ichol Incomplete Cholesky factorization
iluIncomplete LU factorization
eigsSubset of eigenvalues and eigenvectors
svdsSubset of singular values and vectors
normest2-norm estimate
condest1-norm condition number estimate
sprankStructural rank
etreeElimination tree
symbfactSymbolic factorization analysis
spaugmentForm least-squares augmented system
dmpermDulmage-Mendelsohn decomposition
etreeplotPlot elimination tree
treelayoutLay out tree or forest
treeplotPlot picture of tree
gplotPlot nodes and edges in adjacency matrix
unmeshConvert edge matrix to coordinate and Laplacian matrices

Themen