slepc-3.17.1 2022-04-11
Report Typos and Errors


Sets the diagonal matrix to be used for balancing.


#include "slepcst.h" 
PetscErrorCode STSetBalanceMatrix(ST st,Vec D)
Collective on st

Input Parameters

st  - the spectral transformation context
D  - the diagonal matrix (represented as a vector)


If this matrix is set, STApply will effectively apply D*OP*D^{-1}. Use NULL to reset a previously passed D.

Balancing is usually set via EPSSetBalance, but the advanced user may use this function to bypass the usual balancing methods.

See Also

EPSSetBalance(), STApply(), STGetBalanceMatrix()

Location: src/sys/classes/st/interface/stfunc.c
Index of all ST routines
Table of Contents for all manual pages
Index of all manual pages