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/sys/classes/ds/tests/test12.c
src/sys/classes/ds/tests/test23.c
src/sys/classes/ds/tests/test25.c
src/sys/classes/fn/tests/test1.c
src/sys/classes/fn/tests/test11.c
src/sys/classes/fn/tests/test1f.F90
src/sys/classes/fn/tests/test5.c
src/sys/classes/fn/tests/test6.c
src/mfn/tutorials/ex39.c
src/nep/tutorials/ex22.c


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