FunctionInterpolation

FunctionInterpolation[expr,{x,xmin,xmax}]

evaluates expr with x running from xmin to xmax and constructs an InterpolatingFunction object which represents an approximate function corresponding to the result.

FunctionInterpolation[expr,{x,xmin,xmax},{y,ymin,ymax},]

constructs an InterpolatingFunction object with several arguments.

Details and Options

Examples

open allclose all

Basic Examples  (1)

Computes an InterpolatingFunction representation of Exp[-Sin[x]^2]:

Use the resulting function as any function:

Scope  (1)

Use derivatives to improve the smoothness of the approximation:

Introduced in 1996
 (3.0)