Skip to contents

Functions to compute the sinus cardinal function and hyperbolic sinus cardinal function.

Usage

sinc_pi(x)

sinhc_pi(x)

Arguments

x

Input value

Value

A single numeric value with the computed sinus cardinal or hyperbolic sinus cardinal function.

See also

Boost Documentation for more details on the mathematical background.

Examples

# Sinus cardinal function
sinc_pi(0.5)
#> [1] 0.9588511
# Hyperbolic sinus cardinal function
sinhc_pi(0.5)
#> [1] 1.042191