Learn R Programming

boostmath (version 1.0.0)

exponential_integrals: Exponential Integrals

Description

Functions to compute various exponential integrals, including En and Ei.

Usage

expint_en(n, z)

expint_ei(z)

Value

A single numeric value with the computed exponential integral.

Arguments

n

Order of the integral (for En)

z

Argument of the integral (for En and Ei)

See Also

Examples

Run this code
# Exponential integral En with n = 1 and z = 2
expint_en(1, 2)
# Exponential integral Ei with z = 2
expint_ei(2)

Run the code above in your browser using DataLab