Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
Student[NumericalAnalysis][PolynomialInterpolation] - perform polynomial interpolation on a set of data
Calling Sequence
PolynomialInterpolation(xy, opts)
Parameters
xy
-
list(numeric), list(list(numeric, numeric)), list(list(numeric, numeric, numeric)); the data points to be interpolated
opts
equation(s) of the form keyword=value where keyword is one of digits, errorboundvar, extrapolate, function, independentvar, method; the options for interpolating the data xy
Description
The PolynomialInterpolation command interpolates the given data points xy and stores all computed information in a POLYINTERP structure.
The POLYINTERP structure is then passed around to different interpolation commands in the Student[NumericalAnalysis] subpackage where information can be extracted from it and, depending on the command, manipulated.
Options
digits = posint
A positive integer; the environment variable Digits will be set to this integer during the execution of this procedure. By default, digits = 10.
errorboundvar = name
The name to assign to the variable in the errorbound term.
extrapolate = algebraic, list(algebraic)
The points to be extrapolated. By default no points are extrapolated. To see the extrapolated values after using the PolynomialInterpolation command, use the ExactValue or ApproximateValue command.
function = algebraic
The exact function to use when computing the absolute error. If only the x data is given in xy, the function must be specified by the user, or an exception will be raised. By default, no function is used.
independentvar = name
The name to assign to the independent variable in the interpolant. If independentvar is not specified, the independent variable in function will be used. If function and independentvar are both unspecified, ind_var will be used as the independent variable in the interpolant.
method = hermite, lagrange, neville, newton
The method to use when performing the polynomial interpolation.
hermite : Hermite Interpolation; this method requires xy to be in the form [[, , ], [, , ],...].
lagrange : Lagrange Form Interpolation
neville : Neville's Algorithm
newton : Newton Interpolation
If no method is specified by the user, the Lagrange method will be used. However, if xy is of the form list(numeric, numeric, numeric) and the user does not specify a method, the Hermite method will be used.
Notes
When the Hermite method is used to perform interpolation, xy must be of the form list(list(numeric, numeric, numeric)).
This procedure operates numerically; that is, inputs that are not numeric are first evaluated to floating-point numbers before computations proceed.
Examples
See Also
Student[NumericalAnalysis], Student[NumericalAnalysis][AddPoint], Student[NumericalAnalysis][BasisFunctions], Student[NumericalAnalysis][ComputationOverview], Student[NumericalAnalysis][CubicSpline], Student[NumericalAnalysis][DataPoints], Student[NumericalAnalysis][ExactValue], Student[NumericalAnalysis][InterpolantRemainderTerm]
Download Help Document