TMtx::Add Method

Overload List

#SignatureDescription
1TMtxVec *Add(const double Value);Adds Value to object elements.
2TMtxVec *Add(const TCplx &Value);Adds complex Value to all calling object complex elements.
3TMtxVec *Add(const double Value, int Index, int Len);Adds Value to calling object elements [Index]..[Index+Len-1].
4TMtxVec *Add(const TCplx &Value, int Index, int Len);Adds complex Value to calling object complex elements [Index]..[Index+Len-1].
5TMtxVec *Add(TMtxVec *Vec, const double Value);Adds Value to the each element of the Vec object.
6TMtxVec *Add(TMtxVec *Vec, const TCplx &Value);Adds complex Value to each element of the Vec object.
7TMtxVec *Add(TMtxVec *Vec, const double Value, int VecIndex, int Index, int Len);Adds Value to each element of Vec object in range [VecIndex]..[VecIndex+Len-1].
8TMtxVec *Add(TMtxVec *Vec, const TCplx &Value, int VecIndex, int Index, int Len);Adds complex Value to each elements of the Vec object in range [VecIndex]..[VecIndex+Len-1].
9TMtxVec *Add(TMtxVec *Vec);Array addition.
10TMtxVec *Add(TMtxVec *Vec1, TMtxVec *Vec2);Add each of Vec2 elements to corresponding elements in Vec1.
11TMtxVec *Add(TMtxVec *Vec, int VecIndex, int Index, int Len);Add Vec elements [VecIndex]..[VecIndex+Len-1] to calling object elements [Index]..[Index+Len-1].
12TMtxVec *Add(TMtxVec *X, TMtxVec *Y, TMtxVec *Z);Compute X + Y + Z
13TMtxVec *Add(TMtxVec *X, int XIndex, TMtxVec *Y, int YIndex, TMtxVec *Z, int zIndex, int Index, int Len);Compute X + Y + Z on sub arrays
14TMtxVec *Add(TMtxVec *X, TMtxVec *Y, const double Z);Compute X + Y + zScalar
15TMtxVec *Add(TMtxVec *X, TMtxVec *Y, const TCplx &Z);Compute X + Y + zScalar
16TMtxVec *Add(TMtxVec *X, int XIndex, TMtxVec *Y, int YIndex, const double Z, int Index, int Len);Compute X + Y + zScalar on sub arrays
17TMtxVec *Add(TMtxVec *X, int XIndex, TMtxVec *Y, int YIndex, const TCplx &Z, int Index, int Len);Compute X + Y + zScalar on sub arrays
18TMtxVec *Add(TMtxVec *Vec1, TMtxVec *Vec2, int Vec1Index, int Vec2Index, int Index, int Len);Add Vec1 elements [Vec1Index]..[Vec1Index+Len-1] to Vec2 elements [Vec2Index]..[Vec2Index+Len-1].

Overload 1: TMtxVec *Add(const double Value);

Adds Value to object elements.

#NameTypeDescription
1Valueconst double
See Also: TMtx::Sub
Declared in Dew::Math::TDenseMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

Overload 2: TMtxVec *Add(const TCplx &Value);

Adds complex Value to all calling object complex elements.

#NameTypeDescription
1Valueconst TCplx &
Declared in Dew::Math::TDenseMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

Overload 3: TMtxVec *Add(const double Value, int Index, int Len);

Adds Value to calling object elements [Index]..[Index+Len-1].

#NameTypeDescription
1Valueconst double
2Indexint
3Lenint
Remarks:

An exception is raised if array borders are overrun.

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

Overload 4: TMtxVec *Add(const TCplx &Value, int Index, int Len);

Adds complex Value to calling object complex elements [Index]..[Index+Len-1].

#NameTypeDescription
1Valueconst TCplx &
2Indexint
3Lenint
Remarks:

An exception is raised if array borders are overrun.

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

Overload 5: TMtxVec *Add(TMtxVec *Vec, const double Value);

Adds Value to the each element of the Vec object.

#NameTypeDescription
1VecTMtxVec *
2Valueconst double
Remarks:

Stores the result in the calling object. Size and TMtx::Complex properties of the calling object are set automatically.

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

Overload 6: TMtxVec *Add(TMtxVec *Vec, const TCplx &Value);

Adds complex Value to each element of the Vec object.

#NameTypeDescription
1VecTMtxVec *
2Valueconst TCplx &
Remarks:

Store the result to the calling object. Size property of the calling object is set automatically. TMtx::Complex property of the calling object is set to True.

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

Overload 7: TMtxVec *Add(TMtxVec *Vec, const double Value, int VecIndex, int Index, int Len);

Adds Value to each element of Vec object in range [VecIndex]..[VecIndex+Len-1].

#NameTypeDescription
1VecTMtxVec *
2Valueconst double
3VecIndexint
4Indexint
5Lenint
Remarks:

Stores result to elements [Index]..[Index+Len-1] of the calling object. Size of the calling object is not changed. An exception is raised if array borders are overrun. TMtx::Complex property of the calling object is set implicitly.

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

Overload 8: TMtxVec *Add(TMtxVec *Vec, const TCplx &Value, int VecIndex, int Index, int Len);

Adds complex Value to each elements of the Vec object in range [VecIndex]..[VecIndex+Len-1].

#NameTypeDescription
1VecTMtxVec *
2Valueconst TCplx &
3VecIndexint
4Indexint
5Lenint
Remarks:

Stores the result to elements [Index]..[Index+Len-1] of the calling object. Size of the calling object is not changed. An exception is raised if array borders are overrun. TMtx::Complex property of the calling object is set to True.

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

Overload 9: TMtxVec *Add(TMtxVec *Vec);

Array addition.

#NameTypeDescription
1VecTMtxVec *
Remarks:

Add each of Vec elements to corresponding elements in the calling object.

See Also: TMtx::Sub
Declared in Dew::Math::TDenseMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

Overload 10: TMtxVec *Add(TMtxVec *Vec1, TMtxVec *Vec2);

Add each of Vec2 elements to corresponding elements in Vec1.

#NameTypeDescription
1Vec1TMtxVec *
2Vec2TMtxVec *
Remarks:

The results are stored in the calling object. Size and TMtx::Complex properties of the calling object are set implicitly to match Vec1 and Vec2 vectors.

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

Overload 11: TMtxVec *Add(TMtxVec *Vec, int VecIndex, int Index, int Len);

Add Vec elements [VecIndex]..[VecIndex+Len-1] to calling object elements [Index]..[Index+Len-1].

#NameTypeDescription
1VecTMtxVec *
2VecIndexint
3Indexint
4Lenint
Remarks:

An exception is raised if TMtx::ConditionCheck is true and array borders are overrun.

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

Overload 12: TMtxVec *Add(TMtxVec *X, TMtxVec *Y, TMtxVec *Z);

Compute X + Y + Z

#NameTypeDescription
1XTMtxVec *
2YTMtxVec *
3ZTMtxVec *
Declared in Dew::Math::TDenseMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

Overload 13: TMtxVec *Add(TMtxVec *X, int XIndex, TMtxVec *Y, int YIndex, TMtxVec *Z, int zIndex, int Index, int Len);

Compute X + Y + Z on sub arrays

#NameTypeDescription
1XTMtxVec *
2XIndexint
3YTMtxVec *
4YIndexint
5ZTMtxVec *
6zIndexint
7Indexint
8Lenint
Declared in Dew::Math::TDenseMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

Overload 14: TMtxVec *Add(TMtxVec *X, TMtxVec *Y, const double Z);

Compute X + Y + zScalar

#NameTypeDescription
1XTMtxVec *
2YTMtxVec *
3Zconst double
Declared in Dew::Math::TDenseMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

Overload 15: TMtxVec *Add(TMtxVec *X, TMtxVec *Y, const TCplx &Z);

Compute X + Y + zScalar

#NameTypeDescription
1XTMtxVec *
2YTMtxVec *
3Zconst TCplx &
Declared in Dew::Math::TDenseMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

Overload 16: TMtxVec *Add(TMtxVec *X, int XIndex, TMtxVec *Y, int YIndex, const double Z, int Index, int Len);

Compute X + Y + zScalar on sub arrays

#NameTypeDescription
1XTMtxVec *
2XIndexint
3YTMtxVec *
4YIndexint
5Zconst double
6Indexint
7Lenint
Declared in Dew::Math::TDenseMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

Overload 17: TMtxVec *Add(TMtxVec *X, int XIndex, TMtxVec *Y, int YIndex, const TCplx &Z, int Index, int Len);

Compute X + Y + zScalar on sub arrays

#NameTypeDescription
1XTMtxVec *
2XIndexint
3YTMtxVec *
4YIndexint
5Zconst TCplx &
6Indexint
7Lenint
Declared in Dew::Math::TDenseMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

Overload 18: TMtxVec *Add(TMtxVec *Vec1, TMtxVec *Vec2, int Vec1Index, int Vec2Index, int Index, int Len);

Add Vec1 elements [Vec1Index]..[Vec1Index+Len-1] to Vec2 elements [Vec2Index]..[Vec2Index+Len-1].

#NameTypeDescription
1Vec1TMtxVec *
2Vec2TMtxVec *
3Vec1Indexint
4Vec2Indexint
5Indexint
6Lenint
Remarks:

Store the results in calling object elements [Index]..[Index+Len-1]. An exception is raised if TMtx::ConditionCheck is true and array borders are overrun.

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