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