Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Scilab 6.0.0
Change language to: Français - Português - 日本語 - Русский

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

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.

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

History

 Version Description 5.5.0 Function erfi supports complex arguments

 Report an issue << erfcx Special Functions erfinv >>

 Scilab EnterprisesCopyright (c) 2011-2017 (Scilab Enterprises)Copyright (c) 1989-2012 (INRIA)Copyright (c) 1989-2007 (ENPC)with contributors Last updated:Tue Feb 14 15:02:48 CET 2017