SF_INTERPOLATE
Description
SciFortran module for data interpolation
Quick access
- Types:
- Routines:
linear_spline()
,poly_spline()
,cubic_spline()
,init_finter()
,delete_finter()
,finter()
,cinter()
,init_finter2d()
,delete_finter2d()
,finter2d()
Used modules
interpolate_nr
Types
- type sf_interpolate/finter_type
- Type fields:
f (•) [real, allocatable]
g (•) [real, allocatable]
imax [integer]
imin [integer]
n [integer]
status [logical, optional/default=.false.]
x (•) [real, allocatable]
- type sf_interpolate/finter2d_type
- Type fields:
f (•, •) [real, allocatable] – corresponding vector of functional values
imax [integer, optional/default=0]
imin [integer, optional/default=0]
jmax [integer, optional/default=0]
jmin [integer, optional/default=0]
n [integer, optional/default=0]
status [logical, optional/default=.false.]
x (•) [real, allocatable] – vector with frequencies
y (•) [real, allocatable] – vector with frequencies
Subroutines and functions
- interface sf_interpolate/linear_spline(xin, fin, xout, fout, yin, yout)
- Parameters:
xin (•) [real, in,required]
fin (various shapes) [real, complex]
xout (various shapes) [real]
fout (various shapes) [real, complex]
yin (•) [real, in,required]
yout (various shapes) [real]
- interface sf_interpolate/poly_spline(xin, fin, xout, fout, yin, yout[, n])
- Parameters:
xin (•) [real, in,required]
fin (various shapes) [real, complex]
xout (various shapes) [real]
fout (various shapes) [real, complex]
yin (•) [real, in,required]
yout (various shapes) [real]
- Options:
n [integer]
- interface sf_interpolate/cubic_spline(xin, fin, xout, fout)
- Parameters:
xin (•) [real, in,required]
fin (size(xin)) [real, complex]
xout (various shapes) [real]
fout (various shapes) [real, complex]
- interface sf_interpolate/init_finter(func, xin, fin, n)
- Parameters:
func [finter_type]
xin (•) [real, in,required]
fin (size(xin)) [real, complex]
n [integer]
- subroutine sf_interpolate/delete_finter(func)
- Parameters:
func [finter_type]
- function sf_interpolate/finter(func, x)
- Parameters:
func [finter_type]
x [real]
- Return:
finter [real]
- function sf_interpolate/cinter(func, x)
- Parameters:
func [finter_type]
x [real]
- Return:
cinter [complex]
- subroutine sf_interpolate/init_finter2d(func, xin, yin, fin, n)
- Parameters:
func [finter2d_type]
xin (•) [real, in,required]
yin (•) [real, in,required]
fin (size(xin), size(yin)) [real]
n [integer]
- subroutine sf_interpolate/delete_finter2d(func)
- Parameters:
func [finter2d_type]
- function sf_interpolate/finter2d(func, x, y)
- Parameters:
func [finter2d_type]
x [real]
y [real]
- Return:
finter2d [real]