TSparseMtx::SetIt Method

Overload List

#SignatureDescription
1TMtxVec *SetIt(int Index, const DewArray<double> &A);Sets object values.
2TMtxVec *SetIt(int Index, int aIndex, int Len, const DewArray<double> &A);The elements of A array, starting at aIndex, are copied to the calling object elements, starting at Index.

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

Sets object values.

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

Set object values. Method call does not change object's size or TSparseMtx::Complex property, but it does check for array overrun. The elements of A array are copied to the calling object elements, starting at Index. If the calling object is complex, then real parts of complex numbers are on even (0,2,4..) and imaginary parts on odd indexes.(1,3,5,..).

Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

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

The elements of A array, starting at aIndex, are copied to the calling object elements, starting at Index.

#NameTypeDescription
1Indexint
2aIndexint
3Lenint
4Aconst DewArray<double> &
Remarks:

If the calling object is complex, then real parts of complex numbers in the A array are on even (0,2,4..) and imaginary parts on odd indexes.(1,3,5,..).

Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler