slepc3.20.1 20231127
LMESetRHS
Sets the righthand side of the matrix equation, as a lowrank matrix.
Synopsis
#include "slepclme.h"
PetscErrorCode LMESetRHS(LME lme,Mat C)
Collective
Input Parameters
 lme   the matrix function context

 C   the righthand side matrix

Notes
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 lowrank matrix of type MATLRC, that is,
C = U*D*V' where D is diagonal of order k, and U, V are dense tallskinny
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()
Level
beginner
Location
src/lme/interface/lmesetup.c
Examples
src/lme/tutorials/ex32.c
Index of all LME routines
Table of Contents for all manual pages
Index of all manual pages