slepc-3.10.2 2019-02-11
Report Typos and Errors


Sets the right-hand side of the matrix equation, as a low-rank matrix.


#include "slepclme.h" 
PetscErrorCode LMESetRHS(LME lme,Mat C)
Collective on LME and Mat

Input Parameters

lme  - the matrix function context
C  - the right-hand side matrix


The matrix equation takes the general form A*X*E+D*X*B=C, where matrix C is given with this function. C must be a low-rank matrix of type MATLRC, that is, C = U*D*V' where D is diagonal of order k, and U, V are dense tall-skinny matrices with k columns. No sparse matrix must be provided when creating the MATLRC matrix.

In equation types that require C to be symmetric, such as Lyapunov, C must be created with V=U (or V=NULL).

See Also

LMESetSolution(), LMESetProblemType()

Location: src/lme/interface/lmesetup.c
Index of all LME routines
Table of Contents for all manual pages
Index of all manual pages