Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2024.0.0 - English


erfcx

scaled complementary error function.

Syntax

y = erfcx(x)

Arguments

x

vector or matrix

y

vector or matrix (of same size than x)

Description

Compute the scaled complementary error function of x, defined by exp(x2).erfc(x). Note also that erfcx(-ix) computes the Faddeeva function w(x).

Examples

x = [1+2*%i,-1+2*%i,1e-6+2e-6*%i,0+2*%i];
erfcx(x)
// Equivalent to
exp (x.^2) .* erfc(x)

Algorithms

This function is based on the Faddeeva package library.

See also

  • erf — The error function.
  • erfc — The complementary error function.
  • calerf — computes error functions.

History

VersionDescription
5.5.0 Improve the behavior of erfcx on big values.
Report an issue
<< erfc Special Functions erfi >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Oct 24 14:30:04 CEST 2023