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

Public Types

using Cart2D = cuspatial::vec_2d<T>
 

Public Member Functions

 point_generator (vec_2d< T > lower_left, vec_2d< T > upper_right, thrust::minstd_rand &engine_x, thrust::minstd_rand &engine_y, Generator gen_x, Generator gen_y)
 
Cart2D operator() (size_t n)
 

Public Attributes

value_generator< T, Generator > vgenx
 
value_generator< T, Generator > vgeny
 

Detailed Description

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

Definition at line 154 of file random.cuh.

Member Typedef Documentation

◆ Cart2D

template<typename T , typename Generator >
using cuspatial::test::point_generator< T, Generator >::Cart2D = cuspatial::vec_2d<T>

Definition at line 155 of file random.cuh.

Constructor & Destructor Documentation

◆ point_generator()

template<typename T , typename Generator >
cuspatial::test::point_generator< T, Generator >::point_generator ( vec_2d< T > lower_left,
vec_2d< T > upper_right,
thrust::minstd_rand & engine_x,
thrust::minstd_rand & engine_y,
Generator gen_x,
Generator gen_y )
inline

Definition at line 159 of file random.cuh.

Member Function Documentation

◆ operator()()

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

Definition at line 170 of file random.cuh.

Member Data Documentation

◆ vgenx

template<typename T , typename Generator >
value_generator<T, Generator> cuspatial::test::point_generator< T, Generator >::vgenx

Definition at line 156 of file random.cuh.

◆ vgeny

template<typename T , typename Generator >
value_generator<T, Generator> cuspatial::test::point_generator< T, Generator >::vgeny

Definition at line 157 of file random.cuh.


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