normal2_double#
- 
nvmath.device. random. normal2_double(state)# 
- Sample two doubles from normal distribution using the specified bit generator state. - Parameters:
- state – a state object corresponding to one of the bit generators. 
- Returns:
- A value of type - nvmath..- device. - float64x2 
 - Example - The - statesparameter of the kernel below should be an array of already initialized bit generator states. See the documentation of- nvmath.for more details on how to create and initialize the bit generator states.- device. - random. - init() - >>> from numba import cuda >>> from nvmath.device import random >>> compiled_apis = random.Compile() >>> @cuda.jit(link=compiled_apis.files, extensions=compiled_apis.extension) ... def kernel(states): ... i = cuda.grid(1) ... value = random.normal2_double(states[i])