Matrices Mat: :
Examples
PETSc matrices (Mat objects) are used to store Jacobians and other sparse matrices in PDE-based (or other) simulations.
Beginner - Basic usage
Mat
MatInfoType
MatSORType
MatAssemblyBegin
MatLoad
MatSetFromOptions
MatAssemblyEnd
MatMult
MatSetStencil
MatAssemblyType
MatMultAdd
MatSetUpPreallocation
MatColoringType
MatMultTranspose
MatSetValue
MatCreate
MatMultTransposeAdd
MatSetValues
MatDestroy
MatNullSpace
MatSetValuesStencil
MatDuplicateOption
MatOption
MatStencil
MatFDColoring
MatOrderingType
MatStructure
MatGetLocalSize
MatPartitioning
MatType
MatGetOwnershipRange
MatPartitioningType
MatView
MatGetSize
MatReuse
Intermediate - Setting options for algorithms and data structures
MatAXPY
MatDAADSetSNES
MatRestrict
MatAYPX
MatDiagonalScale
MatScale
MatConvert
MatDiagonalSet
MatSeqAIJSetPreallocation
MatCopy
MatDuplicate
MatSeqBAIJSetPreallocation
MatCreateDAAD
MatEqual
MatSeqBDiagSetPreallocation
MatCreateMPIAIJ
MatGetBlockSize
MatSeqDenseSetPreallocation
MatCreateMPIAdj
MatGetDiagonal
MatSeqSBAIJSetPreallocation
MatCreateMPIBAIJ
MatGetInfo
MatSetLocalToGlobalMapping
MatCreateMPIBDiag
MatGetRowMax
MatSetLocalToGlobalMappingBlock
MatCreateMPIDense
MatGetType
MatSetOption
MatCreateMPIRowbs
MatInfo
MatSetStashInitialSize
MatCreateMPISBAIJ
MatInterpolate
MatSetType
MatCreateSeqAIJ
MatInterpolateAdd
MatSetValuesBlocked
MatCreateSeqAIJWithArrays
MatMPIAIJSetPreallocation
MatSetValuesBlockedLocal
MatCreateSeqBAIJ
MatMPIBAIJSetPreallocation
MatSetValuesLocal
MatCreateSeqBDiag
MatMPIBDiagSetPreallocation
MatShift
MatCreateSeqDense
MatMPIDenseSetPreallocation
MatTranspose
MatCreateSeqSBAIJ
MatMPISBAIJSetPreallocation
MatZeroEntries
MatDAADSetCtx
MatNorm
MatZeroRows
MatDAADSetDA
MatReorderForNonzeroDiagonal
MatZeroRowsLocal
Advanced - Setting more advanced options and customization
MatAssembled
MatHasOperation
MatRestoreRow
MatBDiagGetData
MatMPIBAIJSetHashTableFactor
MatRetrieveValues
MatCompress
MatMPISBAIJSetHashTableFactor
MatSeqAIJGetInodeSizes
MatComputeExplicitOperator
MatNullSpaceCreate
MatSeqAIJSetColumnIndices
MatCreateShell
MatNullSpaceDestroy
MatSeqBAIJSetColumnIndices
MatDestroyMatrices
MatNullSpaceRemove
MatSeqSBAIJSetColumnIndices
MatGetArray
MatNullSpaceTest
MatShellGetContext
MatGetArrayF90
MatPermute
MatShellGetOperation
MatGetColumnVector
MatRegisterAll
MatShellSetContext
MatGetRow
MatRegisterDestroy
MatShellSetOperation
MatGetSubMatrices
MatRegisterDynamic
MatStoreValues
MatGetSubMatrix
MatRestoreArray
MatGetValues
MatRestoreArrayF90
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
MatCholeskyFactor
MatILUFactorSymbolic
MatScaleSystem
MatCholeskyFactorNumeric
MatILUInfo
MatSetColoring
MatCholeskyFactorSymbolic
MatIncreaseOverlap
MatSetUnfactored
MatCholeskyInfo
MatLUFactor
MatSetValuesAdic
MatColoringPatch
MatLUFactorNumeric
MatSetValuesAdifor
MatConvertRegister
MatLUFactorSymbolic
MatSolve
MatConvertRegisterAll
MatLUInfo
MatSolveAdd
MatGetColumnIJ
MatLoadRegister
MatSolveTranspose
MatGetPetscMaps
MatLoadRegisterAll
MatSolveTransposeAdd
MatGetRowIJ
MatNullSpaceAttach
MatUnScaleSystem
MatICCFactor
MatPrintHelp
MatUseScaledForm
MatICCFactorSymbolic
MatRelax
MatValid
MatILUDTFactor
MatRestoreColumnIJ
MatILUFactor
MatRestoreRowIJ
Table of Contents