TOpenCLMatrix.Erf Method

Overload List

#SignatureDescription
1TOpenCLMtxVec ErfError functon of values.
└ indexed: TOpenCLMtxVec Erf(Int32 Index, Int32 Len)
2TOpenCLMtxVec 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

Remarks:

Calculates the error function for all object values in-place.

Examples
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.

#NameTypeDescription
1IndexInt32start index
2LenInt32element count

Result: stored in self (calling object), returns self for chaining

Remarks:

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.

#NameTypeDescription
1SrcTOpenCLMtxVecsource TOpenCLVector or TOpenCLMatrix

Result: stored in self (calling object), returns self for chaining

Remarks:

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].

#NameTypeDescription
1SrcTOpenCLMtxVecsource TOpenCLVector or TOpenCLMatrix
2SrcIndexInt32source start index
3IndexInt32start index
4LenInt32element count

Result: stored in self (calling object), returns self for chaining

Remarks:

Stores the result in calling object elements [Index]..[Index+Len-1]. An exception is raised if array borders are overrun or underrun.