Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVec *Add(double Value) const; | Adds Value to object elements. |
| 2 | TMtxVec *Add(TCplx Value) const; | Adds complex Value to all calling object complex elements. |
| 3 | TMtxVec *Add(double Value, int Index, int Len) const; | Adds Value to calling object elements [Index]..[Index+Len-1]. |
| 4 | TMtxVec *Add(TCplx Value, int Index, int Len) const; | Adds complex Value to calling object complex elements [Index]..[Index+Len-1]. |
| 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. |
| 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. |
| 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. |
| 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. |
| 9 | TMtxVec *Add(TMtxVec *Vec) const; | Array addition. |
| 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. |
| 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]. |
| 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]. |
| 13 | TMtxVec *Add(TMtxVec *X, TMtxVec *Y, TMtxVec *Z) const; | Compute X + Y + Z |
| 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 |
| 15 | TMtxVec *Add(TMtxVec *X, TMtxVec *Y, const double Z) const; | Compute X + Y + zScalar |
| 16 | TMtxVec *Add(TMtxVec *X, TMtxVec *Y, const TCplx &Z) const; | Compute X + Y + zScalar |
| 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 |
| 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 |
Overload 1: TMtxVec *Add(double Value) const;
Adds Value to object elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | double |
Adds Value to all calling object elements.
Overload 2: TMtxVec *Add(TCplx Value) const;
Adds complex Value to all calling object complex elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | TCplx |
Overload 3: TMtxVec *Add(double Value, int Index, int Len) const;
Adds Value to calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | double | |
| 2 | Index | int | |
| 3 | Len | int |
An exception is raised if array borders are overrun.
Overload 4: TMtxVec *Add(TCplx Value, int Index, int Len) const;
Adds complex Value to calling object complex elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | TCplx | |
| 2 | Index | int | |
| 3 | Len | int |
An exception is raised if array borders are overrun.
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.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec * | |
| 2 | Value | double |
Size and Matrix::Complex properties of the calling object are set automatically.
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.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec * | |
| 2 | Value | TCplx |
Size property of the calling object is set automatically. Matrix::Complex property of the calling object is set to True.
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.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec * | |
| 2 | Value | double | |
| 3 | VecIndex | int | |
| 4 | Index | int | |
| 5 | Len | int |
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.
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.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec * | |
| 2 | Value | TCplx | |
| 3 | VecIndex | int | |
| 4 | Index | int | |
| 5 | Len | int |
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.
Overload 9: TMtxVec *Add(TMtxVec *Vec) const;
Array addition.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec * |
Add each of Vec elements to corresponding elements in the calling object.
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.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec1 | TMtxVec * | |
| 2 | Vec2 | TMtxVec * |
Size and Matrix::Complex properties of the calling object are set implicitly to match Vec1 and Vec2 matrices.
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].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec * | |
| 2 | VecIndex | int | |
| 3 | Index | int | |
| 4 | Len | int |
An exception is raised if Matrix::ConditionCheck is true and array borders are overrun.
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].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec1 | TMtxVec * | |
| 2 | Vec2 | TMtxVec * | |
| 3 | Vec1Index | int | |
| 4 | Vec2Index | int | |
| 5 | Index | int | |
| 6 | Len | int |
An exception is raised if Matrix::ConditionCheck is true and array borders are overrun.
Overload 13: TMtxVec *Add(TMtxVec *X, TMtxVec *Y, TMtxVec *Z) const;
Compute X + Y + Z
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec * | |
| 2 | Y | TMtxVec * | |
| 3 | Z | TMtxVec * |
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
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec * | |
| 2 | XIndex | int | |
| 3 | Y | TMtxVec * | |
| 4 | YIndex | int | |
| 5 | Z | TMtxVec * | |
| 6 | zIndex | int | |
| 7 | Index | int | |
| 8 | Len | int |
Overload 15: TMtxVec *Add(TMtxVec *X, TMtxVec *Y, const double Z) const;
Compute X + Y + zScalar
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec * | |
| 2 | Y | TMtxVec * | |
| 3 | Z | const double |
Overload 16: TMtxVec *Add(TMtxVec *X, TMtxVec *Y, const TCplx &Z) const;
Compute X + Y + zScalar
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec * | |
| 2 | Y | TMtxVec * | |
| 3 | Z | const TCplx & |
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
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec * | |
| 2 | XIndex | int | |
| 3 | Y | TMtxVec * | |
| 4 | YIndex | int | |
| 5 | Z | const double | |
| 6 | Index | int | |
| 7 | Len | int |
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
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec * | |
| 2 | XIndex | int | |
| 3 | Y | TMtxVec * | |
| 4 | YIndex | int | |
| 5 | Z | const TCplx & | |
| 6 | Index | int | |
| 7 | Len | int |