#include "slepcfn.h" PetscErrorCode FNRationalSetNumerator(FN fn,PetscInt np,PetscScalar *pcoeff)Logically Collective on FN
fn | - the math function context | |
np | - number of coefficients | |
pcoeff | - coefficients (array of scalar values) |
In polynomials, high order coefficients are stored in the first positions of the array, e.g. to represent x^2-3 use {1,0,-3}.
Location: src/sys/classes/fn/impls/rational/fnrational.c
Index of all FN routines
Table of Contents for all manual pages
Index of all manual pages