- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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).
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks!
IPP seems to have vector set routines, but nothing for matrices. Thanks though.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page