#include "slepcds.h" PetscErrorCode DSTranslateHarmonic(DS ds,PetscScalar tau,PetscReal beta,PetscBool recover,PetscScalar *g,PetscReal *gamma)Logically Collective on ds
ds | - the direct solver context | |
tau | - the translation amount | |
beta | - last component of vector b | |
recover | - boolean flag to indicate whether to recover or not |
g | - the computed vector (optional) | |
gamma | - scale factor (optional) |
The gamma factor is defined as sqrt(1+g'*g) and can be interpreted as the factor by which the residual of the Krylov decomposition is scaled.
If the recover flag is activated, the computed translation undoes the translation done previously. In that case, parameter tau is ignored.
Location: src/sys/classes/ds/interface/dsops.c
Index of all DS routines
Table of Contents for all manual pages
Index of all manual pages