MatLUFactor

Performs in-place LU factorization of matrix.

Synopsis

#include "mat.h" 
int MatLUFactor(Mat mat,IS row,IS col,PetscReal f)
Collective on Mat

Input Parameters

mat - the matrix
row - row permutation
col - column permutation
f - expected fill as ratio of original fill.

Notes

Most users should employ the simplified SLES interface for linear solvers instead of working directly with matrix algebra routines such as this. See, e.g., SLESCreate().

This changes the state of the matrix to a factored matrix; it cannot be used for example with MatSetValues() unless one first calls MatSetUnfactored().

Keywords

matrix, factor, LU, in-place

See Also

MatLUFactorSymbolic(), MatLUFactorNumeric(), MatCholeskyFactor(),
MatGetOrdering(), MatSetUnfactored()

Level:developer
Location:src/mat/interface/matrix.c
Matrix Index
Table of Contents