Mathematical Function - FN — SLEPc 3.25.0 documentation

Skip to main content
`Ctrl`+`K`

# Mathematical Function - FN

The FN package provides the functionality to represent a simple mathematical function such as an exponential, a polynomial or a rational function. This is used as a building block for defining the function associated to the nonlinear eigenproblem, as well as for specifying which function to use when computing the action of a matrix function on a vector.

Related Users Manual part: FN: Mathematical Functions.

## Beginner - Basic usage

FN FNCOMBINE FNCreate FNDestroy FNEXP | FNINVSQRT FNLOG FNPHI FNRATIONAL | FNSQRT FNSetFromOptions FNType FNView

## Intermediate - Setting options for algorithms and data structures

FNCombineGetChildren FNCombineSetChildren FNCombineType FNEvaluateDerivative FNEvaluateFunction FNGetMethod FNGetScale FNGetType | FNPhiGetIndex FNPhiSetIndex FNRationalGetDenominator FNRationalGetNumerator FNRationalSetDenominator FNRationalSetNumerator FNSetMethod | FNSetScale FNSetType FNViewFromOptions FN_COMBINE_ADD FN_COMBINE_COMPOSE FN_COMBINE_DIVIDE FN_COMBINE_MULTIPLY

## Advanced - Setting more advanced options and customization

FNAppendOptionsPrefix FNEvaluateFunctionMat FNEvaluateFunctionMatVec FNGetOptionsPrefix | FNGetParallel FNParallelType FNRegister FNRegisterAll | FNSetOptionsPrefix FNSetParallel FN_PARALLEL_REDUNDANT FN_PARALLEL_SYNCHRONIZED

## Developer - Interfaces rarely needed by applications programmers

FNDuplicate | FNFinalizePackage | FNInitializePackage

## Single list of manual pages

FN FNAppendOptionsPrefix FNCOMBINE FNCombineGetChildren FNCombineSetChildren FNCombineType FNCreate FNDestroy FNDuplicate FNEXP FNEvaluateDerivative FNEvaluateFunction FNEvaluateFunctionMat FNEvaluateFunctionMatVec FNFinalizePackage FNGetMethod FNGetOptionsPrefix | FNGetParallel FNGetScale FNGetType FNINVSQRT FNInitializePackage FNLOG FNPHI FNParallelType FNPhiGetIndex FNPhiSetIndex FNRATIONAL FNRationalGetDenominator FNRationalGetNumerator FNRationalSetDenominator FNRationalSetNumerator FNRegister FNRegisterAll | FNSQRT FNSetFromOptions FNSetMethod FNSetOptionsPrefix FNSetParallel FNSetScale FNSetType FNType FNView FNViewFromOptions FN_COMBINE_ADD FN_COMBINE_COMPOSE FN_COMBINE_DIVIDE FN_COMBINE_MULTIPLY FN_PARALLEL_REDUNDANT FN_PARALLEL_SYNCHRONIZED