PLaSK library

Loading...
Searching...
No Matches
Namespaces | Functions
interpolation.hpp File Reference

This file contains interpolation utils. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Namespaces
namespace | plask
| Patterson quadrature for complex function along specified line.
namespace | plask::interpolation

## Functions
template<typename T >
T | plask::interpolation::linear (double p_lo, const T &d_lo, double p_hi, const T &d_hi, double p)
| Calculate linear interpolation (in 1D space).
template<typename T >
T | plask::interpolation::bilinear (double p_l, double p_r, double p_b, double p_t, const T &d_lb, const T &d_rb, const T &d_rt, const T &d_lt, double p_x, double p_y)
| Calculate blilinear interpolation (in 2D space).
template<typename T >
T | plask::interpolation::trilinear (double p_l, double p_r, double p_b, double p_t, double p_lo, double p_hi, const T &lo_d_lb, const T &lo_d_rb, const T &lo_d_rt, const T &lo_d_lt, const T &hi_d_lb, const T &hi_d_rb, const T &hi_d_rt, const T &hi_d_lt, double p_x, double p_y, double p_lohi)
| Calculate trililinear interpolation (in 3D space).

## Detailed Description

This file contains interpolation utils.

Definition in file interpolation.hpp.