2#include <gsl/gsl_integration.h>
3#include <gsl/gsl_errno.h>
5#include "constants.hpp"
13template <
typename interpT>
14typename interpT::realT logRadProfIntegrationF(
typename interpT::realT x,
void *
params )
26template <
typename interpT>
27typename interpT::realT
28logRadProfIntegrator(
const std::vector<typename interpT::realT>
30 const std::vector<typename interpT::realT>
32 typename interpT::realT x0,
33 typename interpT::realT
xf
36 typedef typename interpT::realT realT;
66template <
typename interpT>
67typename interpT::realT
68logRadProfIntegrator(
const std::vector<typename interpT::realT>
70 const std::vector<typename interpT::realT>
Interpolate a function in log space.
void setup(const std::vector< realT > &x, const std::vector< realT > &y)
Convert the inputs to their log10 values, and construct the interpolator.
constexpr floatT six_fifths()
Return 6/5 in the specified precision.
Interpolation in log space.