Calculates the phase angles (spectrum) of all Vec object elements. Phase values are returned in radians and are in the range -PI,PI. Size and Complex properties of the calling object are set implicitly to match Vec object. The phase angles are calculated from the following equation:
var a,b: clVector;
begin
a.CopyFromArray(TSingleArray.Create(1,2,3,-4)); // a = [1 + 2i, 3 - 4i]
b.PhaseSpectrum(a); // b = [arctan2(1,2), arctan2(3,-4)];end;