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
MATAIJ
MATSEQAIJSPOOLES
MatMult
MATAIJMUMPS
MATSEQBAIJ
MatMultAdd
MATAIJSPOOLES
MATSEQBDIAG
MatMultConstrained
MATBAIJ
MATSEQDENSE
MatMultTranspose
MATBDIAG
MATSEQSBAIJ
MatMultTransposeAdd
MATCRL
MATSEQSBAIJSPOOLES
MatMultTransposeConstrained
MATCSRPERM
MATSUPERLU
MatOption
MATDENSE
MATSUPERLU_DIST
MatOrderingType
MATDSCPACK
MATUMFPACK
MatPartitioning
MATESSL
Mat
MatPartitioningType
MATLUSOL
MatAssemblyBegin
MatReuse
MATMATLAB
MatAssemblyEnd
MatSORType
MATMPIADJ
MatAssemblyType
MatSetFromOptions
MATMPIAIJ
MatColoringType
MatSetSizes
MATMPIAIJSPOOLES
MatCreate
MatSetStencil
MATMPIBAIJ
MatDestroy
MatSetUpPreallocation
MATMPIBDIAG
MatDuplicateOption
MatSetValue
MATMPIDENSE
MatFDColoring
MatSetValues
MATMPIROWBS
MatGetLocalSize
MatSetValuesBlockedStencil
MATMPISBAIJ
MatGetOwnershipRange
MatSetValuesStencil
MATMPISBAIJSPOOLES
MatGetOwnershipRanges
MatStencil
MATPLAPACK
MatGetSize
MatStructure
MATSBAIJ
MatGetSubMatrixOption
MatType
MATSBAIJMUMPS
MatInfoType
MatView
MATSBAIJSPOOLES
MatLoad
MATSEQAIJ
MatMFFDType
Intermediate - Setting options for algorithms and data structures
MATDAAD
MatDenseGetLocalMatrix
MatPreallocateInitialize
MATMFFD_DS
MatDiagonalScale
MatPreallocateSet
MATMFFD_WP
MatDiagonalSet
MatPreallocateSetLocal
MatAXPY
MatDuplicate
MatPreallocateSymmetricInitialize
MatAYPX
MatEqual
MatPreallocateSymmetricSet
MatBlockMatSetPreallocation
MatGetBlockSize
MatPreallocateSymmetricSetLocal
MatConvert
MatGetDiagonal
MatPtAP
MatCopy
MatGetInfo
MatPtAPNumeric
MatCreateBlockMat
MatGetRowMax
MatPtAPSymbolic
MatCreateDAAD
MatGetRowMaxAbs
MatReorderForNonzeroDiagonal
MatCreateLRC
MatGetRowMin
MatRestrict
MatCreateMPIAIJ
MatGetRowSum
MatScale
MatCreateMPIAIJWithArrays
MatGetType
MatScatterGetVecScatter
MatCreateMPIAdj
MatInfo
MatSeqAIJSetPreallocation
MatCreateMPIBAIJ
MatInterpolate
MatSeqBAIJSetPreallocation
MatCreateMPIBDiag
MatInterpolateAdd
MatSeqBDiagSetPreallocation
MatCreateMPICRL
MatIsHermitian
MatSeqDenseSetLDA
MatCreateMPICSRPERM
MatIsHermitianTranspose
MatSeqDenseSetPreallocation
MatCreateMPIDense
MatIsStructurallySymmetric
MatSeqSBAIJSetPreallocation
MatCreateMPIRowbs
MatIsSymmetric
MatSetBlockSize
MatCreateMPISBAIJ
MatIsTranspose
MatSetLocalToGlobalMapping
MatCreateNormal
MatMPIAIJSetPreallocation
MatSetLocalToGlobalMappingBlock
MatCreateScatter
MatMPIAdjSetPreallocation
MatSetOption
MatCreateSeqAIJ
MatMPIBAIJSetPreallocation
MatSetType
MatCreateSeqAIJWithArrays
MatMPIBDiagSetPreallocation
MatSetValuesBlocked
MatCreateSeqBAIJ
MatMPIDenseSetPreallocation
MatSetValuesBlockedLocal
MatCreateSeqBAIJWithArrays
MatMPISBAIJSetPreallocation
MatSetValuesLocal
MatCreateSeqBDiag
MatMatMult
MatSetValuesRow
MatCreateSeqCRL
MatMatMultNumeric
MatSetValuesRowLocal
MatCreateSeqCSRPERM
MatMatMultSymbolic
MatShift
MatCreateSeqDense
MatMatMultTranspose
MatStashSetInitialSize
MatCreateSeqFFTW
MatMultAddEqual
MatTranspose
MatCreateSeqSBAIJ
MatMultEqual
MatZeroEntries
MatCreateSeqSBAIJWithArrays
MatMultTransposeAddEqual
MatZeroRows
MatDAADSetCtx
MatMultTransposeEqual
MatZeroRowsIS
MatDAADSetDA
MatNorm
MatZeroRowsLocal
MatDAADSetSNES
MatPreallocateFinalize
MatZeroRowsLocalIS
Advanced - Setting more advanced options and customization
MATBLOCKMAT
MatGetSubMatrices
MatNullSpace
MATCOMPOSITE
MatGetSubMatrix
MatNullSpaceCreate
MATIS
MatGetSubMatrixRaw
MatNullSpaceDestroy
MATMAIJ
MatGetValues
MatNullSpaceRemove
MATMFFD
MatGetVecs
MatNullSpaceSetFunction
MATSCATTER
MatHasOperation
MatNullSpaceTest
MATSHELL
MatISGetLocalMat
MatPermute
MatAppendOptionsPrefix
MatImaginaryPart
MatPermuteSparsify
MatAssembled
MatInodeGetInodeSizes
MatRealPart
MatBDiagGetData
MatIsHermitianKnown
MatRegister
MatCompositeAddMat
MatIsSymmetricKnown
MatRegisterAll
MatCompositeMerge
MatMFFDAddNullSpace
MatRegisterDAAD
MatCompress
MatMFFDCheckPositivity
MatRegisterDestroy
MatComputeExplicitOperator
MatMFFDDSSetUmin
MatRegisterDynamic
MatConjugate
MatMFFDGetH
MatRestoreArray
MatCreateComposite
MatMFFDResetHHistory
MatRestoreArrayF90
MatCreateIS
MatMFFDSetBase
MatRestoreRow
MatCreateMAIJ
MatMFFDSetCheckh
MatRestoreRowUpperTriangular
MatCreateMFFD
MatMFFDSetFromOptions
MatRetrieveValues
MatCreateMPIAIJWithSplitArrays
MatMFFDSetFunction
MatScatterSetVecScatter
MatCreateSNESMF
MatMFFDSetFunctionError
MatSeqAIJSetColumnIndices
MatCreateShell
MatMFFDSetFunctioni
MatSeqBAIJInvertBlockDiagonal
MatDestroyMatrices
MatMFFDSetFunctioniBase
MatSeqBAIJSetColumnIndices
MatDestroySeqNonzeroStructure
MatMFFDSetHHistory
MatSeqSBAIJSetColumnIndices
MatGetArray
MatMFFDSetPeriod
MatSetOptionsPrefix
MatGetArrayF90
MatMFFDSetType
MatSetUp
MatGetColumnVector
MatMFFDWPSetComputeNormU
MatShellGetContext
MatGetInertia
MatMPIBAIJSetHashTableFactor
MatShellGetOperation
MatGetOptionsPrefix
MatMPIBAIJSetValuesBlocked
MatShellSetContext
MatGetRedundantMatrix
MatMerge
MatShellSetOperation
MatGetRow
MatMerge_SeqsToMPI
MatStashGetInfo
MatGetRowUpperTriangular
MatMissingDiagonal
MatStoreValues
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
MatCholeskyCheckShift_inline
MatILUFactor
MatRelax
MatCholeskyFactor
MatILUFactorSymbolic
MatRestoreColumnIJ
MatCholeskyFactorNumeric
MatIncreaseOverlap
MatRestoreRowIJ
MatCholeskyFactorSymbolic
MatInitializePackage
MatScaleSystem
MatColoringPatch
MatLUCheckShift_inline
MatSeqAIJSetPreallocationCSR
MatColoringRegisterDynamic
MatLUFactor
MatSetColoring
MatDiagonalScaleLocal
MatLUFactorNumeric
MatSetUnfactored
MatFactorInfo
MatLUFactorSymbolic
MatSetValuesAdic
MatFactorInfoInitialize
MatMFFDComputeJacobian
MatSetValuesAdifor
MatGetBrowsOfAcols
MatMFFDInitializePackage
MatSolve
MatGetBrowsOfAoCols
MatMFFDRegisterAll
MatSolveAdd
MatGetColumnIJ
MatMFFDRegisterDestroy
MatSolveTranspose
MatGetCommunicationStructs
MatMFFDRegisterDynamic
MatSolveTransposeAdd
MatGetLocalMat
MatMPIAIJSetPreallocationCSR
MatSolves
MatGetLocalMatCondensed
MatMPIBAIJSetPreallocationCSR
MatUnScaleSystem
MatGetOwnershipRangeColumn
MatMatSolve
MatUseScaledForm
MatGetRowIJ
MatNullSpaceAttach
MatValid
MatICCFactor
MatOrderingRegisterDynamic
Mat_CheckCompressedRow
MatICCFactorSymbolic
MatPBRelax
MatILUDTFactor
MatPartitioningRegisterDynamic
No deprecated routines
None: Not yet cataloged
MatGetSeqNonzeroStructure
Table of Contents