Vector.SetCplx Method

function SetCplx(const a: TCplxArray): TVec;

Sets vector values (complex).

#NameTypeDescription
1aTCplxArray

Result: stored in self (calling object), returns self for chaining

Remarks:

Sets the Vector.Length property of the calling vector to (High(A)+1) and the Vector.Complex property to true. The complex elements of A array are copied to the calling vector CValues.

Note
Use this method for complex array only.

See Also: Vector.SetIt, Vector.SetDouble, Vector.SetInteger, Vector.SetSingle