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


erfi

The imaginary error function.

Syntax

y = erfi(z)

Arguments

z

vector or matrix

y

vector or matrix (of same size than x)

Description

erfi computes the imaginary error function of x, defined by -i.erf(i.x).

Examples

erfi(1.234)

x = [-0.1, 0.1, 1, 1+2*%i,-1+2*%i,1e-6+2e-6*%i,0+2*%i];
erfi(x)
// equivalent to
-%i * erf(%i*x)

Algorithms

This function is based on the Faddeeva package library.

See also

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

History

VersionDescription
5.5.0 Function erfi supports complex arguments
Report an issue
<< erfcx Special Functions erfinv >>

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:
Mon Mar 27 11:52:44 GMT 2023