Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxVec Replace(TCplx SearchValue, TCplx ReplaceValue, Double Tol) | Search and replace a complex value. |
| └ indexed: TMtxVec Replace(TCplx SearchValue, TCplx ReplaceValue, Int32 Index, Int32 Len, Double Tol) | ||
| 2 | TMtxVec Replace(Double SearchValue, Double ReplaceValue, Double Tol) | Search and replace a value. |
| └ indexed: TMtxVec Replace(Double SearchValue, Double ReplaceValue, Int32 Index, Int32 Len, Double Tol) |
Overload 1: TMtxVec Replace(TCplx SearchValue, TCplx ReplaceValue, Double Tol)
Search and replace a complex value.
Result: stored in self (calling object), returns self for chaining
Indexed: TMtxVec Replace(TCplx SearchValue, TCplx ReplaceValue, Int32 Index, Int32 Len, Double Tol)
Replaces the SearchValue with a ReplaceValue, where the searchValue is compared with Tol to the calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | SearchValue | TCplx | scalar |
| 2 | ReplaceValue | TCplx | scalar |
| 3 | Index | Int32 | start index |
| 4 | Len | Int32 | element count |
| 5 | Tol | Double | scalar |
Result: stored in self (calling object), returns self for chaining
An exception is raised if array borders are overrun/underrun.
Overload 2: TMtxVec Replace(Double SearchValue, Double ReplaceValue, Double Tol)
Search and replace a value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | SearchValue | Double | scalar |
| 2 | ReplaceValue | Double | scalar |
| 3 | Tol | Double | scalar |
Result: stored in self (calling object), returns self for chaining
Replaces the SearchValue with a ReplaceValue, where the searchValue is compared with Tol to the values of the calling object.
Indexed: TMtxVec Replace(Double SearchValue, Double ReplaceValue, Int32 Index, Int32 Len, Double Tol)
Replaces the SearchValue with a ReplaceValue, where the searchValue is compared with Tol to the calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | SearchValue | Double | scalar |
| 2 | ReplaceValue | Double | scalar |
| 3 | Index | Int32 | start index |
| 4 | Len | Int32 | element count |
| 5 | Tol | Double | scalar |
Result: stored in self (calling object), returns self for chaining
An exception is raised if array borders are overrun/underrun.