[object Object]

[object Object][object Object]undefined
[object Object]
  • Description: Performs element-wise computation of the complementary error function, defined as the integral from x to infinity.
  • Formula:x=[x0,x1,...xn1]y=[y0,y1,...yn1]x = [{x_0}, {x_1}, ... {x_{n-1}}]\\ y = [{y_0}, {y_1}, ... {y_{n-1}}]\\ yi=erfc(xi)=1erf(xi)=12π0xiet2dt=2πxiet2dt(i=0,1,...n1)y_i = {\rm erfc}(x_i) = 1 - {\rm erf}(x_i) = 1 - \frac{2}{\sqrt{\pi}} \int_{0}^{x_i} e^{-t^2} dt = \frac{2}{\sqrt{\pi}} \int_{x_i}^{\infty} e^{-t^2} dt (i=0,1,...n-1)
[object Object]

Each operator has calls. First, aclnnForeachErfcGetWorkspaceSize is called to obtain the input parameters and compute the required workspace size based on the process. Then, aclnnForeachErfc is called to perform computation.

[object Object]
[object Object]
[object Object]
  • Parameters

    [object Object]
  • Returns

    [object Object]: status code. For details, see .

    The first-phase API implements input parameter verification. The following errors may be thrown.

    [object Object]
[object Object]
  • Parameters

    [object Object]
  • Returns

    [object Object]: status code. For details, see .

[object Object]
  • Deterministic computation:
    • aclnnForeachErfc defaults to a deterministic implementation.
[object Object]

The following example is for reference only. For details, see .

[object Object]