Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
Student[NumericalAnalysis][InterpolantRemainderTerm] - return the interpolating polynomial and remainder term from an interpolation structure
Calling Sequence
InterpolantRemainderTerm(p, opts)
Parameters
p
-
a POLYINTERP structure
opts
(optional) equations of the form keyword=value where keyword is one of errorboundvar, independentvar, showapproximatepoly, showremainder; options for returning the interpolant and remainder term
Description
The InterpolantRemainderTerm command returns the approximate polynomial and remainder term from a POLYINTERP structure.
The interpolant and remainder term are returned in an expression sequence of the form , , where is the interpolant and is the remainder term.
The POLYINTERP structure is created using the PolynomialInterpolation command or the CubicSpline command.
If the POLYINTERP structure p was created using the CubicSpline command then the InterpolantRemainderTerm command can only return the approximate polynomial and therefore showremainder must be set to false.
In order for the remainder term to exist, the POLYINTERP structure p must have an associated exact function that has been given.
Options
errorboundvar = name
The name to assign to the independent variable in the remainder term. By default, the errorboundvar given when the POLYINTERP structure was created is used.
independentvar = name
The name to assign to the independent variable in the approximated polynomial. By default, the independentvar given when the POLYINTERP structure was created is used.
showapproximatepoly = true or false
Whether to return the approximated polynomial. By default this is set to true.
showremainder = true or false
Whether to return the remainder term. By default, this is set to true.
Notes
The remainder term is also called an error term.
The interpolant is also called the approximating polynomial or interpolating polynomial.
Examples
See Also
Student[NumericalAnalysis], Student[NumericalAnalysis][ComputationOverview], Student[NumericalAnalysis][CubicSpline], Student[NumericalAnalysis][Interpolant], Student[NumericalAnalysis][PolynomialInterpolation], Student[NumericalAnalysis][RemainderTerm], Student[NumericalAnalysis][UpperBoundOfRemainderTerm]
Download Help Document