Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

vsrnguniform

Cristian_M_
Beginner
132 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
132 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 

Cristian_M_
Beginner
132 Views

Hi Ying, 

I'll have a look! 

Thanks,

Crist.

Reply