Interp - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Group Theory : Inert Functions : Interp

Interp

inert polynomial interpolation function

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Interp(x, y, v)

Interp(x, y)

Parameters

x

-

list or Vector of independent values, x[1],..x[n]

y

-

list or Vector of dependent values, y[1],..y[n]

v

-

variable name to be used in polynomial

Description

• 

The Interp function is a placeholder for polynomial interpolation. It is used in conjunction with mod and modp1.

• 

The call Interp(x, y, v) mod p computes the polynomial of degree at most n1 in the name v that interpolates the points (x[1],y[1]), (x[2], y[2]),..., (x[n], y[n]) mod p. The points must be from a finite field.

• 

The call modp1(Interp(x, y), p) computes the interpolation polynomial in the modp1 representation where x and y must be lists.

• 

All the independent values in x must be distinct.  In other words, a particular value modulo p must not occur more than once in x.

Examples

Interp2,5,6,9,8,3,xmod11

8x2+6x+9

(1)

aliasα=RootOfx4+x+1

α

(2)

aInterp0,1,α,α,α2,α3,xmod2

aα2x+αx+x2+α+x

(3)

See Also

CurveFitting[PolynomialInterpolation]

Eval

mod

modp1

 


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