Function reference · Special functions

Ei

Returns the exponential integral.

It tends to minus infinity at 0, to 0 at minus infinity, and to infinity at infinity. Call evaluate for a decimal value.

Notation

Ei(args)

Write it in an expression: nerdamer('Ei(0)'), or in the Playground.

nerdamer.Ei

nerdamer.Ei(...args: [x]): Expression

A method on the default import. Arguments can be strings, as in Notation.

import { Ei }

import { Ei } from 'nerdamer/special';
Ei(x: Expression): Expression

Import only this function, from nerdamer/special.

Examples

Minus infinity at 0.

Ei(0)
// → -Inf
Open in Playground

A decimal value.

evaluate(Ei(1))
// → 1.8951178163559367557
Open in Playground

The limit at minus infinity.

Ei(-Infinity)
// → 0
Open in Playground

← Back to Function reference