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 MatMultTranspose
MatAssemblyEnd MatGetSize MatMultTransposeAdd
MatCreate MatLoad MatSetValue
MatDestroy MatMult MatSetValues
MatGetLocalSize MatMultAdd MatView
Intermediate - Setting options for algorithms and data structures
MatAXPY MatCreateSeqDense MatScale
MatAYPX MatDiagonalScale MatSetLocalToGlobalMapping
MatConvert MatDiagonalShift MatSetLocalToGlobalMappingBlock
MatCopy MatDuplicate MatSetOption
MatCreateMPIAIJ MatEqual MatSetStashInitialSize
MatCreateMPIAdj MatGetBlockSize MatSetValuesBlocked
MatCreateMPIBAIJ MatGetDiagonal MatSetValuesBlockedLocal
MatCreateMPIBDiag MatGetInfo MatSetValuesLocal
MatCreateMPIDense MatGetType MatShift
MatCreateMPIRowbs MatInterpolate MatTranspose
MatCreateSeqAIJ MatInterpolateAdd MatZeroEntries
MatCreateSeqAIJWithArrays MatNorm MatZeroRows
MatCreateSeqBAIJ MatReorderForNonzeroDiagonal MatZeroRowsLocal
MatCreateSeqBDiag MatRestrict
Advanced - Setting more advanced options and customization
MatAssembled MatGetRow MatRestoreRow
MatBDiagGetData MatGetSubMatrices MatRetrieveValues
MatCompress MatGetSubMatrix MatSeqAIJGetInodeSizes
MatConvertRegister MatGetValues MatSeqAIJSetColumnIndices
MatCreateShell MatHasOperation MatSeqBAIJSetColumnIndices
MatDestroyMatrices MatMPIBAIJSetHashTableFactor MatShellGetContext
MatGetArray MatPermute MatShellGetOperation
MatGetArrayF90 MatRestoreArray MatShellSetOperation
MatGetColumnVector MatRestoreArrayF90 MatStoreValues
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 MatSolveTranspose
MatGetMaps MatLoadRegister MatSolveTransposeAdd
MatGetRowIJ MatLoadRegisterAll MatUnScaleSystem
MatGetTypeFromOptions MatPrintHelp MatUseScaledForm
MatILUDTFactor MatRelax MatValid
MatILUFactor MatRestoreColumnIJ

Table of Contents