|Hermite.pm||topic started 5/22/2000; 10:44:50 PM
last post 5/22/2000; 10:44:50 PM
|Michael Gage - Hermite.pm
5/22/2000; 10:44:50 PM (reads: 2784, responses: 0)
#get and set methods
$obj -> initialize; # calculates the approximation
$rh_critical_points =$obj -> rh_critical_points
This module defines an object containing a Hermite spline approximation to a function. The approximation consists of a piecewise cubic polynomial which agrees with the original function and its first derivative at the node points.
This is useful for creating on the fly graphics. Care must be taken to use a small number of points spaced reasonably far apart, preferably points with alternating slopes, since this will minimize the number of extraneous critical points introduced. Too many points will introduce many small variations and a large number of extraneous critical points.
There are even more extraneous inflections points. This parameter is probably not very useful. A different approximation scheme needs to be used.
File path = /ww/webwork/pg/lib/Hermite.pm