You are here: Symbol Reference > clMtxVec Namespace > Classes > TOpenCLMtxVec Class > public > Erf Method > TOpenCLMtxVec.Erf Method ()
MtxVec VCL
ContentsIndex
PreviousUpNext
TOpenCLMtxVec.Erf Method ()

Error functon of values.

Pascal
function Erf: TOpenCLMtxVec; overload;

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

var a: TOpenCLVector; ind: Integer; begin a := TOpenCLVector.Create; try a.CopyFromArray(TSingleArray.Create(1, 5.5, -1.6, 6)); // a = [1, 5.5, -1.6, 6] a.Erf; finally a.Free; end; end;
Examples on GitHub
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!