Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
cuspatial::test::value_generator< T, Generator > Struct Template Reference

Public Types

using result_type = T
 

Public Member Functions

 value_generator (T lower_bound, T upper_bound, thrust::minstd_rand &engine, Generator gen)
 
operator() (size_t n)
 

Public Attributes

lower_bound
 
upper_bound
 
thrust::minstd_rand engine
 
Generator dist
 

Detailed Description

template<typename T, typename Generator>
struct cuspatial::test::value_generator< T, Generator >

Definition at line 126 of file random.cuh.

Member Typedef Documentation

◆ result_type

template<typename T , typename Generator >
using cuspatial::test::value_generator< T, Generator >::result_type = T

Definition at line 127 of file random.cuh.

Constructor & Destructor Documentation

◆ value_generator()

template<typename T , typename Generator >
cuspatial::test::value_generator< T, Generator >::value_generator ( T lower_bound,
T upper_bound,
thrust::minstd_rand & engine,
Generator gen )
inline

Definition at line 129 of file random.cuh.

Member Function Documentation

◆ operator()()

template<typename T , typename Generator >
T cuspatial::test::value_generator< T, Generator >::operator() ( size_t n)
inline

Definition at line 137 of file random.cuh.

Member Data Documentation

◆ dist

template<typename T , typename Generator >
Generator cuspatial::test::value_generator< T, Generator >::dist

Definition at line 150 of file random.cuh.

◆ engine

template<typename T , typename Generator >
thrust::minstd_rand cuspatial::test::value_generator< T, Generator >::engine

Definition at line 149 of file random.cuh.

◆ lower_bound

template<typename T , typename Generator >
T cuspatial::test::value_generator< T, Generator >::lower_bound

Definition at line 147 of file random.cuh.

◆ upper_bound

template<typename T , typename Generator >
T cuspatial::test::value_generator< T, Generator >::upper_bound

Definition at line 148 of file random.cuh.


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