clValue::Erf Method

TOpenCLValue *Erf(TOpenCLValue *Src) const;

Error function of value.

#NameTypeDescription
1SrcTOpenCLValue *
Remarks:

Calculates the error function for object value.

Examples
#include "clMtxExpr.h"

using namespace Dew;
using namespace Dew::Math;

void Example()
{
    clValue a, b;

    b.Copy(2.3);
    a.Erf(b);  // a = Erf(2.3)
}
See Also: ErfInv, clValue::Erfc
Declared in Dew::Math::clValue · Dew.Math/clMtxExpr.h · Cross-compiler