Bounded exponential distribution
#include <distributions.h>
|
CUGAR_HOST_DEVICE | Bounded_exponential (const float b) |
|
CUGAR_HOST_DEVICE | Bounded_exponential (const float b1, const float b2) |
|
CUGAR_HOST_DEVICE float | map (const float U) const |
|
CUGAR_HOST_DEVICE float | density (const float x) const |
|
float | next (Generator &gen) const |
|
◆ Bounded_exponential() [1/2]
CUGAR_HOST_DEVICE cugar::Bounded_exponential::Bounded_exponential |
( |
const float |
b | ) |
|
|
inline |
◆ Bounded_exponential() [2/2]
CUGAR_HOST_DEVICE cugar::Bounded_exponential::Bounded_exponential |
( |
const float |
b1, |
|
|
const float |
b2 |
|
) |
| |
|
inline |
◆ density()
CUGAR_HOST_DEVICE float cugar::Bounded_exponential::density |
( |
const float |
x | ) |
const |
|
inline |
probability density function
- Parameters
-
◆ map()
CUGAR_HOST_DEVICE float cugar::Bounded_exponential::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