Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVecInt MinEvery(TMtxVecInt Vec) | Vectorised minimum. |
| └ indexed: TMtxVecInt MinEvery(TMtxVecInt Vec, Int32 VecIndex, Int32 Index, Int32 Len) | ||
| 2 | TMtxVecInt MinEvery(TMtxVecInt Vec1, TMtxVecInt Vec2) | Compare all Vec1 elements with corresponding Vec2 elements and store the smaller value in Self. |
| └ indexed: TMtxVecInt MinEvery(TMtxVecInt Vec1, TMtxVecInt Vec2, Int32 Vec1Index, Int32 Vec2Index, Int32 Index, Int32 Len) |
Overload 1: TMtxVecInt MinEvery(TMtxVecInt Vec)
Vectorised minimum.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec | TMtxVecInt | source TVecInt or TMtxInt |
Result: stored in self (calling object), returns self for chaining
Compares Vec values with corresponding elements in the calling object and stores the smaller value in Self. Size and Dew.Math.TMtxVecInt.IntPrecision property of the calling object are set automatically.
Indexed: TMtxVecInt MinEvery(TMtxVecInt Vec, Int32 VecIndex, Int32 Index, Int32 Len)
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 | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | VecIndex | Int32 | |
| 3 | Index | Int32 | start index |
| 4 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
An exception is raised, if Vec and calling object Dew.Math.TMtxVecInt.IntPrecision property do not match or if array borders are overrun/underrun.
Overload 2: TMtxVecInt MinEvery(TMtxVecInt Vec1, TMtxVecInt Vec2)
Compare all Vec1 elements with corresponding Vec2 elements and store the smaller value in Self.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec1 | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | Vec2 | TMtxVecInt | source TVecInt or TMtxInt |
Result: stored in self (calling object), returns self for chaining
Stores the results in to the calling object. Size and Dew.Math.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 Dew.Math.TMtxVecInt.IntPrecision property do not match.
Indexed: TMtxVecInt MinEvery(TMtxVecInt Vec1, TMtxVecInt Vec2, Int32 Vec1Index, Int32 Vec2Index, Int32 Index, Int32 Len)
Compare Vec1 elements [Vec1Index]..[Vec1Index+Len-1] with Vec2 object elements [Vec2Index]..[Vec2Index+Len-1] and store the smaller value in Self.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Vec1 | TMtxVecInt | source TVecInt or TMtxInt |
| 2 | Vec2 | TMtxVecInt | source TVecInt or TMtxInt |
| 3 | Vec1Index | Int32 | |
| 4 | Vec2Index | Int32 | |
| 5 | Index | Int32 | start index |
| 6 | Len | Int32 | 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 Dew.Math.TMtxVecInt.IntPrecision properties of the calling object must be set explicitly. An exception is raised if Dew.Math.TMtxVecBase.ConditionCheck is True and array borders are overrun or underrun.