NuMFor 9f2ab49 (2024-04-08)
Numerical (Modern) Fortran. Library for Simple Numerical computing
splev Interface Reference

splev Computes a B-spline or its derivatives. More...

Public Member Functions

subroutine splevp (u, tck, y, der, ext, ier)
 splevp Computes a B-spline or its derivatives for a parametric spline. Given the knots and coefficients of a B-spline representation, evaluate the value of the smoothing polynomial and its derivatives. This is a wrapper around the FORTRAN routines splev and splder of FITPACK.
 
subroutine splevc (x, tck, y, der, ext, ier)
 splev Computes a B-spline or its derivatives. Given the knots and coefficients of a B-spline representation, evaluate the value of the smoothing polynomial and its derivatives. This is a wrapper around the FORTRAN routines splev and splder of FITPACK.
 

Detailed Description

splev Computes a B-spline or its derivatives.

Given the knots and coefficients of a B-spline representation, evaluate the value of the smoothing polynomial and its derivatives. This is a wrapper around the FORTRAN routines splev and splder of FITPACK.

Examples:

! After setting data in x
! interpolate: (step one) Create interpolation and parameters u
call splrep(x, y, tck=tck, s=s)
! interpolate: (step two) Apply to points u
call splev(xnew, tck, ynew)

Member Function/Subroutine Documentation

◆ splevc()

subroutine splevc ( real(dp), dimension(:), intent(in) x,
type(univspline), intent(in) tck,
real(dp), dimension(size(x)), intent(out) y,
integer, intent(in), optional der,
integer, intent(in), optional ext,
integer, intent(out), optional ier )

splev Computes a B-spline or its derivatives. Given the knots and coefficients of a B-spline representation, evaluate the value of the smoothing polynomial and its derivatives. This is a wrapper around the FORTRAN routines splev and splder of FITPACK.

Parameters
[in]xPoints at which to return the value of the smoothed spline or its derivative
[in]tckA spline representation returned by splrep
[out]ySmoothed or interpolated spline values
[in]derThe order of the derivative of the spline to compute (must be less than k).
[in]extFlag controling the result for x outside the
[out]ierFlag given output status interval defined by the knot sequence.

◆ splevp()

subroutine splevp ( real(dp), dimension(:), intent(in) u,
type(univspline), intent(in) tck,
real(dp), dimension(:, :), intent(out) y,
integer, intent(in), optional der,
integer, intent(in), optional ext,
integer, intent(out), optional ier )

splevp Computes a B-spline or its derivatives for a parametric spline. Given the knots and coefficients of a B-spline representation, evaluate the value of the smoothing polynomial and its derivatives. This is a wrapper around the FORTRAN routines splev and splder of FITPACK.

Parameters
[in]uPoints at which to return the value of the smoothed spline or its derivative
[in]tckA spline representation returned by splrep
[in]derThe order of the derivative of the spline to compute (must be less than k).
[in]extFlag controling the result for x outside the
[out]ierFlag given output status
[out]ySmoothed or interpolated spline values

The documentation for this interface was generated from the following file: