slepc-3.5.2 2014-10-10
Report Typos and Errors

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> - the scaling factor

Notes

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

In the case of complex scalars, a complex value can be provided in the command line with [+/-][realnumber][+/-]realnumberi with no spaces, e.g. -mfn_scale 1.0+2.0i

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