Overload List
Overload 1: TMtxVec *Sub(TMtxVec *X, TMtxVec *Y, TMtxVec *Z);
Compute X - Y - Z
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TMtxVec * | |
| 2 | Y | TMtxVec * | |
| 3 | Z | TMtxVec * |
Overload 2: TMtxVec *Sub(TMtxVec *X, int XIndex, TMtxVec *Y, int YIndex, TMtxVec *Z, int zIndex, int Index, int Len);
Compute X - Y - Z on sub array
| # | 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 3: TMtxVec *Sub(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 4: TMtxVec *Sub(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 5: TMtxVec *Sub(TMtxVec *X, int XIndex, TMtxVec *Y, int YIndex, const double Z, int Index, int Len);
Compute X - Y - zScalar on sub array
| # | 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 6: TMtxVec *Sub(TMtxVec *X, int XIndex, TMtxVec *Y, int YIndex, const TCplx &Z, int Index, int Len);
Compute X - Y - zScalar on sub array
| # | 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 7: TMtxVec *Sub(const double Value);
Subtracts Value from object elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | const double |
Subtracts Value from all calling object elements.
Overload 8: TMtxVec *Sub(const TCplx &Value);
Subtracts complex Value from all calling object complex elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Value | const TCplx & |
Overload 9: TMtxVec *Sub(const double Value, int Index, int Len);
Subtracts Value from 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 10: TMtxVec *Sub(const TCplx &Value, int Index, int Len);
Subtracts complex Value from 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 11: TMtxVec *Sub(TMtxVec *Src, const double Value);
Subtract real Value from Src.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVec * | |
| 2 | Value | const double |
Store the results in calling object. Size and TMtx::Complex property of calling object are adjusted automatically.
Overload 12: TMtxVec *Sub(TMtxVec *Src, const TCplx &Value);
Subtract complex Value from Src.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVec * | |
| 2 | Value | const TCplx & |
Store the results in calling object. Size and TMtx::Complex property of calling object are adjusted automatically.
Overload 13: TMtxVec *Sub(TMtxVec *Src, const double Value, int SrcIndex, int Index, int Len);
Subtract real Value from Src elements [SrcIndex]..[SrcIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVec * | |
| 2 | Value | const double | |
| 3 | SrcIndex | int | |
| 4 | Index | int | |
| 5 | Len | int |
Stores the result in calling object elements [Index]..[Index+Len-1]. Size and TMtx::Complex properties of the calling object must be set explicitly. An exception is raised if TMtx::ConditionCheck is True and array borders are overrun or underrun.
Overload 14: TMtxVec *Sub(TMtxVec *Src, const TCplx &Value, int SrcIndex, int Index, int Len);
Subtract complex Value from Src elements [SrcIndex]..[SrcIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TMtxVec * | |
| 2 | Value | const TCplx & | |
| 3 | SrcIndex | int | |
| 4 | Index | int | |
| 5 | Len | int |
Stores the result in calling object elements [Index]..[Index+Len-1]. Size and TMtx::Complex properties of the calling object must be set explicitly. An exception is raised if TMtx::ConditionCheck is True and array borders are overrun or underrun.
Overload 15: TMtxVec *Sub(TMtxVec *Vec);
Array subtraction.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec * |
Subtract each of Vec elements from corresponding elements in the calling object. An exception is raised if Vec and calling object size and TMtx::Complex properties do not match.
Overload 16: TMtxVec *Sub(TMtxVec *Vec1, TMtxVec *Vec2);
Subtract Vec2 elements from Vec1 elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec1 | TMtxVec * | |
| 2 | Vec2 | TMtxVec * |
Stores the results in calling object. Size and TMtx::Complex property of calling object are adjusted automatically. An exception is raised if Vec1 and Vec2 size and TMtx::Complex property do not match.
Overload 17: TMtxVec *Sub(TMtxVec *Vec, int VecIndex, int Index, int Len);
Subtract Vec elements [VecIndex]..[VecIndex+Len-1] from corresponding calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec * | |
| 2 | VecIndex | int | |
| 3 | Index | int | |
| 4 | Len | int |
The results are stored in the calling object elements [Index]..[Index+Len-1]. Size and TMtx::Complex properties of the calling object must be set explicitly. An exception is raised if TMtx::ConditionCheck is True and array borders are overrun or underrun.
Overload 18: TMtxVec *Sub(TMtxVec *Vec1, TMtxVec *Vec2, int Vec1Index, int Vec2Index, int Index, int Len);
Subtract Vec22 elements [Vec2Index]..[Vec2Index+Len-1] from Vec1 object elements [Vec1Index]..[Vec1Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec1 | TMtxVec * | |
| 2 | Vec2 | TMtxVec * | |
| 3 | Vec1Index | int | |
| 4 | Vec2Index | int | |
| 5 | Index | int | |
| 6 | Len | int |
Stores the results in calling object elements [Index]..[Index+Len-1]. Size and TMtx::Complex properties of the calling object must be set explicitly. An exception is raised if TMtx::ConditionCheck is True and array borders are overrun or underrun.