laserfields
Fortran95 library to describe time-dependent laser pulses
Loading...
Searching...
No Matches
laserfields_miscfuncs::interpolate Interface Reference

1-dimensional polynomial interpolation More...

Public Member Functions

real(dp) function interpolate_single (x_old, f_old, x_new, degree)
 for a set of known values (x_old,f_old) calculate the value of f(x) at point x_new using polynomial interpolation
real(dp) function, dimension(size(x_new)) interpolate_array (x_old, f_old, x_new, degree)
 for a set of known values (x_old,f_old) calculate the values of f(x) at points x_new using polynomial interpolation

Detailed Description

1-dimensional polynomial interpolation

Definition at line 9 of file laserfields_miscfuncs.f90.

Member Function/Subroutine Documentation

◆ interpolate_single()

real(dp) function laserfields_miscfuncs::interpolate::interpolate_single ( real(dp), dimension(:), intent(in) x_old,
real(dp), dimension(:), intent(in) f_old,
real(dp), intent(in) x_new,
integer, intent(in) degree )

for a set of known values (x_old,f_old) calculate the value of f(x) at point x_new using polynomial interpolation

Parameters
[in]degreeorder of the interpolating polynomial

Definition at line 62 of file laserfields_miscfuncs.f90.

◆ interpolate_array()

real(dp) function, dimension(size(x_new)) laserfields_miscfuncs::interpolate::interpolate_array ( real(dp), dimension(:), intent(in) x_old,
real(dp), dimension(:), intent(in) f_old,
real(dp), dimension(:), intent(in) x_new,
integer, intent(in) degree )

for a set of known values (x_old,f_old) calculate the values of f(x) at points x_new using polynomial interpolation

Parameters
[in]degreeorder of the interpolating polynomial

Definition at line 75 of file laserfields_miscfuncs.f90.


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