10-19-2004 11:57 AM
To multiply a complex vector with a real scalar I have used the ippsMulC_64fc function, and represented the real scalar as a complex one with zero imaginary part.
This seems unnessesary, so I tried instead to use ippsMulC_64f function and instead treat the complex vector as a real one of twice the size. The two approaches give the same results but strangely the complex routine is faster.Is there any better way to multiply complex vectors with real scalars?
The code used is of the form:
Ipp64fc *in, *out, val;
stat=ippsMulC_64fc(in, val, out,length);
Message Edited by firstname.lastname@example.org on 10-19-2004 04:57 AM
Message Edited by email@example.com on 10-19-2004 05:04 AM
10-21-2004 05:02 PM
thanks for the question, we found problem in optimized code of ippsMulC_64f and ippsMulC_64fc function, their performance will be improved in the next version. We also think about adding of new function, ippsMul_64f64fc in the next version.