You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TOpenCLMtxVec Class > TOpenCLMtxVec Methods > Erf Method > TOpenCLMtxVec.Erf Method ()
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TOpenCLMtxVec.Erf Method ()

Error functon of values.

Syntax
C#
Visual Basic
public TOpenCLMtxVec Erf();

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

ErfInv, Erfc

using Dew.Math; using Dew.Math.Units; namespace Dew.Examples() { void Example() { TOpenCLVector a; clMtxVec.CreateIt(out a); try { a.CopyFromArray( new double[] {1, 5.5, -1.6, 6}); a.Erf(); } finally { clMtxVec.FreeIt(ref a); } } }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!