Community
cancel
Showing results for 
Search instead for 
Did you mean: 
James_N_2
Beginner
91 Views

Is there a Vector/Matrix Fill/Set?

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
91 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
91 Views

Thanks!

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