hiprandcreatepoissondistribution Interface Reference#
hipfort_hiprand::hiprandcreatepoissondistribution Interface Reference
  Construct the histogram for a Poisson distribution. More...
Public Member Functions | |
| integer(kind(hiprand_status_success)) function | hiprandcreatepoissondistribution_ (lambda, discrete_distribution) | 
Detailed Description
Construct the histogram for a Poisson distribution.
Construct the histogram for the Poisson distribution with lambda lambda.
- Parameters
 - 
  
lambda - lambda for the Poisson distribution discrete_distribution - pointer to the histogram in device memory  
- Returns
 - HIPRAND_STATUS_ALLOCATION_FAILED if memory could not be allocated 
 - HIPRAND_STATUS_OUT_OF_RANGE if 
discrete_distributionpointer was null
 - HIPRAND_STATUS_OUT_OF_RANGE if lambda is non-positive 
 - HIPRAND_STATUS_SUCCESS if the histogram was ructed successfully 
 
- HIPRAND_STATUS_ALLOCATION_FAILED if memory could not be allocated 
 
Member Function/Subroutine Documentation
◆ hiprandcreatepoissondistribution_()
| integer(kind(hiprand_status_success)) function hipfort_hiprand::hiprandcreatepoissondistribution::hiprandcreatepoissondistribution_ | ( | real(c_double), value | lambda, | 
| type(c_ptr) | discrete_distribution | ||
| ) | 
The documentation for this interface was generated from the following file: