d02uwc interpolates from a set of
function values,
, on a supplied grid,
, for
, onto a set of
values,
, on a uniform grid,
, for
. The image
has the same range as
, so that
, for
. The interpolation is performed using barycentric Lagrange interpolation as described in
Berrut and Trefethen (2004).
d02uwc is primarily a utility function to map a set of function values specified on a Chebyshev Gauss–Lobatto grid computed by
d02ucc onto an evenly-spaced grid with the same range as the original grid.
-
1:
– Integer
Input
-
On entry: , where the number of grid points for the input data is .
Constraint:
and
n is even.
-
2:
– Integer
Input
-
On entry: the number, , of grid points in the uniform mesh onto which function values are interpolated. If then on successful exit from d02uwc, will contain the value .
Constraint:
.
-
3:
– const double
Input
-
On entry: the grid points,
, for
, at which the function is specified.
Usually this should be the array of Chebyshev Gauss–Lobatto points returned in
d02ucc.
-
4:
– const double
Input
-
On entry: the function values,
, for .
-
5:
– double
Output
-
On exit: the evenly-spaced grid points,
, for .
-
6:
– double
Output
-
On exit: the set of interpolated values
, for . Here .
-
7:
– NagError *
Input/Output
-
The NAG error argument (see
Section 7 in the Introduction to the NAG Library CL Interface).
Background information to multithreading can be found in the
Multithreading documentation.
None.