Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function Replace(SearchValue, ReplaceValue: TCplx; Tol: double = 0.0001): TMtxVec; overload; | Search and replace a complex value. |
| └ indexed: function Replace(SearchValue, ReplaceValue: TCplx; Index, Len: integer; Tol: double = 0.0001): TMtxVec; overload; | ||
| 2 | function Replace(SearchValue, ReplaceValue: double; Tol: double = 0.0001): TMtxVec; overload; | Search and replace a value. |
| └ indexed: function Replace(SearchValue, ReplaceValue: double; Index, Len: integer; Tol: double = 0.0001): TMtxVec; overload; |
Overload 1: function Replace(SearchValue, ReplaceValue: TCplx; Tol: double = 0.0001): TMtxVec; overload;
Search and replace a complex value.
Result: stored in self (calling object), returns self for chaining
Indexed: function Replace(SearchValue, ReplaceValue: TCplx; Index, Len: integer; Tol: double = 0.0001): TMtxVec; overload;
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 | integer | start index |
| 4 | Len | integer | 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: function Replace(SearchValue, ReplaceValue: double; Tol: double = 0.0001): TMtxVec; overload;
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: function Replace(SearchValue, ReplaceValue: double; Index, Len: integer; Tol: double = 0.0001): TMtxVec; overload;
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 | integer | start index |
| 4 | Len | integer | 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.