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

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