TVec::Erf Method

Overload List

#SignatureDescription
1TMtxVec *Erf();Error functon of values.
2TMtxVec *Erf(TMtxVec *Src);Calculates the error function for all Src object values.
3TMtxVec *Erf(int Index, int Len);Calculates the error function for calling object elements [Index]..[Index+Len-1] in-place.
4TMtxVec *Erf(TMtxVec *Src, int SrcIndex, int Index, int Len);Calculates the error function for Src object elements [SrcIndex]..[SrcIndex+Len-1].

Overload 1: TMtxVec *Erf();

Error functon of values.

Remarks:

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

Examples
#include "Units.MtxVec.h"

using namespace Dew;
using namespace Dew::Math;
using namespace Dew::Math::Units::MtxVec;

void Example()
{
    TVec* a;
    CreateIt(a);
    a->SetIt(false, DewArray<double>{1, 5.5, -1.6, 6});
    a->Erf();
    FreeIt(a);
}
See Also: TVec::ErfInv, TVec::Erfc
Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

Overload 2: TMtxVec *Erf(TMtxVec *Src);

Calculates the error function for all Src object values.

#NameTypeDescription
1SrcTMtxVec *
Remarks:

Stores the result in calling object. Size and TVec::Complex properties of calling object are adjusted automatically.

Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

Overload 3: TMtxVec *Erf(int Index, int Len);

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

#NameTypeDescription
1Indexint
2Lenint
Remarks:

An exception is raised if array borders are overrun or underrun.

Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler

Overload 4: TMtxVec *Erf(TMtxVec *Src, int SrcIndex, int Index, int Len);

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

#NameTypeDescription
1SrcTMtxVec *
2SrcIndexint
3Indexint
4Lenint
Remarks:

Stores the result in calling object elements [Index]..[Index+Len-1]. An exception is raised if array borders are overrun or underrun.

Declared in Dew::Math::TMtxVec · Dew.Math/AbstractMtxVec.h · Cross-compiler