MatSeqDenseInvert#

Invert a small MATSEQDENSE matrix in place using a hard-coded kernel.

Synopsis#

#include "petscmat.h" 
PetscErrorCode MatSeqDenseInvert(Mat A)

Not Collective

Input Parameter#

Note#

Intended for small blocks; specialized kernels are used for sizes up to 7 and LAPACK is used for larger sizes. If the matrix is singular and MatSetErrorIfFailure() was called an error will be immediately generated, otherwise the factor error type in the matrix, which can be obtained with MatFactorGetError(), is set to MAT_FACTOR_NUMERIC_ZEROPIVOT.

See Also#

Mat, MATSEQDENSE, MatInvertBlockDiagonal(), MatLUFactor(), MatSetErrorIfFailure(), MatFactorGetError()

Level#

developer

Location#

src/mat/impls/dense/seq/dense.c


Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages