FNRATIONAL — SLEPc 3.25.0 documentation

Skip to main content
`Ctrl`+`K`

# FNRATIONAL

FNRATIONAL = “rational” - A rational function \(f(x)=p(x)/q(x)\), where the coefficients of the \(p(x)\) and \(q(x)\) polynomials are specified with `FNRationalSetNumerator()` and `FNRationalSetDenominator()`, respectively.

## Notes

The function will behave as a polynomial if only the numerator is given.

When working with matrix functions, the rational function should rather be interpreted as \(f(x)=q(x)^{-1}p(x)\).

## See Also

FN: Mathematical Functions, `FN`, `FNType`, `FNSetType()`, `FNRationalSetNumerator()`, `FNRationalSetDenominator()`

## Level

beginner

## Location

src/sys/classes/fn/impls/rational/fnrational.c

## Examples

src/nep/tutorials/ex22f.F90
src/nep/tutorials/ex27f.F90

Index of all FN routines Table of Contents for all manual pages Index of all manual pages