Overload List
Overload 1: TMtxVec *Add(const double Value);
Adds Value to object elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | const double |
Overload 2: TMtxVec *Add(const TCplx &Value);
Adds complex Value to all calling object complex elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | const TCplx & |
Overload 3: TMtxVec *Add(const double Value, int Index, int Len);
Adds Value to calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | const double | |
| 2 | Index | int | |
| 3 | Len | int |
An exception is raised if array borders are overrun.
Overload 4: TMtxVec *Add(const TCplx &Value, int Index, int Len);
Adds complex Value to calling object complex elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | const TCplx & | |
| 2 | Index | int | |
| 3 | Len | int |
An exception is raised if array borders are overrun.
Overload 5: TMtxVec *Add(TMtxVec *Vec, const double Value);
Adds Value to the each element of the Vec object.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec * | |
| 2 | Value | const double |
Stores the result in the calling object. Size and TVec::Complex properties of the calling object are set automatically.
Overload 6: TMtxVec *Add(TMtxVec *Vec, const TCplx &Value);
Adds complex Value to each element of the Vec object.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec * | |
| 2 | Value | const TCplx & |
Store the result to the calling object. Size property of the calling object is set automatically. TVec::Complex property of the calling object is set to True.
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].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec * | |
| 2 | Value | const double | |
| 3 | VecIndex | int | |
| 4 | Index | int | |
| 5 | Len | int |
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. TVec::Complex property of the calling object is set implicitly.
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].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec * | |
| 2 | Value | const TCplx & | |
| 3 | VecIndex | int | |
| 4 | Index | int | |
| 5 | Len | int |
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. TVec::Complex property of the calling object is set to True.
Overload 9: TMtxVec *Add(TMtxVec *Vec);
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);
Add each of Vec2 elements to corresponding elements in Vec1.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec1 | TMtxVec * | |
| 2 | Vec2 | TMtxVec * |
The results are stored in the calling object. Size and TVec::Complex properties of the calling object are set implicitly to match Vec1 and Vec2 vectors.
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].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec * | |
| 2 | VecIndex | int | |
| 3 | Index | int | |
| 4 | Len | int |
An exception is raised if TVec::ConditionCheck is true and array borders are overrun.
Overload 12: TMtxVec *Add(TMtxVec *X, TMtxVec *Y, TMtxVec *Z);
Compute X + Y + Z
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec * | |
| 2 | Y | TMtxVec * | |
| 3 | Z | TMtxVec * |
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
| # | 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 14: TMtxVec *Add(TMtxVec *X, TMtxVec *Y, const double Z);
Compute X + Y + zScalar
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec * | |
| 2 | Y | TMtxVec * | |
| 3 | Z | const double |
Overload 15: TMtxVec *Add(TMtxVec *X, TMtxVec *Y, const TCplx &Z);
Compute X + Y + zScalar
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec * | |
| 2 | Y | TMtxVec * | |
| 3 | Z | const TCplx & |
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
| # | 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 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
| # | 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 |
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].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec1 | TMtxVec * | |
| 2 | Vec2 | TMtxVec * | |
| 3 | Vec1Index | int | |
| 4 | Vec2Index | int | |
| 5 | Index | int | |
| 6 | Len | int |
Store the results in calling object elements [Index]..[Index+Len-1]. An exception is raised if TVec::ConditionCheck is true and array borders are overrun.