Calculates either x-coodinate, y-coordinate or both of every vector magnitude(I)* exp(angle(I)*j), j=sqrt(-1):
x(I)=magnitude(I)*cos(angle(I)),
y(I)=magnitude(I)*sin(angle(I))


- magnitude (IntPtr)
- The array of magnitudes. If it is NULL, the magnitudes are assumed all 1's
- angle (IntPtr)
- The array of angles, whether in radians or degrees
- x (IntPtr)
- The destination array of x-coordinates, may be set to NULL if it is not needed
- y (IntPtr)
- The destination array of y-coordinates, mau be set to NULL if it is not needed
- angleInDegrees (Boolean)
- The flag indicating whether the angles are measured in radians or in degrees