slepc-3.15.0 2021-03-31
Report Typos and Errors


Sets a flag to indicate that the matrix has one extra row.


#include "slepcds.h" 
PetscErrorCode DSSetExtraRow(DS ds,PetscBool ext)
Logically Collective on ds

Input Parameter

ds  - the direct solver context
ext  - a boolean flag


In Krylov methods it is useful that the matrix representing the direct solver has one extra row, i.e., has dimension (n+1) x n. If this flag is activated, all transformations applied to the right of the matrix also affect this additional row. In that case, (n+1) must be less or equal than the leading dimension.

The default is PETSC_FALSE.

See Also

DSSolve(), DSAllocate(), DSGetExtraRow()

Location: src/sys/classes/ds/interface/dsbasic.c
Index of all DS routines
Table of Contents for all manual pages
Index of all manual pages