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
MatDuplicate
MatSeqAIJSetPreallocation
MatAYPX
MatEqual
MatSeqBAIJSetPreallocation
MatConvert
MatGetBlockSize
MatSeqBDiagSetPreallocation
MatCopy
MatGetDiagonal
MatSeqDenseSetPreallocation
MatCreateMPIAIJ
MatGetInfo
MatSeqSBAIJSetPreallocation
MatCreateMPIAdj
MatGetRowMax
MatSetLocalToGlobalMapping
MatCreateMPIBAIJ
MatGetType
MatSetLocalToGlobalMappingBlock
MatCreateMPIBDiag
MatInfo
MatSetOption
MatCreateMPIDense
MatInterpolate
MatSetStashInitialSize
MatCreateMPIRowbs
MatInterpolateAdd
MatSetType
MatCreateMPISBAIJ
MatMPIAIJSetPreallocation
MatSetValuesBlocked
MatCreateSeqAIJ
MatMPIBAIJSetPreallocation
MatSetValuesBlockedLocal
MatCreateSeqAIJWithArrays
MatMPIBDiagSetPreallocation
MatSetValuesLocal
MatCreateSeqBAIJ
MatMPIDenseSetPreallocation
MatShift
MatCreateSeqBDiag
MatMPISBAIJSetPreallocation
MatTranspose
MatCreateSeqDense
MatNorm
MatZeroEntries
MatCreateSeqSBAIJ
MatReorderForNonzeroDiagonal
MatZeroRows
MatDiagonalScale
MatRestrict
MatZeroRowsLocal
MatDiagonalSet
MatScale
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
MatILUFactor
MatRestoreColumnIJ
MatCholeskyFactorNumeric
MatILUFactorSymbolic
MatRestoreRowIJ
MatCholeskyFactorSymbolic
MatILUInfo
MatScaleSystem
MatCholeskyInfo
MatIncreaseOverlap
MatSetUnfactored
MatColoringPatch
MatLUFactor
MatSolve
MatConvertRegister
MatLUFactorNumeric
MatSolveAdd
MatConvertRegisterAll
MatLUFactorSymbolic
MatSolveTranspose
MatGetColumnIJ
MatLUInfo
MatSolveTransposeAdd
MatGetMaps
MatLoadRegister
MatUnScaleSystem
MatGetRowIJ
MatLoadRegisterAll
MatUseScaledForm
MatICCFactor
MatNullSpaceAttach
MatValid
MatICCFactorSymbolic
MatPrintHelp
MatILUDTFactor
MatRelax
Table of Contents