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
MatMumpsSetIcntl
MATDENSE
MatColoringType
MatOption
MATMPIADJ
MatCreate
MatOrderingType
MATMPIAIJ
MatDestroy
MatPartitioning
MATMPIBAIJ
MatDuplicateOption
MatPartitioningType
MATMPISBAIJ
MatFDColoring
MatReuse
MATSBAIJ
MatFactorShiftType
MatSORType
MATSEQAIJ
MatFactorType
MatSetFromOptions
MATSEQBAIJ
MatGetLocalSize
MatSetSizes
MATSEQDENSE
MatGetOwnershipRange
MatSetStencil
MATSEQSBAIJ
MatGetOwnershipRanges
MatSetUpPreallocation
MAT_SOLVER_BAS
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
MatGetTrace
MatNullSpaceCreate
MATCOMPOSITE
MatGetValues
MatNullSpaceDestroy
MATIS
MatGetVecs
MatNullSpaceRemove
MATMAIJ
MatHasOperation
MatNullSpaceSetFunction
MATMFFD
MatISGetLocalMat
MatNullSpaceTest
MATSCATTER
MatImaginaryPart
MatPermute
MATSHELL
MatInodeGetInodeSizes
MatPermuteSparsify
MatAppendOptionsPrefix
MatIsHermitianKnown
MatRealPart
MatAssembled
MatIsSymmetricKnown
MatRegister
MatCompositeAddMat
MatMAIJGetAIJ
MatRegisterAll
MatCompositeMerge
MatMAIJRedimension
MatRegisterDAAD
MatCompositeSetType
MatMFFDAddNullSpace
MatRegisterDestroy
MatComputeExplicitOperator
MatMFFDCheckPositivity
MatRegisterDynamic
MatConjugate
MatMFFDDSSetUmin
MatRestoreArray
MatCreateComposite
MatMFFDGetH
MatRestoreArrayF90
MatCreateIS
MatMFFDResetHHistory
MatRestoreRow
MatCreateMAIJ
MatMFFDSetBase
MatRestoreRowUpperTriangular
MatCreateMFFD
MatMFFDSetCheckh
MatRetrieveValues
MatCreateMPIAIJWithSplitArrays
MatMFFDSetFromOptions
MatScatterSetVecScatter
MatCreateShell
MatMFFDSetFunction
MatSeqAIJSetColumnIndices
MatDestroyMatrices
MatMFFDSetFunctionError
MatSeqBAIJInvertBlockDiagonal
MatDestroySeqNonzeroStructure
MatMFFDSetFunctioni
MatSeqBAIJSetColumnIndices
MatGetArray
MatMFFDSetFunctioniBase
MatSeqSBAIJSetColumnIndices
MatGetArrayF90
MatMFFDSetHHistory
MatSetOptionsPrefix
MatGetColumnVector
MatMFFDSetOptionsPrefix
MatSetUp
MatGetDiagonalBlock
MatMFFDSetPeriod
MatSetValuesRow
MatGetGhosts
MatMFFDSetType
MatShellGetContext
MatGetInertia
MatMFFDWPSetComputeNormU
MatShellGetOperation
MatGetOptionsPrefix
MatMPIBAIJSetHashTableFactor
MatShellSetContext
MatGetRedundantMatrix
MatMPIBAIJSetValuesBlocked
MatShellSetOperation
MatGetRow
MatMerge
MatStashGetInfo
MatGetRowUpperTriangular
MatMerge_SeqsToMPI
MatStoreValues
MatGetSubMatrices
MatMissingDiagonal
MatGetSubMatrix
MatNullSpace
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
MatBackwardSolve
MatICCFactorSymbolic
MatRestoreRowIJ
MatCholeskyCheckShift_inline
MatILUFactor
MatSOR
MatCholeskyFactor
MatILUFactorSymbolic
MatScaleSystem
MatCholeskyFactorNumeric
MatIncreaseOverlap
MatSeqAIJSetPreallocationCSR
MatCholeskyFactorSymbolic
MatInitializePackage
MatSeqBAIJSetPreallocationCSR
MatColoringPatch
MatLUCheckShift_inline
MatSetColoring
MatColoringRegisterDynamic
MatLUFactor
MatSetUnfactored
MatCreateSubMatrix
MatLUFactorNumeric
MatSetValuesAdic
MatDiagonalScaleLocal
MatLUFactorSymbolic
MatSetValuesAdifor
MatFactorInfo
MatMFFDFinalizePackage
MatSolve
MatFactorInfoInitialize
MatMFFDInitializePackage
MatSolveAdd
MatFinalizePackage
MatMFFDRegisterAll
MatSolveTranspose
MatForwardSolve
MatMFFDRegisterDestroy
MatSolveTransposeAdd
MatGetBrowsOfAcols
MatMFFDRegisterDynamic
MatSolves
MatGetBrowsOfAoCols
MatMPIAIJSetPreallocationCSR
MatSubMatrixUpdate
MatGetColumnIJ
MatMPIBAIJSetPreallocationCSR
MatUnScaleSystem
MatGetCommunicationStructs
MatMatSolve
MatUseScaledForm
MatGetLocalMat
MatMultDiagonalBlock
MatValid
MatGetLocalMatCondensed
MatNullSpaceAttach
Mat_CheckCompressedRow
MatGetOwnershipRangeColumn
MatOrderingRegisterDynamic
PetscPLAPACKFinalizePackage
MatGetRowIJ
MatPartitioningRegisterDynamic
PetscPLAPACKInitializePackage
MatICCFactor
MatRestoreColumnIJ
No deprecated routines
None: Not yet cataloged
MAT_SOLVER_PLAPACK
MatGetColumnNorms
rase
Table of Contents