Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function MaxEvery(const Vec: TMtxVec): TMtxVec; | Vectorised maximum. |
| └ indexed: function MaxEvery(const Vec: TMtxVec; VecIndex: Integer; Index: Integer; Len: Integer): TMtxVec; | ||
| 2 | function MaxEvery(const Vec1: TMtxVec; const Vec2: TMtxVec): TMtxVec; | Compare all Vec1 elements with corresponding Vec2 elements and store bigger value in Self. |
| └ indexed: function MaxEvery(const Vec1: TMtxVec; const Vec2: TMtxVec; Vec1Index: Integer; Vec2Index: Integer; Index: Integer; Len: Integer): TMtxVec; |
Overload 1: function MaxEvery(const Vec: TMtxVec): TMtxVec;
Vectorised maximum.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec |
Result: stored in self (calling object), returns self for chaining
Compares Vec values with corresponding elements in the calling object and stores the bigger value in Self. Size and TMtxVec.Complex property of the calling object are set automatically. Supports real value data only.
Indexed: function MaxEvery(const Vec: TMtxVec; VecIndex: Integer; Index: Integer; Len: Integer): TMtxVec;
Compare Vec elements [VecIndex]..[VecIndex+Len-1] with calling object elements [Index]..[Index+Len-1] and store result in Self.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVec | |
| 2 | VecIndex | Integer | |
| 3 | Index | Integer | start index |
| 4 | Len | Integer | element count |
Result: stored in self (calling object), returns self for chaining
An exception is raised if Vec and calling object TMtxVec.Complex property do not match or if array borders are overrun/underrun. Supports real value data only.
Overload 2: function MaxEvery(const Vec1: TMtxVec; const Vec2: TMtxVec): TMtxVec;
Compare all Vec1 elements with corresponding Vec2 elements and store bigger value in Self.
Result: stored in self (calling object), returns self for chaining
Stores the results in to the calling object. Size and TMtxVec.Complex property of calling object are adjusted automatically to match those of Vec1 and Vec2. An exception is raised if Vec1 and Vec2 size and TMtxVec.Complex property do not match. Supports real value data only.
Indexed: function MaxEvery(const Vec1: TMtxVec; const Vec2: TMtxVec; Vec1Index: Integer; Vec2Index: Integer; Index: Integer; Len: Integer): TMtxVec;
Compare Vec1 elements [Vec1Index]..[Vec1Index+Len-1] with Vec2 object elements [Vec2Index]..[Vec2Index+Len-1] and store bigger value in Self.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec1 | TMtxVec | |
| 2 | Vec2 | TMtxVec | |
| 3 | Vec1Index | Integer | |
| 4 | Vec2Index | Integer | |
| 5 | Index | Integer | start index |
| 6 | Len | Integer | element count |
Result: stored in self (calling object), returns self for chaining
Stores the results in to the calling object elements [Index]..[Index+Len-1]. Size and TMtxVec.Complex properties of the calling object must be set explicitly. An exception is raised if TMtxVecBase.ConditionCheck is True and array borders are overrun or underrun.