More interpolation types in Tabular. (#3413)

Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
GuySten 2026-02-11 23:05:07 +02:00 committed by GitHub
parent 360ec24b41
commit 96383fcb2b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 201 additions and 45 deletions

View file

@ -201,6 +201,18 @@ std::complex<double> faddeeva(std::complex<double> z);
//! \return Derivative of Faddeeva function evaluated at z
std::complex<double> w_derivative(std::complex<double> z, int order);
//! Evaluate relative exponential function
//!
//! \param x Real argument
//! \return (exp(x)-1)/x without loss of precision near 0
double exprel(double x);
//! Evaluate relative logarithm function
//!
//! \param x Real argument
//! \return log(1+x)/x without loss of precision near 0
double log1prel(double x);
//! Helper function to get index and interpolation function on an incident
//! energy grid
//!