TOpenCLValue.Erfc Method

TOpenCLValue Erfc(TOpenCLValue Src)

Complementary error function.

#NameTypeDescription
1SrcTOpenCLValuesource TOpenCLValue

Returns: TOpenCLValue

Remarks:

Calculates the complementary error function value of Src.

Examples
using Dew.Math;
using Dew.Math.Units;

namespace Dew.Examples
{
    void Example()
    {
        TOpenCLValue a,b;
        clMtxVec.CreateIt(out a, out b);
        try
        {
            b.Copy(2.3);
            a.Erfc(b);  // a = Erfc(2.3)
        }
        finally
        {
            clMtxVec.FreeIt(ref a, ref b);
        }
    }
}
See Also: Math387.ErfInv, TOpenCLValue.Erfc