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


erfc

The complementary error function.

Syntax

y = erfc(x)

Arguments

x

vector or matrix

y

vector or matrix (of same size than x)

Description

Compute the complementary error function of x, defined by: 1 - erf(x)

Examples

erf([0.5,0.2])+erfc([0.5,0.2])

x = [1+2*%i,-1+2*%i,1e-6+2e-6*%i,0+2*%i];
erfc(x)

Algorithms

This function is based on the Faddeeva package library.

See also

  • erf — The error function.
  • erfcx — scaled complementary error function.
  • calerf — computes error functions.

History

VersionDescription
5.5.0 Function erfc supports complex arguments
Report an issue
<< erf Special Functions erfcx >>

Copyright (c) 2022-2024 (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:
Mon Jun 17 17:49:16 CEST 2024