Adelsbach/VSIPL
Core Programming Reference Guide
DD-00016-015
Core

This manual is preliminary and incomplete.
While our Core implementation implements all functions given in the standard we are still working on completing this documentation.

Please refer to the VSIPL standard for a complete function reference of the Core profile until we have completed work on this documentation.

4.2.11 vsip_veuler_p - Convert Real Vector to Complex Euler Representation

void vsip_veuler_f(vsip_vview_f const *a, vsip_cvview_f const *r);
Description

This function converts a real vector of angles (in radians) to a complex vector using Euler’s formula. The operation performs element-wise conversion using Euler’s formula:

     jai
ri= e  = cos(ai)+jsin(ai)

for all i from 0 to n-1, where n is the length of the vectors, ai is the angle in radians from the input vector, and ri is the corresponding complex number on the unit circle.

Parameters
Notes