libcuspatial  24.04.00
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
cuspatial::test::geometric_distribution< T > Class Template Reference

Generates a geometric distribution between lower_bound and upper_bound. This distribution is an approximation generated using normal distribution. More...

Inheritance diagram for cuspatial::test::geometric_distribution< T >:

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)
 

Detailed Description

template<typename T>
class cuspatial::test::geometric_distribution< T >

Generates a geometric distribution between lower_bound and upper_bound. This distribution is an approximation generated using normal distribution.

Template Parameters
TResult type of the number to produce.

Definition at line 102 of file random.cuh.

Member Typedef Documentation

◆ result_type

template<typename T >
using cuspatial::test::geometric_distribution< T >::result_type = T

Definition at line 109 of file random.cuh.

Constructor & Destructor Documentation

◆ geometric_distribution()

template<typename T >
cuspatial::test::geometric_distribution< T >::geometric_distribution ( T lower_bound,
T upper_bound )
inlineexplicit

Definition at line 110 of file random.cuh.

Member Function Documentation

◆ operator()()

template<typename T >
template<typename UniformRandomNumberGenerator >
result_type cuspatial::test::geometric_distribution< T >::operator() ( UniformRandomNumberGenerator & urng)
inline

Definition at line 118 of file random.cuh.


The documentation for this class was generated from the following file: