WeBWorKdocs

sq_webwork:


Home
Current UR
courses
Visitor
page
Intro to
WeBWorK
WeBWorK 2
Twiki
WW
Community
Grant Support
& awards
Discussion
group
Problem
library
Write/modify
problems
Create &
manage course
Tutorial on
running a course
HowTos
FAQ
WeBWorK2
FAQ
Software
Download
How to
Install WW server
Feedback
Site Map
Change
preferences
Change
password





Prev | Next | manpages

hermite

Description
Produces a reference to a subroutine which evaluates a polynomial passing through the specified points
with the specified derivatives: (x0,y0,yp0), ...

The polynomial will be of high degree and may wobble unexpectedly. Use the Hermite splines
described below and in Hermite.pm for most graphing purposes.

Syntax

$poly = hermit([$x0,$x1...],[$y0,$y1...],[$yp0,$yp1,...]);
$y = &$poly(34);
yields the y value at 34.

Params

References to three arrays, specifying respectively the x, y and y' values to be interpolated by the Hermite polynomial. All of the parameters are required. There are no defaults.

Returns

A reference to a function of one variable representing the polynomial.

Notes

The Hermite polynomial objects give the most versatile version of Hermite spline approximation. Except in rare cases they are likely to be the most appropriate choice for specifying graphs.

This subroutine is defined in PGnumericalmacros.pl.

See Also

hermite_spline, Hermite.pm

<| Post or View Comments |>


Prev | Next | manpages

Last update: Wednesday, January 10, 2007 at 10:16:33 PM.
This site maintained using Manila and Frontier software.