libcuspatial
23.12.00
|
Generates a geometric distribution between lower_bound and upper_bound. This distribution is an approximation generated using normal distribution. More...
Public Types | |
using | result_type = T |
Public Member Functions | |
geometric_distribution (T lower_bound, T upper_bound) | |
template<typename UniformRandomNumberGenerator > | |
result_type | operator() (UniformRandomNumberGenerator &urng) |
Generates a geometric distribution between lower_bound and upper_bound. This distribution is an approximation generated using normal distribution.
T | Result type of the number to produce. |
Definition at line 103 of file random.cuh.
using cuspatial::test::geometric_distribution< T >::result_type = T |
Definition at line 110 of file random.cuh.
|
inlineexplicit |
Definition at line 111 of file random.cuh.
|
inline |
Definition at line 119 of file random.cuh.