pwl_approx_1d_test, a Fortran90 code which calls pwl_approx_1d(), which defines and evaluates a piecewise linear function, using NC "control points", which approximates a set of ND data points (x(i),y(i)).
The information on this web page is distributed under the MIT license.
pwl_approx_1d, a Fortran90 code which approximates a set of data using a piecewise linear function.