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 MatCreateSeqSBAIJ MatSetLocalToGlobalMapping
MatConvert MatDiagonalScale MatSetLocalToGlobalMappingBlock
MatCopy MatDiagonalSet MatSetOption
MatCreateMPIAIJ MatDuplicate MatSetStashInitialSize
MatCreateMPIAdj MatEqual MatSetType
MatCreateMPIBAIJ MatGetBlockSize MatSetValuesBlocked
MatCreateMPIBDiag MatGetDiagonal MatSetValuesBlockedLocal
MatCreateMPIDense MatGetInfo MatSetValuesLocal
MatCreateMPIRowbs MatGetType MatShift
MatCreateMPISBAIJ MatInterpolate MatTranspose
MatCreateSeqAIJ MatInterpolateAdd MatZeroEntries
MatCreateSeqAIJWithArrays MatNorm MatZeroRows
MatCreateSeqBAIJ MatReorderForNonzeroDiagonal MatZeroRowsLocal
MatCreateSeqBDiag MatRestrict
Advanced - Setting more advanced options and customization
MatAssembled MatGetValues MatRestoreArray
MatBDiagGetData MatHasOperation MatRestoreArrayF90
MatCompress MatMPIBAIJSetHashTableFactor MatRestoreRow
MatConvertRegister MatMPISBAIJSetHashTableFactor MatRetrieveValues
MatCreateShell MatNullSpaceCreate MatSeqAIJGetInodeSizes
MatDestroyMatrices MatNullSpaceDestroy MatSeqAIJSetColumnIndices
MatGetArray MatNullSpaceRemove MatSeqBAIJSetColumnIndices
MatGetArrayF90 MatNullSpaceTest MatSeqSBAIJSetColumnIndices
MatGetColumnVector MatPermute MatShellGetContext
MatGetRow MatRegisterAll MatShellGetOperation
MatGetSubMatrices MatRegisterDestroy MatShellSetOperation
MatGetSubMatrix MatRegisterDynamic MatStoreValues
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
MatCholeskyFactor MatIncompleteCholeskyFactor MatRestoreRowIJ
MatCholeskyFactorNumeric MatIncompleteCholeskyFactorSymbolic MatScaleSystem
MatCholeskyFactorSymbolic MatIncreaseOverlap MatSetTypeFromOptions
MatColoringPatch MatLUFactor MatSetUnfactored
MatConvertRegisterAll MatLUFactorNumeric MatSolve
MatGetColumnIJ MatLUFactorSymbolic MatSolveAdd
MatGetMaps MatLoadRegister MatSolveTranspose
MatGetRowIJ MatLoadRegisterAll MatSolveTransposeAdd
MatGetTypeFromOptions MatNullSpaceAttach MatUnScaleSystem
MatILUDTFactor MatPrintHelp MatUseScaledForm
MatILUFactor MatRelax MatValid
MatILUFactorSymbolic MatRestoreColumnIJ

Table of Contents