Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TOpenCLMtxVec Erf | Error functon of values. |
| └ indexed: TOpenCLMtxVec Erf(Int32 Index, Int32 Len) | ||
| 2 | TOpenCLMtxVec Erf(TOpenCLMtxVec Src) | Calculates the error function for all Src object values. |
| └ indexed: TOpenCLMtxVec Erf(TOpenCLMtxVec Src, Int32 SrcIndex, Int32 Index, Int32 Len) |
Overload 1: TOpenCLMtxVec Erf
Error functon of values.
Result: stored in self (calling object), returns self for chaining
Calculates the error function for all object values in-place.
clMatrix a;
Integer ind;
a.CopyFromArray(2,2,TSingleArray.Create(1, 5.5, -1.6, 6)); // a = new double[] {1, 5.5, -1.6, 6}
a.Erf;
Indexed: TOpenCLMtxVec Erf(Int32 Index, Int32 Len)
Calculates the error function for calling object elements [Index]..[Index+Len-1] in-place.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Index | Int32 | start index |
| 2 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
An exception is raised if array borders are overrun or underrun.
Overload 2: TOpenCLMtxVec Erf(TOpenCLMtxVec Src)
Calculates the error function for all Src object values.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
Result: stored in self (calling object), returns self for chaining
Stores the result in calling object. Size and Dew.Math.TOpenCLBase.Complex properties of calling object are adjusted automatically.
Indexed: TOpenCLMtxVec Erf(TOpenCLMtxVec Src, Int32 SrcIndex, Int32 Index, Int32 Len)
Calculates the error function for Src object elements [SrcIndex]..[SrcIndex+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Src | TOpenCLMtxVec | source TOpenCLVector or TOpenCLMatrix |
| 2 | SrcIndex | Int32 | source start index |
| 3 | Index | Int32 | start index |
| 4 | Len | Int32 | element count |
Result: stored in self (calling object), returns self for chaining
Stores the result in calling object elements [Index]..[Index+Len-1]. An exception is raised if array borders are overrun or underrun.