PFApply

Applies the mathematical function to an array of values.

Synopsis

#include "petscpf.h" 
int PFApply(PF pf,int n,Scalar* x,Scalar* y)
Collective on PF

Input Parameters

pf - the function context
n - number of entries in input array
x - input array

Output Parameter

y -output array

Keywords

PF, apply

See Also

PFApplyVec(), PFCreate(), PFDestroy(), PFSetType(), PFSet()

Level:beginner
Location:
src/pf/interface/pf.c
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages