Bounded Pareto distribution
#include <distributions.h>
|
CUGAR_HOST_DEVICE | Bounded_pareto_distribution (const float a, const float min, const float max) |
|
CUGAR_HOST_DEVICE float | map (const float U) const |
|
CUGAR_HOST_DEVICE float | density (const float x) const |
|
float | next (Generator &gen) const |
|
◆ Bounded_pareto_distribution()
CUGAR_HOST_DEVICE cugar::Bounded_pareto_distribution::Bounded_pareto_distribution |
( |
const float |
a, |
|
|
const float |
min, |
|
|
const float |
max |
|
) |
| |
|
inline |
constructor
- Parameters
-
a | distribution parameter |
min | distribution parameter |
max | distribution parameter |
◆ density()
CUGAR_HOST_DEVICE float cugar::Bounded_pareto_distribution::density |
( |
const float |
x | ) |
const |
|
inline |
probability density function
- Parameters
-
◆ map()
CUGAR_HOST_DEVICE float cugar::Bounded_pareto_distribution::map |
( |
const float |
U | ) |
const |
|
inline |
transform a uniformly distributed number through the distribution
- Parameters
-
U | real number to transform |
The documentation for this struct was generated from the following file:
- C:/p4research/research/jpantaleoni/Fermat-Public/contrib/cugar/sampling/distributions.h