Vector::SetSingle Method

Overload List

#SignatureDescription
1TMtxVec *SetSingle(int Index, const DewArray<float> &A) const;Sets object values (single).
2TMtxVec *SetSingle(int Index, int aIndex, int Len, const DewArray<float> &A) const;
3TVec *SetSingle(bool AComplex, const DewArray<float> &A) const;Sets vector values (single).

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

Sets object values (single).

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

The single elements of A array are copied to the calling object elements [Index]..[Index+Length(A)-1]. An exception is raised if calling object array borders are overrun/underrun.

Note
Use this method for integer array only.

See Also: Vector::SetIt, Vector::SetInteger, Vector::SetCplx, Vector::SetDouble
Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler

Overload 2: TMtxVec *SetSingle(int Index, int aIndex, int Len, const DewArray<float> &A) const;

#NameTypeDescription
1Indexint
2aIndexint
3Lenint
4Aconst DewArray<float> &
Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler

Overload 3: TVec *SetSingle(bool AComplex, const DewArray<float> &A) const;

Sets vector values (single).

#NameTypeDescription
1AComplexbool
2Aconst DewArray<float> &
Remarks:

Sets the Vector::Length property of the calling vector to (High(A)+1) and the Vector::Complex property to AComplex. The single elements of A array are copied to the calling vector. If AComplex is True then real parts of complex numbers are on even (0,2,4..)and imaginary parts on odd indexes.(1,3,5,..)

Note
Use this method for single array only.

See Also: Vector::SetIt, Vector::SetDouble, Vector::SetInteger, Vector::SetCplx
Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler