Create a new curve from a sequence of points.
Create a new curve from a sequence of points.
The curve is given by a sequence of points in nD space, interpolation method, and extrapolation setup. Supported interpolation methods are
linear
for piecewise linear interpolation (i.e. polyline)pchip
for piecewise cubic Hermite interpolating polynomial (default)Supported extrapolation methods are
extrap
for linear extrapolation (default)NaN
for NaN extrapolationType | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rkind), | intent(in) | :: | points(:,:) |
The points that define the curve |
||
character(len=*), | intent(in), | optional | :: | method |
The interpolation method, |
|
character(len=*), | intent(in), | optional | :: | extrap |