petsc-master 2015-08-29
Report Typos and Errors

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
MATAIJCRL MatMkl_CPardisoSetCntl MATSEQSBAIJ
MATAIJCUSPARSE MatMkl_PardisoSetCntl MatSetFromOptions
MATAIJCUSP MATMPIADJ MatSetSizes
MATAIJ MATMPIAIJ MatSetStencil
MATAIJPERM MATMPIBAIJ MatSetUp
MATAIJVIENNACL MATMPISBAIJ MatSetValue
MatAssemblyBegin MatMultAdd MatSetValuesBlockedStencil
MatAssemblyEnd MatMultConstrained MatSetValues
MatAssemblyType MatMultHermitianTransposeAdd MatSetValuesStencil
MATBAIJ MatMultHermitianTranspose MATSOLVERBAS
MatCoarsen MatMult MATSOLVERCHOLMOD
MatCoarsenType MatMultTransposeAdd MATSOLVERCLIQUE
MatColoring MatMultTransposeConstrained MATSOLVERCUSPARSE
MatColoringType MatMultTranspose MATSOLVERESSL
MatComputeBandwidth MatMumpsGetCntl MATSOLVERKLU
MatCreate MatMumpsGetIcntl MATSOLVERLUSOL
MATDENSE MatMumpsGetInfog MATSOLVERMATLAB
MatDestroy MatMumpsGetInfo MATSOLVERMKL_PARDISO
MatDuplicateOption MatMumpsGetRinfog MATSOLVERMUMPS
MatElementalHermitianGenDefEig MatMumpsGetRinfo MatSolverPackage
MATELEMENTAL MatMumpsSetCntl MATSOLVERPASTIX
MatFactorShiftType MatMumpsSetIcntl MATSOLVERSUPERLU_DIST
MatFactorType MatOption MATSOLVERSUPERLU
MatFDColoring MatOrderingType MATSOLVERUMFPACK
MatGetLocalSize MatPartitioning MatSORType
MatGetOwnershipRange MatPartitioningType MatStencil
MatGetOwnershipRangesColumn MatReuse MatStructure
MatGetOwnershipRanges MATSBAIJ MatSuperluSetILUDropTol
MatGetSize MATSEQAIJCUSPARSE MatTransposeColoring
MatGetSubMatrixOption MATSEQAIJCUSP MatType
Mat MATSEQAIJ MatView
MatInfoType MATSEQAIJVIENNACL MatXAIJSetPreallocation
MatLoad MATSEQBAIJ
MatMFFDType MATSEQDENSE
Intermediate - Setting options for algorithms and data structures
MatAXPY MatGetBlockSizes MatPtAPNumeric
MatAYPX MatGetColumnNorms MatPtAPSymbolic
MatBlockMatSetPreallocation MatGetDiagonal MatPythonCreate
MatChop MatGetFactorAvailable MatPythonSetType
MatColoringWeightType MatGetFactor MatRARt
MatConvert MatGetFactorType MatRARtNumeric
MatCopy MatGetInfo MatRARtSymbolic
MatCreateAIJCUSPARSE MatGetLocalSubMatrix MatReorderForNonzeroDiagonal
MatCreateAIJCUSP MatGetNonzeroState MatRestoreLocalSubMatrix
MatCreateAIJ MatGetOption MatRestrict
MatCreateAIJViennaCL MatGetOwnershipIS MatScale
MatCreateBAIJ MatGetRowMaxAbs MatScatterGetVecScatter
MatCreateBlockMat MatGetRowMax MatSeqAIJFromMatlab
MatCreateDense MatGetRowMinAbs MatSeqAIJGetArray
MatCreateFFT MatGetRowMin MatSeqAIJGetMaxRowNonzeros
MatCreateHermitianTranspose MatGetRowSum MatSeqAIJRestoreArray
MatCreateLRC MatGetSeqNonzeroStructure MatSeqAIJSetPreallocation
MatCreateMPIAdj MatGetType MatSeqBAIJSetPreallocation
MatCreateMPIAIJCRL MatHermitianTranspose MatSeqDenseSetLDA
MatCreateMPIAIJPERM MatInfo MatSeqDenseSetPreallocation
MatCreateMPIAIJWithArrays MatInterpolateAdd MatSeqSBAIJSetPreallocation
MatCreateMPIBAIJWithArrays MatInterpolate MatSetBlockSize
MatCreateMPISBAIJWithArrays MatIsHermitian MatSetBlockSizes
MatCreateNormal MatIsHermitianTranspose MatSetLocalToGlobalMapping
MatCreateSBAIJ MatISSetPreallocation MatSetOption
MatCreateScatter MatIsStructurallySymmetric MatSetRandom
MatCreateSeqAIJCRL MatIsSymmetric MatSetType
MatCreateSeqAIJCUSPARSE MatIsTranspose MatSetValuesBlocked
MatCreateSeqAIJCUSP MatMatMatMult MatSetValuesBlockedLocal
MatCreateSeqAIJFromTriple MatMatMult MatSetValuesLocal
MatCreateSeqAIJ MatMatMultNumeric MatSetValuesRowLocal
MatCreateSeqAIJPERM MatMatMultSymbolic MatShift
MatCreateSeqAIJViennaCL MatMatTransposeMult MatSolvePackageGet
MatCreateSeqAIJWithArrays MATMFFD_DS MatSolvePackageRegister
MatCreateSeqBAIJ MATMFFD_WP MatStashSetInitialSize
MatCreateSeqCUFFT MatMPIAdjSetPreallocation MatTransColoringApplyDenToSp
MatCreateSeqDense MatMPIAIJSetPreallocation MatTransColoringApplySpToDen
MatCreateSeqSBAIJ MatMPIBAIJSetPreallocation MatTransposeColoringCreate
MatCreateTranspose MatMPIDenseSetPreallocation MatTransposeColoringDestroy
MatCUSPARSEFormatOperation MatMPISBAIJSetPreallocation MatTranspose
MatCUSPARSESetFormat MatMultAddEqual MatTransposeMatMult
MatCUSPARSEStorageFormat MatMultEqual MatZeroEntries
MatCUSPFormatOperation MatMultTransposeAddEqual MatZeroRowsColumns
MatCUSPSetFormat MatMultTransposeEqual MatZeroRowsColumnsIS
MatCUSPStorageFormat MATNEST MatZeroRowsColumnsLocal
MatDenseGetArray MatNorm MatZeroRowsColumnsLocalIS
MatDenseGetLocalMatrix MatPreallocateFinalize MatZeroRowsColumnsStencil
MatDenseRestoreArray MatPreallocateInitialize MatZeroRows
MatDiagonalScale MatPreallocateLocation MatZeroRowsIS
MatDiagonalSet MatPreallocateSet MatZeroRowsLocal
MatDuplicate MatPreallocateSetLocalBlock MatZeroRowsLocalIS
MatEqual MatPreallocateSetLocal MatZeroRowsStencil
MatFactorGetSolverPackage MatPreallocateSymmetricSetBlock VecScatterFFTWToPetsc
MatFindNonzeroRows MatPreallocateSymmetricSetLocalBlock VecScatterPetscToFFTW
MatGetBlockSize MatPtAP
Advanced - Setting more advanced options and customization
MatAppendOptionsPrefix MatHasOperation MatNestSetSubMats
MatAssembled MatImaginaryPart MatNullSpaceCreate
MATBLOCKMAT MatInodeGetInodeSizes MatNullSpaceCreateRigidBody
MatCompositeAddMat MatInvertBlockDiagonal MatNullSpaceDestroy
MATCOMPOSITE MatISGetLocalMat MatNullSpace
MatCompositeMerge MatIsHermitianKnown MatNullSpaceRemove
MatCompositeSetType MATIS MatNullSpaceSetFunction
MatComputeExplicitOperator MatISSetLocalMat MatNullSpaceTest
MatConjugate MatIsSymmetricKnown MatNullSpaceView
MatCreateComposite MatMAIJGetAIJ MatPermute
MatCreateIS MATMAIJ MatRealPart
MatCreateMAIJ MatMAIJRedimension MatRegisterAll
MatCreateMFFD MatMFFDCheckPositivity MatRegisterBaseName
MatCreateMPIAIJSumSeqAIJ MatMFFDDSSetUmin MatRegister
MatCreateMPIAIJWithSplitArrays MatMFFDGetH MatRestoreRow
MatCreateMPIMatConcatenateSeqMat MATMFFD MatRestoreRowUpperTriangular
MatCreateNest MatMFFDResetHHistory MatRetrieveValues
MatCreateRedundantMatrix MatMFFDSetBase MATSCATTER
MatCreateSeqBAIJWithArrays MatMFFDSetCheckh MatScatterSetVecScatter
MatCreateSeqSBAIJWithArrays MatMFFDSetFunctionError MatSeqAIJGetArrayF90
MatCreateShell MatMFFDSetFunction MatSeqAIJRestoreArrayF90
MatCreateVecsFFTW MatMFFDSetFunctioniBase MatSeqAIJSetColumnIndices
MatCreateVecs MatMFFDSetFunctioni MatSeqBAIJSetColumnIndices
MatDenseGetArrayF90 MatMFFDSetHHistory MatSeqSBAIJSetColumnIndices
MatDenseRestoreArrayF90 MatMFFDSetOptionsPrefix MatSetErrorIfFPE
MatDestroyMatrices MatMFFDSetPeriod MatSetNearNullSpace
MatDestroySeqNonzeroStructure MatMFFDSetType MatSetNullSpace
MatGetColumnVector MatMFFDWPSetComputeNormU MatSetOptionsPrefix
MatGetDiagonalBlock MatMissingDiagonal MatSetTransposeNullSpace
MatGetGhosts MatMPIAIJSetValuesBatch MatSetValuesBatch
MatGetInertia MatMPIBAIJSetHashTableFactor MatSetValuesRow
MatGetLayouts MatMPIBAIJSetValuesBlocked MatShellGetContext
MatGetLocalToGlobalMapping MatMumpsCreateSchurComplement MatShellGetOperation
MatGetMultiProcBlock MatMumpsGetSchurComplement MATSHELL
MatGetOptionsPrefix MatMumpsInvertSchurComplement MatShellSetContext
MatGetRow MatMumpsRestoreSchurComplement MatShellSetOperation
MatGetRowUpperTriangular MatMumpsSetSchurIndices MatStashGetInfo
MatGetSubMatrices MatMumpsSolveSchurComplement MatStoreValues
MatGetSubMatrix MatMumpsSolveSchurComplementTranspose MatSubdomainsCreateCoalesce
MatGetTrace MatNestGetISs
MatGetValues MatNestGetLocalISs
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
MatBackwardSolve MatICCFactorSymbolic MatNestGetSubMats
MatCheckCompressedRow MatILUFactor MatNestSetSubMat
MatCholeskyFactor MatILUFactorSymbolic MatNestSetVecType
MatCholeskyFactorNumeric MatIncreaseOverlap MatNullSpaceGetVecs
MatCholeskyFactorSymbolic MatInitializePackage MatResidual
MatColoringPatch MatISGetMPIXAIJ MatRestoreColumnIJ
MatCreateLocalRef MatLUFactor MatRestoreRowIJ
MatCreateSubMatrix MatLUFactorNumeric MatSeqAIJSetPreallocationCSR
MatDiagonalScaleLocal MatLUFactorSymbolic MatSeqBAIJSetPreallocationCSR
MatFactorInfo MatMatSolve MatSeqSBAIJSetPreallocationCSR
MatFactorInfoInitialize MatMFFDFinalizePackage MatSetBlockSizesFromMats
MatFinalizePackage MatMFFD MatSetUnfactored
MatFindOffBlockDiagonalEntries MatMFFDInitializePackage MatSetValuesAdifor
MatFindZeroDiagonals MatMFFDRegisterAll MatSolveAdd
MatForwardSolve MatMFFDRegister MatSolve
MatGetBrowsOfAcols MatMPIAdjCreateNonemptySubcommMat MatSolves
MatGetColumnIJ MatMPIAIJGetLocalMatCondensed MatSolveTransposeAdd
MatGetCommunicationStructs MatMPIAIJGetLocalMat MatSolveTranspose
MatGetNearNullSpace MatMPIAIJSetPreallocationCSR MatSOR
MatGetNullSpace MatMPIBAIJSetPreallocationCSR MatSubMatrixUpdate
MatGetOwnershipRangeColumn MatMPISBAIJSetPreallocationCSR PetscElementalFinalizePackage
MatGetRowIJ MatMultDiagonalBlock PetscElementalInitializePackage
MatGetTransposeNullSpace MatNestGetSize
MatICCFactor MatNestGetSubMat
No deprecated routines

Table of Contents