DSSetCompact#

Switch to compact storage of matrices.

Synopsis#

#include "slepcds.h" 
PetscErrorCode DSSetCompact(DS ds,PetscBool comp)

Logically Collective

Input Parameters#

  • ds - the direct solver context

  • comp - a boolean flag

Notes#

Compact storage is used in some DS types such as DSHEP when the matrix is tridiagonal. This flag can be used to indicate whether the user provides the matrix entries via the compact form (the tridiagonal DS_MAT_T) or the non-compact one (DS_MAT_A).

The default is PETSC_FALSE.

See Also#

DSGetCompact()

Level#

advanced

Location#

src/sys/classes/ds/interface/dsbasic.c

Implementations#

DSSetCompact_HEP() in src/sys/classes/ds/impls/hep/dshep.c
DSSetCompact_HSVD() in src/sys/classes/ds/impls/hsvd/dshsvd.c
DSSetCompact_SVD() in src/sys/classes/ds/impls/svd/dssvd.c


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