CLASSpp Manual
Cosmology reference and developer manual
Loading...
Searching...
No Matches
asymptotic_extrapolation.h
1
#pragma once
2
16
class
AsymptoticExtrapolation
{
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
};
AsymptoticExtrapolation
Definition
asymptotic_extrapolation.h:16
AsymptoticExtrapolation::kFitRange
static constexpr double kFitRange
Definition
asymptotic_extrapolation.h:19
AsymptoticExtrapolation::operator()
double operator()(double k) const
AsymptoticExtrapolation::AsymptoticExtrapolation
AsymptoticExtrapolation(const double *k, const double *source, int n, int stride, int power)
include
asymptotic_extrapolation.h
Generated by
1.9.8