slepc-3.22.2 2024-12-02
Report Typos and Errors

SVDTRLanczosSetOneSide

Indicate if the variant of the Lanczos method to be used is one-sided or two-sided.

Synopsis

#include "slepcsvd.h" 
PetscErrorCode SVDTRLanczosSetOneSide(SVD svd,PetscBool oneside)
Logically Collective

Input Parameters

svd  - singular value solver
oneside  - boolean flag indicating if the method is one-sided or not

Options Database Key

-svd_trlanczos_oneside <boolean>  - Indicates the boolean flag

Notes

By default, a two-sided variant is selected, which is sometimes slightly more robust. However, the one-sided variant is faster because it avoids the orthogonalization associated to left singular vectors.

One-sided orthogonalization is also available for the GSVD, in which case two orthogonalizations out of three are avoided.

See Also

SVDLanczosSetOneSide()

Level

advanced

Location

src/svd/impls/trlanczos/trlanczos.c

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