clMatrix.Erfc Method

Overload List

#SignatureDescription
1TOpenCLMtxVec ErfcComplementary error functon of values.
└ indexed: TOpenCLMtxVec Erfc(Int32 Index, Int32 Len)
2TOpenCLMtxVec Erfc(TOpenCLMtxVec Src)Calculates the complementary error function value for all Src object values.
└ indexed: TOpenCLMtxVec Erfc(TOpenCLMtxVec Src, Int32 SrcIndex, Int32 Index, Int32 Len)

Overload 1: TOpenCLMtxVec Erfc

Complementary error functon of values.

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

Remarks:

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

Examples
clMatrix a;
a.CopyFromArray(2,2,TSingleArray.Create(1,5.5,-1.6,6)); // a = new double[] {1, 5.5, -1.6, 6}
a.Erfc;
See Also: Math387.ErfInv, clMatrix.Erfc

Indexed: TOpenCLMtxVec Erfc(Int32 Index, Int32 Len)

Calculates the complementary error function value 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 Erfc(TOpenCLMtxVec Src)

Calculates the complementary error function value 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.clMatrix.Complex properties of calling object are adjusted automatically.

Indexed: TOpenCLMtxVec Erfc(TOpenCLMtxVec Src, Int32 SrcIndex, Int32 Index, Int32 Len)

Calculates the complementary error function value 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.