return the exact function from an interpolation structure - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Education : Student Package : Numerical Analysis : Computation : Student/NumericalAnalysis/Function

Student[NumericalAnalysis][Function] - return the exact function from an interpolation structure

Calling Sequence

Function(p)

Parameters

p

-

a POLYINTERP structure

Description

• 

The Function command returns the exact function from a POLYINTERP structure.

• 

If the Function command is used on a POLYINTERP structure whose exact function was not originally specified, an exception will be raised.

• 

The POLYINTERP structure is created using the PolynomialInterpolation command or the CubicSpline command.

Examples

withStudent[NumericalAnalysis]:

xy:=0,4.0,0.5,0,1.0,2.0,1.5,0,2.0,1.0,2.5,0,3.0,0.5

xy:=0,4.0,0.5,0,1.0,2.0,1.5,0,2.0,1.0,2.5,0,3.0,0.5

(1)

p1:=PolynomialInterpolationxy,function=22xcosπx,method=lagrange,extrapolate=0.25,0.75,1.25,errorboundvar='ξ':

Functionp1

22xcosπx

(2)

plotFunctionp1,x=0..3

See Also

Student[NumericalAnalysis], Student[NumericalAnalysis][ApproximateValue], Student[NumericalAnalysis][ComputationOverview], Student[NumericalAnalysis][CubicSpline], Student[NumericalAnalysis][DataPoints], Student[NumericalAnalysis][ExactValue], Student[NumericalAnalysis][InterpolantRemainderTerm], Student[NumericalAnalysis][PolynomialInterpolation], Student[NumericalAnalysis][RemainderTerm]


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam