MFNSetScaleFactor

Sets the scale factor to multiply the matrix (the argument of the function).

Synopsis

#include "slepcmfn.h" 
PetscErrorCode MFNSetScaleFactor(MFN mfn,PetscScalar alpha)
Logically Collective on MFN

Input Parameters

mfn - the matrix function context
alpha - the scaling factor

Options Database Keys

-mfn_scale <alpha> - Sets the scaling factor

Notes

The computed result is f(alpha*A)*b. The default is alpha=1.0.

See Also

MFNGetScaleFactor(), MFNSolve()

Location: src/mfn/interface/mfnopts.c
Index of all MFN routines
Table of Contents for all manual pages
Index of all manual pages