Mat Manual Pages

PETSc matrices (Mat objects) are used to store Jacobians and other sparse matrices in PDE-based (or other) simulations.

Beginner - Basic usage
MatAssemblyBegin MatGetOwnershipRange MatMultTrans
MatAssemblyEnd MatGetSize MatMultTransAdd
MatCreate MatLoad MatSetValue
MatDestroy MatMult MatSetValues
MatGetLocalSize MatMultAdd MatView
Intermediate - Setting options for algorithms and data structures
MatAXPY MatCreateSeqBDiag MatSetLocalToGlobalMapping
MatAYPX MatCreateSeqDense MatSetLocalToGlobalMappingBlocked
MatConvert MatDiagonalScale MatSetOption
MatCopy MatDiagonalShift MatSetStashInitialSize
MatCreateMPIAIJ MatDuplicate MatSetValuesBlocked
MatCreateMPIAdj MatEqual MatSetValuesBlockedLocal
MatCreateMPIBAIJ MatGetBlockSize MatSetValuesLocal
MatCreateMPIBDiag MatGetDiagonal MatShift
MatCreateMPIDense MatGetInfo MatTranspose
MatCreateMPIRowbs MatGetType MatZeroEntries
MatCreateSeqAIJ MatNorm MatZeroRows
MatCreateSeqAdj MatReorderForNonzeroDiagonal MatZeroRowsLocal
MatCreateSeqBAIJ MatScale
Advanced - Setting more advanced options and customization
MatBDiagGetData MatGetSubMatrices MatRetrieveValues
MatCompress MatGetSubMatrix MatSeqAIJGetInodeSizes
MatConvertRegister MatGetValues MatSeqAIJSetColumnIndices
MatCreateShell MatHasOperation MatSeqBAIJSetColumnIndices
MatDestroyMatrices MatMPIBAIJSetHashTableFactor MatShellGetContext
MatGetArray MatPermute MatShellGetOperation
MatGetArrayF90 MatRestoreArray MatShellSetOperation
MatGetColumnVector MatRestoreArrayF90 MatStoreValues
MatGetRow MatRestoreRow
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
MatCholeskyFactor MatILUFactorSymbolic MatRestoreRowIJ
MatCholeskyFactorNumeric MatIncompleteCholeskyFactorSymbolic MatScaleSystem
MatCholeskyFactorSymbolic MatIncreaseOverlap MatSetUnfactored
MatColoringPatch MatLUFactor MatSolve
MatConvertRegisterAll MatLUFactorNumeric MatSolveAdd
MatGetColumnIJ MatLUFactorSymbolic MatSolveTrans
MatGetMaps MatLoadRegister MatSolveTransAdd
MatGetRowIJ MatLoadRegisterAll MatUnScaleSystem
MatGetTypeFromOptions MatPrintHelp MatUseScaledForm
MatILUDTFactor MatRelax MatValid
MatILUFactor MatRestoreColumnIJ

Table of Contents