Matrix::Add Method

Overload List

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

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

Adds Value to object elements.

#NameTypeDescription
1Valuedouble
Remarks:

Adds Value to all calling object elements.

See Also: Matrix::Sub
Declared in Dew::Math::Matrix · Dew.Math/MtxExpr.h · Cross-compiler

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

Adds complex Value to all calling object complex elements.

#NameTypeDescription
1ValueTCplx
Declared in Dew::Math::Matrix · Dew.Math/MtxExpr.h · Cross-compiler

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

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

#NameTypeDescription
1Valuedouble
2Indexint
3Lenint
Remarks:

An exception is raised if array borders are overrun.

Declared in Dew::Math::Matrix · Dew.Math/MtxExpr.h · Cross-compiler

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

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

#NameTypeDescription
1ValueTCplx
2Indexint
3Lenint
Remarks:

An exception is raised if array borders are overrun.

Declared in Dew::Math::Matrix · Dew.Math/MtxExpr.h · Cross-compiler

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

Adds Value to the each element of the Vec object and stores the result in the calling object.

#NameTypeDescription
1VecTMtxVec *
2Valuedouble
Remarks:

Size and Matrix::Complex properties of the calling object are set automatically.

Declared in Dew::Math::Matrix · Dew.Math/MtxExpr.h · Cross-compiler

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

Adds complex Value to each element of the Vec object and store the result to the calling object.

#NameTypeDescription
1VecTMtxVec *
2ValueTCplx
Remarks:

Size property of the calling object is set automatically. Matrix::Complex property of the calling object is set to True.

Declared in Dew::Math::Matrix · Dew.Math/MtxExpr.h · Cross-compiler

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

Adds Value to each element of Vec object in range [VecIndex]..[VecIndex+Len-1] and stores result to elements [Index]..[Index+Len-1] of the calling object.

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

Size of the calling object is not changed. An exception is raised if array borders are overrun. Matrix::Complex property of the calling object is set implicitly.

Declared in Dew::Math::Matrix · Dew.Math/MtxExpr.h · Cross-compiler

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

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

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

Size of the calling object is not changed. An exception is raised if array borders are overrun. Matrix::Complex property of the calling object is set to True.

Declared in Dew::Math::Matrix · Dew.Math/MtxExpr.h · Cross-compiler

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

Array addition.

#NameTypeDescription
1VecTMtxVec *
Remarks:

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

See Also: Matrix::Sub
Declared in Dew::Math::Matrix · Dew.Math/MtxExpr.h · Cross-compiler

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

Add each of Vec2 elements to corresponding elements in Vec1. The results are stored in the calling object.

#NameTypeDescription
1Vec1TMtxVec *
2Vec2TMtxVec *
Remarks:

Size and Matrix::Complex properties of the calling object are set implicitly to match Vec1 and Vec2 matrices.

Declared in Dew::Math::Matrix · Dew.Math/MtxExpr.h · Cross-compiler

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

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 Matrix::ConditionCheck is true and array borders are overrun.

Declared in Dew::Math::Matrix · Dew.Math/MtxExpr.h · Cross-compiler

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

Add Vec1 elements [Vec1Index]..[Vec1Index+Len-1] to Vec2 elements [Vec2Index]..[Vec2Index+Len-1] and store the results in calling object elements [Index]..[Index+Len-1].

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

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

Declared in Dew::Math::Matrix · Dew.Math/MtxExpr.h · Cross-compiler

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

Compute X + Y + Z

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

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

Compute X + Y + Z on sub arrays

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

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

Compute X + Y + zScalar

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

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

Compute X + Y + zScalar

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

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

Compute X + Y + zScalar on sub arrays

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

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

Compute X + Y + zScalar on sub arrays

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