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