VectorInt::Add Method

Overload List

#SignatureDescription
1TMtxVecInt *Add(TMtxVecInt *Src1, TMtxVecInt *Src2) const;Add coresponding elements in Src2 to Src1.
2TMtxVecInt *Add(TMtxVecInt *Src1, TMtxVecInt *Src2, const int src1Index, const int Src2Index, const int Index, const int Len) const;Add coresponding elements in Src2 to Src1.
3TMtxVecInt *Add(TMtxVecInt *Src) const;Add Src elements to calling vector elements.
4TMtxVecInt *Add(TMtxVecInt *Src, const int SrcIndex, const int Index, const int Len) const;Add Src elements [SrcIndex..SrcIndex+Len-1] to calling vector elements.
5TMtxVecInt *Add(TMtxVecInt *Src, const int Value) const;Add integer Value to all Src elements.
6TMtxVecInt *Add(TMtxVecInt *Src, const int Value, const int SrcIndex, const int Index, const int Len) const;Add integer Value to Src elements [SrcIndex..SrcIndex+Len-1].
7TMtxVecInt *Add(const int Value) const;Add integer value to all calling vector elements.
8TMtxVecInt *Add(const int Value, const int Index, const int Len) const;Add integer value to calling vector elements [Index..Index+Len-1].
9TMtxVecInt *Add(TMtxVecInt *X, TMtxVecInt *Y, TMtxVecInt *Z) const;Compute X + Y + Z
10TMtxVecInt *Add(TMtxVecInt *X, int XIndex, TMtxVecInt *Y, int YIndex, TMtxVecInt *Z, int zIndex, int Index, int Len) const;Compute X + Y + Z on sub arrays
11TMtxVecInt *Add(TMtxVecInt *X, TMtxVecInt *Y, const int Z) const;Compute X + Y + zScalar
12TMtxVecInt *Add(TMtxVecInt *X, int XIndex, TMtxVecInt *Y, int YIndex, const int Z, int Index, int Len) const;Compute X + Y + zScalar on sub arrays

Overload 1: TMtxVecInt *Add(TMtxVecInt *Src1, TMtxVecInt *Src2) const;

Add coresponding elements in Src2 to Src1.

#NameTypeDescription
1Src1TMtxVecInt *
2Src2TMtxVecInt *

Returns: the result of adding Src2 values from coresponding Src1 values.

Declared in Dew::Math::VectorInt · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 2: TMtxVecInt *Add(TMtxVecInt *Src1, TMtxVecInt *Src2, const int src1Index, const int Src2Index, const int Index, const int Len) const;

Add coresponding elements in Src2 to Src1.

#NameTypeDescription
1Src1TMtxVecInt *
2Src2TMtxVecInt *
3src1Indexconst int
4Src2Indexconst int
5Indexconst int
6Lenconst int
Remarks:

Add Src1 elements [Src1Index..Src1Index+Len-1] to corrresponding Src2 elements [Src2Index..Src12ndex+Len] and store the results in calling vector elements [Index..Index+Len-1]. An exception is raised if array borders are overrun.

Declared in Dew::Math::VectorInt · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 3: TMtxVecInt *Add(TMtxVecInt *Src) const;

Add Src elements to calling vector elements.

#NameTypeDescription
1SrcTMtxVecInt *
Declared in Dew::Math::VectorInt · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 4: TMtxVecInt *Add(TMtxVecInt *Src, const int SrcIndex, const int Index, const int Len) const;

Add Src elements [SrcIndex..SrcIndex+Len-1] to calling vector elements.

#NameTypeDescription
1SrcTMtxVecInt *
2SrcIndexconst int
3Indexconst int
4Lenconst int
Remarks:

Add Src elements [SrcIndex..SrcIndex+Len-1] to calling vector elements [Index..Index+Len-1]. An exception is raised if array borders are overrun.

Declared in Dew::Math::VectorInt · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 5: TMtxVecInt *Add(TMtxVecInt *Src, const int Value) const;

Add integer Value to all Src elements.

#NameTypeDescription
1SrcTMtxVecInt *
2Valueconst int
Remarks:

Add integer Value to all Src elements and store the results in calling vector. Size of calling vector is adjusted automatically.

Declared in Dew::Math::VectorInt · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 6: TMtxVecInt *Add(TMtxVecInt *Src, const int Value, const int SrcIndex, const int Index, const int Len) const;

Add integer Value to Src elements [SrcIndex..SrcIndex+Len-1].

#NameTypeDescription
1SrcTMtxVecInt *
2Valueconst int
3SrcIndexconst int
4Indexconst int
5Lenconst int
Remarks:

Add integer Value to Src elements [SrcIndex..SrcIndex+Len-1] and store the results in calling vector elements [Index..Index+Len-1]. An exception is raised if array borders are overrun.

Declared in Dew::Math::VectorInt · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 7: TMtxVecInt *Add(const int Value) const;

Add integer value to all calling vector elements.

#NameTypeDescription
1Valueconst int
Declared in Dew::Math::VectorInt · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 8: TMtxVecInt *Add(const int Value, const int Index, const int Len) const;

Add integer value to calling vector elements [Index..Index+Len-1].

#NameTypeDescription
1Valueconst int
2Indexconst int
3Lenconst int
Remarks:

An exception is raised if array borders are overrun.

Declared in Dew::Math::VectorInt · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 9: TMtxVecInt *Add(TMtxVecInt *X, TMtxVecInt *Y, TMtxVecInt *Z) const;

Compute X + Y + Z

#NameTypeDescription
1XTMtxVecInt *
2YTMtxVecInt *
3ZTMtxVecInt *
Declared in Dew::Math::VectorInt · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 10: TMtxVecInt *Add(TMtxVecInt *X, int XIndex, TMtxVecInt *Y, int YIndex, TMtxVecInt *Z, int zIndex, int Index, int Len) const;

Compute X + Y + Z on sub arrays

#NameTypeDescription
1XTMtxVecInt *
2XIndexint
3YTMtxVecInt *
4YIndexint
5ZTMtxVecInt *
6zIndexint
7Indexint
8Lenint
Declared in Dew::Math::VectorInt · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 11: TMtxVecInt *Add(TMtxVecInt *X, TMtxVecInt *Y, const int Z) const;

Compute X + Y + zScalar

#NameTypeDescription
1XTMtxVecInt *
2YTMtxVecInt *
3Zconst int
Declared in Dew::Math::VectorInt · Dew.Math/MtxExprInt.h · Cross-compiler

Overload 12: TMtxVecInt *Add(TMtxVecInt *X, int XIndex, TMtxVecInt *Y, int YIndex, const int Z, int Index, int Len) const;

Compute X + Y + zScalar on sub arrays

#NameTypeDescription
1XTMtxVecInt *
2XIndexint
3YTMtxVecInt *
4YIndexint
5Zconst int
6Indexint
7Lenint
Declared in Dew::Math::VectorInt · Dew.Math/MtxExprInt.h · Cross-compiler