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