TVec::SetCplx Method

Overload List

#SignatureDescription
1TMtxVec *SetCplx(int Index, const DewArray<TCplx> &A);Sets object complex values.
2TVec *SetCplx(const DewArray<TCplx> &A);Sets vector values (complex).

Overload 1: TMtxVec *SetCplx(int Index, const DewArray<TCplx> &A);

Sets object complex values.

#NameTypeDescription
1Indexint
2Aconst DewArray<TCplx> &
Remarks:

The a array complex values are copied to the calling object CValues from [Index]..[Index+Length(a)-1]. An exception is raised if calling object array borders are overrun/underrun.

Note
Use this method for complex array only.

See Also: TVec::SetIt, TVec::SetDouble, TVec::SetInteger, TVec::SetSingle
Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

Overload 2: TVec *SetCplx(const DewArray<TCplx> &A);

Sets vector values (complex).

#NameTypeDescription
1Aconst DewArray<TCplx> &
Remarks:

Sets the TVec::Length property of the calling vector to (High(A)+1) and the TVec::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: TVec::SetDouble, TVec::SetInteger, TVec::SetIt, TVec::SetSingle
Declared in Dew::Math::TVec · Dew.Math/MtxVec.h · Cross-compiler