clVector.Erfc Method

Overload List

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

Overload 1: function Erfc: TOpenCLMtxVec; overload;

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
var a: clVector;
begin
    a.CopyFromArray(TSingleArray.Create(1,5.5,-1.6,6)); // a = [1, 5.5, -1.6, 6]
    a.Erfc;
end;
See Also: Math387.ErfInv, clVector.Erfc, clVector.Erfc, clVector.Erfc, clVector.Erfc

Indexed: function Erfc(Index,Len: integer): TOpenCLMtxVec; overload;

Calculates the complementary error function value for calling object elements [Index]..[Index+Len-1] in-place.

#NameTypeDescription
1Indexintegerstart index
2Lenintegerelement 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: function Erfc(const Src: TOpenCLMtxVec): TOpenCLMtxVec; overload;

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 clVector.Complex properties of calling object are adjusted automatically.

Indexed: function Erfc(const Src: TOpenCLMtxVec; SrcIndex, Index, Len: integer): TOpenCLMtxVec; overload;

Calculates the complementary error function value for Src object elements [SrcIndex]..[SrcIndex+Len-1].

#NameTypeDescription
1SrcTOpenCLMtxVecsource TOpenCLVector or TOpenCLMatrix
2SrcIndexintegersource start index
3Indexintegerstart index
4Lenintegerelement 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.