Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r8), | intent(in), | dimension(*) | :: | t | Array, length n, which contains the position of the knots. |
|
integer, | intent(in) | :: | n | Integer, giving the total number of knots of s(x). |
||
real(kind=r8), | intent(in), | dimension(*) | :: | c | Array, length n, which contains the b-spline coefficients. |
|
integer, | intent(in) | :: | k | Integer, giving the degree of s(x). |
||
real(kind=r8), | intent(in), | dimension(*) | :: | x | Array, length m, which contains the points where s(x) must be evaluated. |
|
real(kind=r8), | intent(out), | dimension(*) | :: | y | Array, length m, giving the value of s(x) at the different points. |
|
integer, | intent(in) | :: | m | Integer, giving the number of points where s(x) must be evaluated. |
||
integer, | intent(in) | :: | e | integer, if 0 the spline is extrapolated from the end spans for points not in the support, if 1 the spline evaluates to zero for those points, if 2 ier is set to 1 and the subroutine returns, and if 3 the spline evaluates to the value of the nearest boundary point. |
||
integer, | intent(out) | :: | ier | Error flag:
|
Subroutine splev evaluates in a number of points x(i),i=1,2,...,m a spline s(x) of degree k, given in its b-spline representation.