Dispersal kernel for hyperbolic secant class utilized by RadialKernel and DeterministicKernel.
More...
#include <hyperbolic_secant_kernel.hpp>
|
| HyperbolicSecantKernel (double s) |
|
template<class Generator > |
double | random (Generator &generator) |
| Returns random value from hyperbolic secant distribution Used by RadialKernel to determine location of spread. More...
|
|
double | pdf (double x) |
| Hyperbolic secant probability density function Used by DeterministicKernel to determine location of spread. More...
|
|
double | icdf (double x) |
| Hyperbolic secant inverse cumulative distribution (quantile) function Used by DeterministicKernel to determine maximum distance of spread. More...
|
|
Dispersal kernel for hyperbolic secant class utilized by RadialKernel and DeterministicKernel.
Definition at line 33 of file hyperbolic_secant_kernel.hpp.
◆ HyperbolicSecantKernel()
pops::HyperbolicSecantKernel::HyperbolicSecantKernel |
( |
double |
s | ) |
|
|
inline |
◆ icdf()
double pops::HyperbolicSecantKernel::icdf |
( |
double |
x | ) |
|
|
inline |
Hyperbolic secant inverse cumulative distribution (quantile) function Used by DeterministicKernel to determine maximum distance of spread.
- Parameters
-
x | proportion of the distribution |
- Returns
- value in distribution that is less than or equal to probability (x)
Definition at line 80 of file hyperbolic_secant_kernel.hpp.
◆ pdf()
double pops::HyperbolicSecantKernel::pdf |
( |
double |
x | ) |
|
|
inline |
Hyperbolic secant probability density function Used by DeterministicKernel to determine location of spread.
- Parameters
-
x | point within same space of distribution |
- Returns
- relative likelihood that a random variable would equal x
Definition at line 66 of file hyperbolic_secant_kernel.hpp.
◆ random()
template<class Generator >
double pops::HyperbolicSecantKernel::random |
( |
Generator & |
generator | ) |
|
|
inline |
Returns random value from hyperbolic secant distribution Used by RadialKernel to determine location of spread.
- Parameters
-
generator | uniform random number generator |
- Returns
- value from hyperbolic secant distribution
Definition at line 54 of file hyperbolic_secant_kernel.hpp.
◆ distribution
std::uniform_real_distribution<double> pops::HyperbolicSecantKernel::distribution |
|
protected |
◆ sigma
double pops::HyperbolicSecantKernel::sigma |
|
protected |
The documentation for this class was generated from the following file: