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

Change language to:
Français - 日本語 - Português - Русский

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Scilab Help >> Special Functions > erfi

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-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 Jan 03 14:23:27 CET 2022