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

Is there a Vector/Matrix Fill/Set?

James_N_2
Beginner
223 Views

Hello,

Is there a function to set every element of a vector/matrix to a constant value? You can do it with mkl_calloc, but there a cases where you want to set an existing array and I was wondering if there was an optimized call for this. (esp for complex data).

 

0 Kudos
2 Replies
Gennady_F_Intel
Moderator
223 Views

Hi James,

MKL doesn't provide such routines.  There is another performance library - IPP, which contains a lot of similar functions you are looking for. 

James_N_2
Beginner
223 Views

Thanks!

IPP seems to have vector set routines, but nothing for matrices. Thanks though.

Reply