CUDA
C/C++    Fortran   

randu Interface Reference

Random, uniformly distributed. More...

List of all members.

Public Member Functions

type(arrayarray_randu (x1, x2, x3, x4, ty)
 Generate uniformly distributed random matrix.

Detailed Description

Random, uniformly distributed.

Parameters:
[in]x1-- The 1st dimension in the array (should be integer)
[in]x2-- The 2nd dimension in the array (should be integer, optional, default: 1)
[in]x3-- The 3rd dimension in the array (should be integer, optional, default: 1)
[in]x4-- The 4th dimension in the array (should be integer, optional, default: 1)
[in]ty-- Should be one of (f32, f64, c32, c64), (optional, default: f32)
Returns:
output of size (x1, x2, x3, x4) filled with the required data type

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