Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

vsrnguniform

Cristian_M_
Beginner
844 Views

Dear all,

Can vsrnguniform generate random multidimensional arrays or it just works for 1D arrays? I guess that one solution could be to generate a 1D array and after reshape it. However, I would like to know if this function can handle multidimensional arrays?

Thanks in advanced,

Crist.

0 Kudos
2 Replies
Ying_H_Intel
Employee
844 Views

Hi Crist, 

The function produce 1d array. but it is possible to use it to handle multidimensional arrays.  Please see the example code in 

http://software.intel.com/en-us/articles/intel-mkl-vsl-training-material

and http://software.intel.com/sites/products/documentation/doclib/mkl_sa/11/vslnotes/vslnotes.pdf

Best Regards,

Ying 

0 Kudos
Cristian_M_
Beginner
844 Views

Hi Ying, 

I'll have a look! 

Thanks,

Crist.

0 Kudos
Reply