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
LagrangeBasis - Lagrange polynomials on a set of nodes
Calling Sequence
LagrangeBasis(k, nodes, x)
Parameters
k
-
algebraic expression; the index
nodes
list of algebraic expressions; the nodes where the polynomial is known
x
algebraic expression; the argument
Description
LagrangeBasis(k,nodes,x) = w[k]*prod(x-nodes[j], j<>k) defines the th Lagrange polynomial of degree which is either or on the given nodes. By convention, the nodes are indexed from , so , and the barycentric weights are defined as .
At present, this can only be evaluated in Maple by prior use of the object-oriented representation obtained by and subsequent call to , which uses the numerically stable barycentric form to evaluate the polynomial .
Examples
That polynomial has the value 3 at , the value 0 at , the value 5 at , and the value 7 at .
Note that the result returned by represents a matrix polynomial; hence these results are 1 by 1 matrices.
See Also
BernsteinBasis, convert,MatrixPolynomialObject, LinearAlgebra[CompanionMatrix], NewtonBasis, OrthogonalSeries, PochhammerBasis, type,MatrixPolynomialObject
Download Help Document