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