CLASSpp Manual
Cosmology reference and developer manual
Loading...
Searching...
No Matches
asymptotic_extrapolation.h
1#pragma once
2
17 public:
19 static constexpr double kFitRange = 3.;
20
21 AsymptoticExtrapolation() = default;
22
30 AsymptoticExtrapolation(const double* k, const double* source, int n, int stride, int power);
31
33 [[nodiscard]] double operator()(double k) const;
34
35 private:
36 double ln_k_max_ = 0.;
37 double inv_k_max_ = 0.;
38 double y_max_ = 0.;
39 double slope_ln_k_ = 0.;
40 double slope_inv_k_ = 0.;
41 int power_ = 0;
42};
Definition asymptotic_extrapolation.h:16
static constexpr double kFitRange
Definition asymptotic_extrapolation.h:19
double operator()(double k) const
AsymptoticExtrapolation(const double *k, const double *source, int n, int stride, int power)